‎2009 Sep 11 9:05 PM
Hi everybody, in a Program I'm reading the parameter ID 'PRI' in order to get th printer assigned to a user. But sometimes I don't know why, when I execute the statement GET PARMETER ID 'PRI', it reterns a sy-subrc <> 0 and it doesn't get the value even if the parameter is correctly saved in the user profile.
Thanks and regards.
‎2009 Sep 11 9:12 PM
Perhaps the user changes their own preference in transaction SU3?
You might want to look into personalization keys instead -> these are an admin task associated to the user and can be transported together with their role data and assignments as well.
Cheers,
Julius
‎2009 Sep 11 9:12 PM
Perhaps the user changes their own preference in transaction SU3?
You might want to look into personalization keys instead -> these are an admin task associated to the user and can be transported together with their role data and assignments as well.
Cheers,
Julius
‎2009 Sep 11 9:20 PM
In the flow of the program had a call transaction that modified the parameter ID 'PRI'. For that reason when the transaction was called again without a relogin, the program did not find the parameter ID 'PRI'.
‎2009 Sep 11 9:42 PM
Yes, when you loose the user context (with all side effects) then you are on your own...
But personalization keys can be tied to personalization objects. To my knowledge these are persistant to the session ID.
Do you have a destination NONE in your code? Destination SPACE can also be usefull.
I guess you are not going to redesign your program, but you might want to try it.
Cheers,
Julius