May 2019
Beginner to intermediate
548 pages
12h 39m
English
This example shows how to resolve a situation where we have an external system, Y, which exports airline data to an XML file and uploads it onto the FTP server. The ABAP report needs to read those files and store them in a database table in SAP ERP.
Create a new report: ZMSA_R_CHAPTER6_01. Delete everything, and copy and paste the sample report template. We will put the entire logic in the main method from our lcl_demo class. In real life, we should always follow SOC design principles and create a separate method for each function, but this is just for demonstrative purposes and creating an additional method may cause unnecessary confusion.
Add the following code to your report:
CONSTANTS: lv_filepath ...Read now
Unlock full access