miércoles, 19 de diciembre de 2012

GET_PARA

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

  • The global user-related SAP memory is available to each user for the entire duration of a terminal session. For this reason, set values are retained when you leave a program.
  • The SAP memory should not be used for intermediate storage, since a user's parallel sessions use the same global memory.

Example

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

Related SET PARAMETER

Index
© SAP AG 1996

No hay comentarios:

Publicar un comentario

Nota: solo los miembros de este blog pueden publicar comentarios.