Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  SAP GUI User Dialogs →  General Dynpros →  Statements in the Dynpro Flow Logic →  Subscreens, Tabstrips, and Splitter Controls 

Including Subscreens Directly

The statement CALL SUBSCREEN can be used to insert other screens directly into the screen of a dynpro in the form of subscreens. Subscreen areas must first be defined in the current screen of the dynpro. Every subscreen area has a unique name and can be configured to support changes in screen size. If the latter is defined, each size change in the current GUI window triggers the PAI event.

Subscreens are the screens of special subscreen dynpros. When a subscreen is inserted, the flow logic of the subscreen dynpro is also inserted. Subscreens can also insert other subscreens. Subscreens cannot have their own OK field. Instead, user actions on subscreens pass the function codes to the OK field of the dynpro that includes the subscreen. In the PAI event block of a subscreen dynpro, a MODULE statement is never executed with the AT EXIT-COMMAND addition.

Other versions: 7.31 | 7.40 | 7.54


Subscreens dynpros are defined like normal dynpros in Screen Painter and are flagged there as regular dynpros. Selection screens can also be defined as subscreens.

Executable Example

Dynpros, Subscreens