sapdev logo background
sapdev logo sapdev logo
Comments

SAP SEL SCREEN SUBSCREEN ABEXA documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

Selection Screens as Subscreens
The example shows how to include selection screens in subscreens.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
Two selection screens, 1100 and 1200, are defined as subscreens. The static next screen number of screen 100 is 100. A subscreen area area and two pushbuttons with the function codes BUTTON1 and BUTTON2 have been created. The flow logic of screen 100 is as follows:
PROCESS BEFORE OUTPUT.
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 layout of screen 100 is displayed. There you see the selection screen 1100 as a subscreen. Using the pushbuttons of the main screen, you can switch between the two selection screens in the subscreen area. Before the system browses from selection screen 1200 to 1100, the required input fields must be filled. The input data is available to the program in the parameters at PAI
.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




SEL_SCREEN_SEL_OPT_DEF_ABEXA
SEL_SCREEN_TABSTRIP_ABEXA




comments powered by Disqus