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

Parameters ID.

Former Member
0 Likes
696

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
645

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

3 REPLIES 3
Read only

Former Member
0 Likes
646

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

Read only

Former Member
0 Likes
645

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'.

Read only

0 Likes
645

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