Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

se and get parameter

Former Member
0 Likes
398

what is set parameter and get parameter?

what is set parameter and get parameter?

2 REPLIES 2
Read only

former_member194669
Active Contributor
0 Likes
377

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

Read only

Former Member
0 Likes
377

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