We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
SELECTION-SCREEN BEGIN OF SCREEN dynnr AS SUBSCREEN
$[NESTING LEVEL n$].
SELECTION-SCREEN END OF SCREEN dynnr.
1. ... NO INTERVALS
2. ... NESTING LEVEL n
These statements have the same function as the statements for creating selection screens as regular dynpros, but here the selection screen is defined as a subscreen dynpro.
Like all subscreen dynpros, selection screens defined as subscreen dynpros can be included in other dynpros or selection screens, or in subscreen areas or tab pages. However, they cannot be called using CALL SELECTION-SCREEN. Subscreen dynpros are included in selection screens using the addition TABBED BLOCK of the statement SELECTION-SCREEN. This addition enables an individual subscreen area to be defined without tab titles as a special tabstrip control.
A selection screen defined as a subscreen dynpro cannot contain any tabstrip controls defined using TABBED BLOCK.
If selection screens defined as subscreens
are included in dynpros, it should be noted that, as is the case with regular subscreen dynpros, the statement CALL SUBSCREEN in the
dynpro flow logic must be executed at
PAI so that the data is transported between the selection screen and the ABAP program. User actions on selection screens defined as subscreens raise regular
selection screen processing, even if they are included in dynpros.
... NO INTERVALS
If NO INTERVALS is specified, the identically named addition NO INTERVALS is used implicitly
in the statement SELECT-OPTIONS
when defining all the selection criteria for this selection screen, and the subscreen is made narrower accordingly.
... NESTING LEVEL n
The addition NESTING LEVEL allows the width of the subscreen to be adjusted if it is included in one or more frames in a
n must be specified directly as a number between 0 and 4. To ensure that the width is adjusted
correctly, the number n must be the same as the number of frames that surround the tabstrip control. If the tabstrip control is not in a frame, the addition can be specified with the number 0 or omitted.
Defines the selection screens 100 and 200 as subscreen dynpros and includes them in a tabstrip control on the
standard selection screen in an executable program.