SAP PARAMETERS - Reference ABAP Statements

Get Example source ABAP code based on a different SAP table
  


Standard SAP Help for PARAMETERS

PARAMETERS

ABAP Reference
ABAP Code Snippet


ABAP 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]].
ABAP Code Snippet

What does it do? Declares a parameter para of length len and creates an associated input field on the current selection screen.

ABAP Addition TYPE type [DECIMALS dec]
Specifies the data type type directly and defines the number of decimal places.
LIKE dobj
Specifies the data type with reference to a data object dobj.
LIKE (name)
Defines the data type for c with length 132, and displays the input field in accordance with the type specified dynamically in name.
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 of vlen.
AS CHECKBOX
Creates the input field as a checkbox.
RADIOBUTTON GROUP group
Creates the input field as a radio button of the radio button group group.
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 group modid.
DEFAULT val
Defines a start value val 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 help search_help from ABAP Dictionary.
MEMORY ID pid
Associates the input field with the SPA/GPA parameter pid 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 node node 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.

Return to menu