Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  SAP GUI 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

This program declares a selection screen with two parameters both referring to the data element S_CARR_ID from ABAP Dictionary. While the dictionary documentation is used as online help for p_carr_1, a separate dynpro with the number 100 is called for p_carr_2. Using Screen Painter, this dynpro is defined as a modal dialog box with the next dynpro 0, which displays the required help text as text fields. The screen does not require any flow logic.