May 2019
Beginner to intermediate
548 pages
12h 39m
English
In this section, we will be focusing on how to export SAP ERP database records into a JSON file. Such a file can be used as an SAPUI5 mockup.
We will start with our report template. You can copy any of the previous examples into a new report and delete the content of the main method. To be consistent, name your report ZMSA_R_CHAPTER6_5.
We will start by creating the ty_carr type so that the details in the client field will be invisible. Also, we need to create variables and select data from the SCARR table:
TYPES: BEGIN OF ty_carr, carrid TYPE s_carr_id, carrname TYPE s_carrname, currcode TYPE s_currcode, url TYPE s_carrurl, END OF ty_carr. DATA: lt_carr TYPE TABLE OF ty_carr. DATA: lv_result TYPE string. SELECT ...
Read now
Unlock full access