GET


Basic form 3

GET PARAMETER ID key FIELD f.

Effect

Transfers the value stored under the key pid from the global user-related SAP memory memory to the field f .
The key pid must consist of three characters. For an overview of the keys (parameters) used, refer to the SAP system description or the appropriate function in the ABAP/4 Development Workbench.

The return code value is set as follows:

SY-SUBRC = 0 A value was read from SAP memory.
SY_SUBRC = 4 No value was found in SAP memory under the specified key

Notes


Example

Read the program name from SAP memory:
DATA : REPID(8). GET PARAMETER ID 'RID' FIELD REPID.

Related SET PARAMETER

Index
© SAP AG 1996