May 2019
Beginner to intermediate
548 pages
12h 39m
English
If we want to create an ALV first, we need to declare a local variable of type references to the cl_gui_alv_grid class, a variable of type references to the cl_gui_custom_container class, and a local constant with the name of the container and the table where we store data that will be shown on screen:
DATA: lt_spfli TYPE TABLE OF spfli, lr_alv TYPE REF TO cl_gui_alv_grid, lr_ccontainer TYPE REF TO cl_gui_custome_container. CONSTANTS: lc_container_name TYPE scrfname VALUE 'ALV'.
Then, we need to create a screen and two modules—one for the PBO and one for the PAI. In this example, we use screen 100.
In the Flow Logic tab, create the PBO and PAI modules as follows:
It is really important to create a module right ...
Read now
Unlock full access