SET PARAMETER ID pid FIELD f.
In some cases, the syntax rules that apply to Unicode programs are different than those for non-Unicode programs. See ABAP Unicode - Other Changes
Writes the contents of the field f to the global user-specific
SAP memory and the local transaction-specific
SAP memory under the ID pid. Any existing values under
the same ID are overwritten.
Parameter IDs can be up to 20 characters long. They cannot consist
entirely of spaces. The SAP system description contains an overview of parameter IDs. You can also produce a list using the ABAP Workbench.
DATA REPID like sy-repid VALUE 'RSPFPAR'.
SET PARAMETER ID 'RID' FIELD REPID.
Sets the program name so it can be passed to other programs.
Non-Catchable Exceptions
Filling an Initial Screen Using SPA/GPA Parameters