Event blocks for lists

List events appear during the creation of a list, and following certain user actions on a displayed list. They help the processing of 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 and END-OF_PAGE, enable you to define page headers and footers independent of the actual page length, which is particularly helpful for the output of print lists on different paper formats.

The events following user actions on displayed lists, AT LINE-SELECTION, AT USER-COMMAND and AT PF##, enable you to create details lists.

List events can be triggered in a program-controlled manner with the SET USER-COMMAND statement, instead of via user actions on a displayed list.