11-20-2007 2:07 PM
11-20-2007 2:10 PM
When a user or an application (e.g. via RFC) logs on to an SAP system, he, she, or it connects to a certain application server where a User Session is created. The common memory of a User Session is the so-called SAP Memory. ABAP programs have access to SPA/GPA parameters stored in the SAP memory. SPA/GPA parameters (or SET/GET parameters) are set using SET PARAMETER and read with GET PARAMETER. Input fields on Dynpro screens can be linked with SPA/GPA parameters. When a screen is called, the default values of such input fields are taken from the SAP Memory. When the screen is left, the field values are stored in SAP Memory (thats why you always find the name of the last edited program in the input field of the ABAP Editor SE38). SPA/GPA parameters are managed in the database table TPARA.
11-20-2007 2:10 PM
When a user or an application (e.g. via RFC) logs on to an SAP system, he, she, or it connects to a certain application server where a User Session is created. The common memory of a User Session is the so-called SAP Memory. ABAP programs have access to SPA/GPA parameters stored in the SAP memory. SPA/GPA parameters (or SET/GET parameters) are set using SET PARAMETER and read with GET PARAMETER. Input fields on Dynpro screens can be linked with SPA/GPA parameters. When a screen is called, the default values of such input fields are taken from the SAP Memory. When the screen is left, the field values are stored in SAP Memory (thats why you always find the name of the last edited program in the input field of the ABAP Editor SE38). SPA/GPA parameters are managed in the database table TPARA.
11-20-2007 2:11 PM
Hi,
SET parameter will set a value for PID.
GET will fetch the value which is set for the PID.
Reward points for all useful answers.
Regards,
Satish
11-20-2007 2:12 PM
Hi,
SET PARAMETER and GET PARAMETER are used when you are dealing with SAP MEMORY.
Meaning - You have multiple sessions open. Now you want to access from variables declared locally in different sessions.
You can use
SET PARAMETER to assign the value to SAP Memory and using
GET PARAMETER you can retreive the values assigned by previous statement in a different session.
<b>Reward Points for helpful answers</b>
11-20-2007 2:13 PM
Hi sandeep,
it's often usefull to press F1 on a statement.
Try F1 on set or get.
Regards, Dieter