Book Image

Mastering SAP ABAP

By : Paweł Grześkowiak, Wojciech Ciesielski, Wojciech Ćwik
Book Image

Mastering SAP ABAP

By: Paweł Grześkowiak, Wojciech Ciesielski, Wojciech Ćwik

Overview of this book

Advanced Business Application Programming (ABAP) is an established and complex programming language in the IT industry. This book is designed to help you use the latest ABAP techniques and apply legacy constructions using practical examples. You'll start with a quick refresher on language and database concepts, followed by agile techniques for adding custom code to a modern ABAP system. After this, you will get up to speed with the complete ABAP toolset for importing data to and from different environments. Next, you'll learn how to print forms and work with the different ABAP tools for Extensible Markup Language (XML) manipulation. While covering further chapters, you'll gain insights into building stunning UI5 interfaces, in addition to learning how to develop simple apps using the Business Object Processing Framework (BOPF). You will also pick up the technique of handling exceptions and performing testing in ABAP. In the concluding chapters, you can look forward to grasping various techniques for optimizing the performance of programs using a variety of performance analysis tools. By the end of this book, you will have the expertise you need to confidently build maintainable programs in Systems, Applications, and Products (SAP).
Table of Contents (25 chapters)
Title Page
Copyright and Credits
Dedication
About Packt
Contributors
Preface
Index

Simple transformations in ABAP


ST was created by an SAP declarative language that allows serialization and deserialization between XML formats and ABAP data. Most SAP developers have heard about ST at least once, but only a few have chance to use it in a real project. This is probably due to a lack of working examples on the internet and some additional difficulties described in this chapter. Before using ST, you should take into consideration the following constraints:

  • It's only allowed to transform between two formats of ABAP data and XML but not between XML, and XML, or ABAP and ABAP.
  • To find a problem in ST, you have to use an ST debugger. This is much more limiting compared with an ABAP debugger.
  • You can only transform value-based data, such as fields, structures, or internal tables. You are not able to work with references.

From another point of view, using ST also has a lot of advantages:

  • It's a declarative language, but still very simple to use and understand.
  • Transformations work both...