May 2019
Beginner to intermediate
548 pages
12h 39m
English
This example shows you how to deal with a situation where we have an external System X, which requires airline data from SAP ERP. System X is old and very limited. The only possible way to exchange data between System X and SAP ERP is to export the table into an XML file format and then import it into System X's database.
We will start with a standard class-based executable report and put the program logic in the main method. The first part of our program is data selection:
DATA: lt_carr TYPE TABLE OF scarr. DATA: lv_xml TYPE xstring. SELECT * FROM scarr INTO CORRESPONDING FIELDS OF TABLE @lt_carr.
The next step is to create an ST. We will use a dedicated tool for that—the Transformation Editor (Transaction XSLT_TOOL ...
Read now
Unlock full access