SET PARAMETER

SET PARAMETER ID...

Effect

Writes the contents of the field f to the global SAP memory under the key pid. If the key already contains a value, it is overwritten.

A parameter ID can be up to 20 characters long. For a list of the keys (parameters) used, see the SAP system desription or the help for the ABAP Workbench.

The global SAP memory remains available to the user during the entire terminal session. This means that set values are retained when you leave a program.

Example

DATA: REPID(8) VALUE 'RFSCHU01'. 
SET PARAMETER ID 'RID' FIELD REPID.

Sets the program name, e.g. for transfer to another program.

Related

GET PARAMETER