SAP ABAP LISTS INTERACTIVE



Get Example source ABAP code based on a different SAP table
  



ABAP_LIST - Event Blocks
List events occur during the creation of a list and following certain user actions on a displayed list. They are used to process lists in the ABAP program. Events are distinguished between those that occur when lists are created and interactive list events for processing user actions in a displayed list.
The events during list creation,
TOP-OF-PAGE
END-OF-PAGE
make it possible to define page headers and footers independently of the actual page length, which is particularly helpful for the output of spool lists on different paper formats.
The events after user actions in a displayed list enable the creation of details lists:
AT LINE-SELECTION
AT USER-COMMAND
AT PFnn
The following statement can be used to raise a list event in a program-driven way:
SET USER-COMMAND



Latest notes:

After the execution of each event block for lists, the statement NEW-LINE is executed implicitly as in every event block.
List events can be raised as program-driven events using the statement SET USER-COMMAND, instead of by user action on a displayed list.
ABAP_HINT_END