Hi,
I have created a SET/GET parameter the value of which comes from the user profile in transaction SU3. In the code, using GET PARAMETER, I fetch the value of this parameter into the attribute of a public class and then based on the value in this attribute execute the appropriate code.
I want to know what is the scope of the GET PARAMETER statement. If I am fetching the parameter value using GET PARAMETER and putting it into a class attribute in a particular Function Group, would it be available in other Function Groups also?
Please help.
Thank you.
Parameter IDs are specific to an individual user and are retained throughout the login.
<i>available to any programs and any sessions throughout the whole duration of a user session</i> - from the ABAP help on SAP memory.
Hence your parameter id is available in all your programs, function modules and classes.
matt
hi
For the statements GET PARAMETER ID pid FIELD f and GET PARAMETER ID pid FIELD f,
f must be character-type. You can use the EXPORT and IMPORT statements for storing
non-character-type fields and structures.
<b>
Where's the best place to set & get parameter ID
regards,
pavan
Add a comment