2007 Sep 01 6:11 AM
what is set parameter and get parameter?
2007 Sep 01 6:15 AM
Hi,
To fill the input fields of a called transaction with data from the calling program, you can use the SPA/GPA technique. SPA/GPA parameters are values that the system stores in the global, user-specific SAP memory. SAP memory allows you to pass values between programs. A user can access the values stored in the SAP memory during one terminal session for all parallel sessions. Each SPA/GPA parameter is identified by a 20-character code. You can maintain them in the Repository Browser in the ABAP Workbench. The values in SPA/GPA parameters are user-specific
a®
2007 Sep 01 6:16 AM
Hello Pradeep,
The SET PARAMETER statement is generally used in the PAI event for a screen. The user will have entered some value for a field on the screen and once you determine the correctness of that value, you can use the SET PARAMETER ID statement in the PAI.
The GET PARAMETER ID statement is generally used in the PBO event. During the PBO, you are preparing the screen for display to the user. Some of the fields on the screen may need to be filled with some default values. This default value is the last correct value that has been entered for that field during the current logon to the SAP system.
Hope that helps. Also there are other posts in this forum which address this question. Please search for them to get more information
Thanks
Seshu
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |