ABAP Keyword Documentation → ABAP - Reference → User Dialogs → Selection Screens → Selection Screen Processing
AT SELECTION-SCREEN
Other versions: 7.31 | 7.40 | 7.54
Syntax
AT SELECTION-SCREEN selscreen_event.
Effect
This statement defines event blocks for different events selscreen_event
that are triggered by the
ABAP runtime environment during
selection screen processing.
Selection screen events occur immediately before sending a selection screen and after certain user actions on a displayed selection screen. They assist in selection screen processing in the ABAP program.
AT SELECTION-SCREEN
is triggered at least twice during actions on selection screens that are linked into another selection screen as a
subscreen - first for the linked selection screen itself, and then for the linking selection screens.
Note
The event blocks after AT SELECTION-SCREEN
are implemented internally as
procedures. Declarative statments in these event blocks create local data.
Example
The program DEMO_SELECTION_SCREEN_EVENTS demonstrates all selection results.