SAP SELECTION-SCREEN SUBSCREEN ABAP Statements
Get Example source ABAP code based on a different SAP table
• AS SUBSCREEN SELECTION-SCREEN BEGIN OF
SELECTION-SCREEN>, AS SUBSCREEN> Short Reference >
ABAP_SYNTAX
SELECTION-SCREEN BEGIN OF SCREEN dynnr AS SUBSCREEN>
$[NO INTERVALS$]>
$[NESTING LEVEL n$].>
...>
SELECTION-SCREEN END OF SCREEN dynnr.>
ABAP Addition
1 ... NO INTERVALS>
2 ... NESTING LEVEL n>
What does it do?
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>>.
Latest notes:
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 PBO> and 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.
ABAP_HINT_END
• NO INTERVALS SELECTION-SCREEN BEGIN OF
ABAP Addition
What does it do?
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 SELECTION-SCREEN BEGIN OF
ABAP Addition
What does it do?
The addition NESTING LEVEL> allows the width of the subscreen to be adjusted if it is included in one or more frames in a tabstrip control>. 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.
Example ABAP Coding
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.
ABEXA 00580
ABAP_EXAMPLE_END
Return to menu