Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  User Dialogs →  Selection Screens →  Selection Screen Processing →  AT SELECTION-SCREEN →  AT SELECTION-SCREEN - selscreen_event 

Selection Screens, Field Help

The example shows a self-defined F1 help on selection screens.

Other versions: 7.31 | 7.40 | 7.54

Source Code

REPORT demo_selection_screen_f1.

PARAMETERS: p_carr_1 TYPE s_carr_id,
            p_carr_2 TYPE spfli-carrid.

AT SELECTION-SCREEN ON HELP-REQUEST FOR p_carr_2.
  CALL SCREEN 100 STARTING AT 10 5
                  ENDING   AT 60 10.

Description

In this program, a selection screen with two parameters that are based on the data element S_CARR_ID of the ABAP Dictionary are declared. Whereas the Dictionary documentation is used as online help for p_carr_1, the system calls a separate screen with the number 100 for p_carr_2. Using the Screen Painter, this screen is defined as a modal dialog box with next screen 0, which displays the required help text as text fields. You are not required to program the flow logic for this screen.