ABAP Keyword Documentation → ABAP - Short Reference
PARAMETERS - Short Reference
Other versions: 7.31 | 7.40 | 7.54
Syntax
PARAMETERS { {para[(len)]} | {para [LENGTH len]} }
[ {TYPE type [DECIMALS dec]}
| {LIKE dobj}
| {LIKE (name)} ]
[ {[OBLIGATORY|NO-DISPLAY] [VISIBLE LENGTH vlen]}
| {AS CHECKBOX [USER-COMMAND fcode]}
| {RADIOBUTTON GROUP group [USER-COMMAND fcode]}
| {AS LISTBOX VISIBLE LENGTH vlen
[USER-COMMAND fcode] [OBLIGATORY]} ]
[MODIF ID modid]
[DEFAULT val]
[LOWER CASE]
[MATCHCODE OBJECT search_help]
[MEMORY ID pid]
[VALUE CHECK]
[FOR {TABLE|NODE} node
[HELP-REQUEST]
[VALUE-REQUEST]
[AS SEARCH PATTERN]].
Effect
Declares a parameter para
of length len
and creates an associated input field on the current
selection screen.
Additions
-
TYPE type [DECIMALS dec]
Specifies the data typetype
directly and defines the number of decimal places. -
LIKE dobj
Specifies the data type with reference to a data objectdobj
. -
LIKE (name)
Defines the data type forc
with length 132, and displays the input field in accordance with the type specified dynamically inname
. -
OBLIGATORY
Defines the input field as a mandatory field. -
NO-DISPLAY
No input field is created on the selection screen. -
VISIBLE LENGTH vlen
Sets the visible length of the input field to the value ofvlen
. -
AS CHECKBOX
Creates the input field as a checkbox. -
RADIOBUTTON GROUP group
Creates the input field as a radio button of the radio button groupgroup
. -
AS LISTBOX
Generates a dropdown list box for the input field. -
USER-COMMAND fcode
Associates the input field with a function code. -
MODIF ID modid
Assigns the input field to the modification groupmodid
. -
DEFAULT val
Defines a start valueval
for the content of the parameter. -
LOWER CASE
Prevents the conversion of the content of character-like fields to uppercase when transferring data between the input field and the data object. -
MATCHCODE OBJECT search_help
Associates the input field with a search helpsearch_help
from ABAP Dictionary. -
MEMORY ID pid
Associates the input field with the SPA/GPA parameterpid
in the SAP Memory. -
VALUE CHECK
Checks the input value against type-specific requirements in ABAP Dictionary. -
FOR {TABLE|NODE} node
Obsolete: Assigns parameters in a logical database to a nodenode
of the associated structure. -
[HELP-REQUEST] [VALUE-REQUEST]
Obsolete: Enables self-defined field helps and input helps in logical databases for the input field. -
AS SEARCH PATTERN
Obsolete: Enables evaluation of a search help in logical databases.