Selection screen - overview

Selection screens as screens

Selection screens are special screens that can be defined in executable programs, function groups and module pools. Selection screens are defined in the global declaration section of the mentioned ABAP programs with the statements SELECT-OPTIONS, SELECTION-SCREEN and PARAMETERS without using the Screen Painter. The screens of selection screens can contain a subset of the screen elements of general screens.

Selection screens lie in the same namespace as the screens of the program. Additionally, dynpro number 1000 is reserved for a standard selection screen. Apart from the standard selection screen, you can define independent selection screens. Independent selection screens can only be defined in function groups and module pools.

When an ABAP program is activated, the components of the program selection screen, i.e., screens with screen elements and screen flow logic, are automatically generated.

Selection Screen Tasks

Selection screens essentially have two tasks:

GUI Status of Selection Screens

The GUI status of a selection screen is generated automatically during the generation of a program. A statement SET PF-STATUS at the selection screen PBO does not affect this GUI status. To define a separate GUI status for a selection screen or to deactivate the functions of the screen generated, you can use one of the function modules RS_SET_SELSCREEN_STATUS or RS_EXTERNAL_SELSCREEN_STATUS, in exceptional cases. The title in the title bar of the standard selection screens cannot be changed, and is always the title of the executable program as defined in the program properties.

Selection Screen Events

No dialog modules for selection screens can be defined in the ABAP program. Instead, the runtime environment triggers specific events during PBO and PAI processing of the screen, which can be handled in corresponding event blocks during selection screen processing.

Selection Screens and Logical Databases

In a logical database, you can also define a standard selection screen. If an executable program is linked to a logical database, its standard selection screen is composed of the logical database and its own database.