ARTICLE
Event Blocks for Lists
List events appear during the creation of a list, and following certain
user actions on a displayed list. They used to process lists in the ABAP
program. We differentiate between events during list creation, and
interactive list events for processing user actions in a displayed list.
The events during list creation,
TOP-OF-PAGE
END-OF-PAGE
enable page headers and footers to be defined independently of the
actual page length, which is particularly helpful for the output of
spool lists on different paper formats.
The events following user actions on displayed lists,
AT LINE-SELECTION
AT USER-COMMAND
AT PFnn
enable details lists to be created.
The following statement can be used to trigger a list-event in a
program-driven manner:
SET USER-COMMAND
Notes
At the end of execution of each event block for lists, the statement
NEW-LINE is executed implicitly as in every
event block .
List events can be triggered in a program-driven manner with the
SET USER-COMMAND statement, instead
of by user action on a displayed list.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved