cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Get User Authorization Values

Former Member
0 Likes
9,324

Hi,

I'm using function module RSSB_GET_AUTH_FOR_USER to read user authorization values. I'm passing user name and info object as parameter.

User profile looks like:

Authorization Object: XYZ

Authorization Values: * (star) & L02_1004

But this function module is returning just "*".

Can you please tell me how would I both authorization values?

Your earliest reply would be much appreciated.

Regards,

Shabbar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi,

Use this function EFG_USER_AUTH_FOR_OBJ_GET

You give username and object of authorization and it gives you a table of the values a user has authorization.

Example:

CALL FUNCTION 'EFG_USER_AUTH_FOR_OBJ_GET'

EXPORTING

X_UNAME = sy-uname

X_OBJECT = 'Y_A_COMPC'

TABLES

YT_USVALUES = t_usvalues.

assign points if helpfull.

Diogo.

Answers (0)