Entering content frame

SPA/GPA Parameters as Default Values Locate the document in its SAP Library structure

The SPA/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.

Example

REPORT demo_sel_screen_parameters_spa .

PARAMETERS test(16) TYPE c MEMORY ID rid.

The selection screen looks as follows:

This graphic is explained in the accompanying text

Parameter test is linked to SPA/GPA parameter rid which is used in the SAP 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.

 

 

 

Leaving content frame