Ansicht
Dokumentation

ABAPSELECTION-SCREEN_NORMAL - SELECTION-SCREEN NORMAL

ABAPSELECTION-SCREEN_NORMAL - SELECTION-SCREEN NORMAL

General Data in Customer Master   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

SELECTION-SCREEN, SCREEN

Short Reference



SELECTION-SCREEN BEGIN OF SCREEN dynnr $[TITLE title$]
                                       $[AS WINDOW$].
...
SELECTION-SCREEN END OF SCREEN dynnr.

Additions

1. ... TITLE title

2. ... AS WINDOW

Effect

These statements can be specified in the global declaration part of executable programs, function pools, and module pools. They create a standalone selection screen with the dynpro number dynnr. The dynpro number must be specified directly and can have a maximum of four digits.

All PARAMETERS, SELECT-OPTIONS, and SELECTION-SCREEN statements that are executed within these statements define the screen elements for the standalone selection screen. No further selection screens can be defined within the definition of a selection screen.

Addition 1

... TITLE title

Effect

The addition TITLE can be used to define a title for the title bar of a standalone selection screen. The title can either be freely selectable 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 name is chosen freely, the runtime framework generates an identically named type c global variant and 70 characters in length. When the selection screen is displayed, the first 70 characters of the text symbol or global variants are placed in the title bar. If the specified text symbol is not found, the name of the text symbol is displayed as the title in the form "TEXT-idf". If the addition TITLE is not specified, the system uses the title of the program defined in the program attributes.

Addition 2

... AS WINDOW

Effect

The addition AS WINDOW can be used to define a standalone selection screen to be displayed in a modal dialog box. The actual shape of the GUI window is not defined until it is accessed using CALL SELECTION-SCREEN. The addition AS WINDOW also displays warnings and error messages that occur during processing of a selection screen event as a modal dialog box.

Note

The specified dynpro number dynnr must not already be assigned to existing dynpros or selection screens. Also note that the number 1000 for the standard selection screen cannot be used for a standalone selection screen in an executable program.

Example

Defines and calls a selection screen as a modal dialog box.








PERFORM Short Reference   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 4521 Date: 20240418 Time: 233214     sap01-206 ( 65 ms )