AT SELECTION-SCREEN

The event AT SELECTION-SCREEN is the basic form of a whole series of events that occur while the selection screen is being processed.

AT SELECTION-SCREEN OUTPUT

event is triggered. This event block allows you to modify the selection screen directly before it is displayed.

AT SELECTION-SCREEN ON

is triggered when the contents of each individual input field are passed from the selection screen to the ABAP program. The input field can be checked in the corresponding event block. If an error message occurs within this event block, the corresponding field is made ready for input again on the selection screen.

AT SELECTION-SCREEN ON BLOCK

is triggered when the contents of all of the fields in a block are passed from the selection screen to the ABAP program. You define a block by enclosing the declarations of the elements in the block between the statements SELECTION-SCREEN BEGIN OF BLOCK and SELECTION-SCREEN END OF BLOCK .

AT SELECTION-SCREEN ON

event is triggered for the current line of the selection table. It can then be processed like a single field.

Next, the

AT SELECTION-SCREEN ON END OF

event is triggered. This event block allows you to check the whole selection table . Warning messages are displayed as dialog boxes, not in the status line.

AT SELECTION-SCREEN ON HELP-REQUEST FOR

The event is triggered when the user calls the F1 help for the field . If no corresponding event block has been defined, the help from the ABAP Dictionary is displayed, or none at all if the field has no Dictionary reference. If a corresponding event block exists, it takes precedence over the default help mechanism. It is then up to the programmer to ensure that appropriate help is displayed.

AT SELECTION-SCREEN ON RADIOBUTTON GROUP

is triggered when the contents of all of the fields in a radio button group are passed from the selection screen to the ABAP program. To define a radio button group , use the addition RADIOBUTTON GROUP in the corresponding PARAMETERS statements

AT SELECTION-SCREEN ON VALUE-REQUEST FOR

The event is triggered when the user calls the F4 help for the field . If no corresponding event block has been defined, the possible values help from the ABAP Dictionary is displayed, or none at all if the field has no Dictionary reference.