Documentation View

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

ABAPSELECTION-SCREEN_BLOCK - SELECTION-SCREEN BLOCK

ABAPSELECTION-SCREEN_BLOCK - SELECTION-SCREEN BLOCK

TXBHW - Original Tax Base Amount in Local Currency   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

SELECTION-SCREEN, BLOCK

Short Reference



SELECTION-SCREEN BEGIN OF BLOCK block
                                $[WITH FRAME $[TITLE title$]$]
                                $[NO INTERVALS$].
...
SELECTION-SCREEN END OF BLOCK block.

Additions

1. ... WITH FRAME $[TITLE title$]

2. ... NO INTERVALS

Effect

These statements define a block with the name block on the current selection screen. The name block must be specified directly and it must contain a maximum of 20 characters.

All screen elements on the selection screen defined by the statements PARAMETERS, SELECT-OPTIONS, and SELECTION-SCREEN between these statements are part of the block block. Additional blocks can be created within the definition of a block.

Note

Each block is assigned a selection screen event AT SELECTION-SCREEN ON BLOCK, in which the user entries within the block can be processed together.

Addition 1

... WITH FRAME $[TITLE title$]

Effect

The addition WITH FRAME draws a frame around a block that is not empty. A maximum of five blocks can be nested. A standard width of 120 columns is defined for the outer frame. The frame of each nested block is narrower by 4 columns.

The addition TITLE can be specified to define a title for a block with a frame. The title can either be a freely definable name with a maximum of eight characters or the name of a text symbol from the program in the form text-idf, where idf is the three-character ID of the text symbol. If a freely definable name is chosen, the runtime framework generates a global variable of the same name of type c with a length of 70. When the selection screen is displayed, the content of the text symbol or the global variable is positioned at the top left corner of the frame. If the specified text symbol is not found, the system does not create a title.

Addition 2

... NO INTERVALS

Effect

If NO INTERVALS is specified, the addition NO INTERVALS is used implicitly in the statement SELECT-OPTIONS when all the selection criteria are defined for this block, and the block is narrowed accordingly. If the block has a frame, the blocks nested within it also inherit the addition NO INTERVALS.

Example

Grouping of radio buttons into a block with a frame and title on the standard selection screen for an executable program.








TXBHW - Original Tax Base Amount in Local Currency   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 4381 Date: 20230207 Time: 082318     sap01-206 ( 74 ms )