ABAP Keyword Documentation → ABAP − Short Reference
SELECT-OPTIONS - Short Reference
Other versions: 7.31 | 7.40 | 7.54
Syntax
SELECT-OPTIONS selcrit FOR {dobj|(name)}
[OBLIGATORY|NO-DISPLAY]
[VISIBLE LENGTH vlen]
[NO-EXTENSION]
[NO INTERVALS]
[MODIF ID modid]
[DEFAULT val1 [TO val2] [OPTION opt] [SIGN sign]]
[LOWER CASE]
[MATCHCODE OBJECT search_help]
[MEMORY ID pid]
[NO DATABASE SELECTION]
[HELP-REQUEST [FOR {LOW|HIGH}]]
[VALUE-REQUEST [FOR {LOW|HIGH}]].
Effect
Declares an internal selection table selcrit
for a
selection criterion and creates the corresponding input fields on the current
selection screen.
Additions
-
FOR {dobj|(name)}
Specifies the data type with a static reference to a data objectdobj
or defines the data type usingc
with a length of 45, and represents the input fields according to the type specified dynamically inname
. -
OBLIGATORY
Defines the first input field as a mandatory field. -
NO-DISPLAY
No input fields are created on the selection screen. -
VISIBLE LENGTH vlen
Sets the visible length of the input fields tovlen
. -
NO-EXTENSION
Prevents multiple selections. -
NO INTERVALS
Only the first input field on the selection screen is created. -
MODIF ID modid
Assigns the input fields to the modification groupmodid
. -
DEFAULT val1 [TO val2] [OPTION opt] [SIGN sign]
Creates start values val1,val2
,opt
, andsign
for the first row of the selection table. -
LOWER CASE
Prevents the content of character-like data objects from being converted into uppercase when they are transferred between input fields and an internal table. -
MATCHCODE OBJECT search_help
Associates the input fields with a search helpsearch_help
from ABAP Dictionary. -
MEMORY ID pid
Associates the first input field with the SPA/GPA parameterpid
in the user memory. -
NO DATABASE SELECTION
After selection screen processing, the selection table is not sent to the logical database as a dynamic selection. -
[HELP-REQUEST] [VALUE-REQUEST] [FOR {LOW|HIGH}]
Obsolete: enables self-defined field helps (in logical databases) and input helps for the first or second input field.