SAP SEL SCREEN F4 HELP ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_SELSCR - Input Help for Parameters
The example demonstrates a user-defined F4 help for a selection parameter on a selection screen.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
This program declares a selection screen with two selection parameters that both refer to the column CARRID of the database table SPFLI. While the dictionary input help is used for p_carr_1, a separate input help is programmed for p_carr_2. Dynpro 100 is called for this. In the flow logic, the dialog module value_list is called at the PBO event. The screen of dynpro 100 is not required and the system does not call any dialog modules at PAI time. PROCESS BEFORE OUTPUT.
MODULE value_list.
PROCESS AFTER INPUT.
The dialog module value_list suppresses the display of the screen layout of dynpro 100 and switches to a list display. The list contains values for the selection parameter p_carr_2. These values are also placed in the HIDE area. When a line is selected from the value list, the event AT LINE-SELECTION is raised, and the selected value is passed from the area HIDE to the field p_carr_2. If a valid line is selected, the system switches directly from the event block AT LINE-SELECTION back to the selection screen and fills the corresponding input field.