GET PARAMETER: user parameter not consistant.
I've got a data element ( /SAPSLL/LGREG ) for which I have assigned a user parameter in my user's profile. The parameter value assigned under "maintain user profile" is Parameter ID: /SAPSLL/LGREG, Parameter value: ZLOC.
The program I am running executes the command:
GET PARAMETER ID '/SAPSLL/LGREG' lv_lgreg.
In most cases it retrieves the value 'ZLOC' into lv_lgreg which is what I expect based on the user's parameter, however in some cases 'ACE ' is retrieved into lv_lgreg unexpectedly.
'ACE ' is a value that exists in the value table for the data domain /SAPSLL/LGREG ( table /SAPSLL/T606G ).
Does anyone know why in some situations the User Profile Parameter would not be retrieved by the GET PARAMETER ID statement, and instead one of the values from the data domain's value table would retrieve instead?
Amol Lohade replied
Yes it is possible that the value is getting picked from some other transaction as Parameter Ids are session specific.
If you are working on custom code where it reads Parameter Id then you may select an entry from table USR05 which stores the user defaults for Parameter Ids.