Subscreens and Tabstrip Controls

Subscreens

You can incorporate other screens into the screen of dynpros in the form of subscreens using the statement CALL SUBSCREEN. To do this, you have to define subscreen areas on the screen of the current dynpro. Each subscreen area has an unique name and can be adjusted to support changes in screen size. If the latter setting is defined, every change in the screen size of the current screen triggers the event PAI.

Subscreens are the screens of special subscreen dynpros. When you incorporate subscreens, you also incorporate the flow logic of the subscreen dynpros. Subscreens can incorporate other subscreens by themselves. A subscreen does not possess an own OK-field. Instead, the function codes are put into the OK-field of the incorporating dynpro at every user action on subscreens. In the PAI event block of a subscreen dynpro, a statement MODULE with the addition AT EXIT-COMMAND is never executed.

Note

Subscreen dynpros are defined as normal dynpros in the Screen Painter and are indicated as such there. Selection screens can also be defined as subscreen-dynpros.

Tabstrip Controls

A tabstrip control is a screen element that consists of multiple tabstrip pages. Every tabstrip page contains a single-line tab title which is linked with a function code which makes it possible to access the tabstrip page with a double-click. Below the tab title, a tabstrip page consists of a subscreen area. A subscreen area must be assigned to every tab title. To do this, you have two options:

Note

When you scroll in the SAP GUI and select a tab title, then no input checks are carried out and no data is transported to the ABAP program. The entries are not checked and the data of all subscreens is not transported until a user action takes place that triggers the event PAI. When scrolling in the ABAP program, the entries are checked at every selection of a tab title and the data of the current tabstrip page is transported to the ABAP program of the subscreen dynpro.