Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

ABAPSELECTION-SCREEN_SUBSCREEN - SELECTION-SCREEN SUBSCREEN

ABAPSELECTION-SCREEN_SUBSCREEN - SELECTION-SCREEN SUBSCREEN

ABAP Short Reference   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

SELECTION-SCREEN, AS SUBSCREEN

Short Reference



SELECTION-SCREEN BEGIN OF SCREEN dynnr AS SUBSCREEN
                                       $[NO INTERVALS$]
                                       $[NESTING LEVEL n$].
...
SELECTION-SCREEN END OF SCREEN dynnr.

Additions

1. ... NO INTERVALS

2. ... NESTING LEVEL n

Effect

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.

Note

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.

Addition 1

... NO INTERVALS

Effect

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.

Addition 2

... NESTING LEVEL n

Effect

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

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.








Fill RESBD Structure from EBP Component Structure   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 5145 Date: 20230207 Time: 232701     sap01-206 ( 76 ms )