SAP SEL SCREEN SUBSCREEN ABEXA
Get Example source ABAP code based on a different SAP table
ABAP_SELSCR - Subscreens
The example demonstrates how selection screens can be included in subscreens.
ABAP_SOURCE_CODE
ABAP_DESCRIPTION
The two selection screens 1100 and 1200 are defined as subscreens. The static next dynpro number of dynpro 100 is 100. A subscreen area
MODULE status_0100.
CALL SUBSCREEN area INCLUDING sy-repid number.
PROCESS AFTER INPUT.
MODULE cancel AT EXIT-COMMAND.
CALL SUBSCREEN area.
MODULE user_command_0100.>
When the program is executed, the screen of dynpro 100 is displayed. There, the selection screen 1100 is shown as a subscreen. The pushbuttons of the main dynpro can be used to switch between the two selection screens in the subscreen area. The mandatory input fields must be filled before it is possible to browse from selection screen 1200 to 1100. The input data is available to the program in the selection parameters at PAI.