SPA/GPA Parameters as Default Values
TheSPA/GPA Parameter Technique is a general procedure for filling the initial screen when a program is called. To use this technique for parameters on selection screens, you must link the parameter to an SPA/GPA parameter from the SAP memory as follows:
PARAMETERS <p> ...... MEMORY ID <pid>......
If you use this addition, the current value of SPA/GPA parameter <pid> from the global user-related SAP memory is assigned to parameter <p> as a default value. Description <pid> can contain a maximum of twenty characters and must not be enclosed in quotation marks.
PARAMETERS TEST(16) MEMORY ID RID.
The selection screen looks as follows:
Parameter TEST is linked to SPA/GPA parameter RID which is used in the R/3 System to store the name of the program that was processed last. SPA/GPA parameter RID, for example, is also linked to the input fields for the program name on the screens of transactions SE38 and SA38.