‎2008 Sep 30 12:39 PM
Hi folks,
does anyhow know whether it's possible to read a Parameter ID from a different user?
For example: We have a Parameter ID 'GROUP' which is set according to the SAP-User!
So what I want to do is reading this Parameter ID for User XY, something like
GET PARAMETER ID 'GROUP' FIELD l_group USER 'SUSAN'
Possible??
‎2008 Sep 30 12:43 PM
No you can not do that.
SET PARAMETER ID stores the value in SAP memory and this memory space will be different for different user, so you can not do that.
‎2008 Sep 30 12:43 PM
No you can not do that.
SET PARAMETER ID stores the value in SAP memory and this memory space will be different for different user, so you can not do that.
‎2008 Sep 30 12:44 PM
hi Daniel,
yes, it is possible, Parameter IDs are stored in table USR05 for all users, you have to select the value according to the user/Parameter ID combination, then you can go with the SET ... command.
hope this helps
ec
‎2008 Sep 30 12:54 PM
Hi Eric,
I think USR05 only holds the default values at logon time, maintainable via System->user profile->own data.
If a value is changed during a user session via SET PARAMETER, it cannot be obtained from a different user context, as far as I know. Correct me if wrong.
Cheers
Thomas
‎2008 Sep 30 1:03 PM
yes, that's true. In USR05 there are only the default values (maintained in the user master data). If the parameter IDs is changed during runtime with SET command, that is not saved back to table USR05.
‎2008 Sep 30 12:48 PM
you can use the Shared memory concept. export the data using with one user.
data: werks type werks_d.
DATA: wa TYPE indx.
werks = '1000'.
EXPORT werks FROM werks
TO SHARED MEMORY indx(xy)
FROM wa
CLIENT sy-mandt
ID 'MID'.import the data using another user .
the declaration should be exactly same.
data: werks type werks_d.
DATA: wa TYPE indx.
IMPORT werks TO werks
FROM SHARED MEMORY indx(xy)
TO wa
CLIENT sy-mandt
ID 'MID'.