SAP AT SELECTION-SCREEN ABAP Statements



Get Example source ABAP code based on a different SAP table
  


ID DYNPRO%
• AT SELECTION-SCREEN ABAP Statement

AT SELECTION-SCREEN
Short Reference

ABAP_SYNTAX
AT SELECTION-SCREEN selscreen_event.

What does it do?
This statement defines event blocks for different events selscreen_event that are raised by the ABAP runtime framework 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 are used for selection screen processing in the ABAP program.
AT SELECTION-SCREEN is raised at least twice during actions on selection screens that are included in another selection screen as a subscreen: first for the included selection screen itself, and then for the including selection screens.



Latest notes:

The event blocks after AT SELECTION-SCREEN are implemented internally as procedures. Declarative statements in these event blocks create local data.
ABAP_HINT_END



Example ABAP Coding

The program DEMO_SELECTION_SCREEN_EVENTS demonstrates all selection screen events.
ABAP_EXAMPLE_END

Return to menu