ABAP Keyword Documentation →  ABAP − Reference →  User Dialogs →  Selection Screens →  Create Selection Screens →  SELECTION-SCREEN → 

SELECTION-SCREEN - screen_elements

Short Reference

Syntax Forms


Blank lines

1. SELECTION-SCREEN SKIP [n] [ldb_additions].

Horizontal lines

2. SELECTION-SCREEN ULINE [[/][pos](len)] [MODIF ID modid]
                         [ldb_additions].

Output fields

3. SELECTION-SCREEN COMMENT [/][pos](len)
                           {text|{[text] FOR FIELD sel}}
                           [VISIBLE LENGTH vlen]
                          [MODIF ID modid]
                           [ldb_additions].

Pushbuttons

4. SELECTION-SCREEN PUSHBUTTON [/][pos](len) button_text
                             USER-COMMAND ucom
                              [VISIBLE LENGTH vlen]
                              [MODIF ID modid]
                              [ldb_additions].

Lines with multiple elements

5. SELECTION-SCREEN BEGIN OF LINE.
  ...
  [SELECTION-SCREEN POSITION pos [ldb_additions]].
  ...
  SELECTION-SCREEN END OF LINE.

Blocks

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

Tabstrips

7. SELECTION-SCREEN BEGIN OF TABBED BLOCK tblock FOR n LINES.
  ...
  SELECTION-SCREEN TAB (len) tab USER-COMMAND ucom
                   [DEFAULT [PROGRAM prog] SCREEN dynnr].
  ...
  SELECTION-SCREEN END OF BLOCK tblock.

Pushbuttons in the application toolbar

8. SELECTION-SCREEN FUNCTION KEY n [ldb_additions].

Effect

The selection screen input fields are created using the commands PARAMETERS and SELECT-OPTIONS. By default, each of these commands creates its own row on the selection screen. The variants of the command SELECTION-SCREEN shown above allow selection screens to be created differently. Other screen elements can be defined and the order of elements on the screen modified.

The above commands can be executed within the definition of a selection screen in the global declaration part of executable programs, function groups and module pools.

Notes

Shared namespaces particularly apply to a standard selection screen, which consists of the selection screens of a logical database and the program itself. The elements defined in a program cannot be allowed to conflict with the elements in the logical database.




Continue
SELECTION-SCREEN - SKIP
SELECTION-SCREEN - ULINE
SELECTION-SCREEN - COMMENT
SELECTION-SCREEN - PUSHBUTTON
SELECTION-SCREEN - LINE
SELECTION-SCREEN - BLOCK
SELECTION-SCREEN - TABBED BLOCK
SELECTION-SCREEN - FUNCTION KEY
SELECTION-SCREEN - MODIF ID