Application Development 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: 

FM for Security roles

Former Member
0 Kudos
114

Hi all,

In the transaction SU01D if we pass the Username or User id we can get the Security roles of that particular user. Is there any Function Module available with the same functionality.

Thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos
65

Hi ,

see the bapi.

BAPI_USER_GET_DETAIL.

Here u need to enter the userid.

Regards

6 REPLIES 6

Former Member
0 Kudos
65

Hi Uday,

BAPI_USER_ACTGROUPS_ASSIGN - For assigning roles

BAPI_USER_PROFILES_DELETE - Delete profile of user

BAPI_USER_PROFILES_DELETE - Assign profile to user

0 Kudos
65

Hi,

Thanx for ur reply..

Actually I just want to display the user role..

Can u suggest any solutions..

thanks,

Uday

0 Kudos
65

Use this FM.

PRGN_1001_READ_USER_ASSIGNMENT

Also you can get the same from this table.

AGR_USERS

0 Kudos
65

BAPI_USER_GET_DETAIL........THIS WILL SERVE UR PURPOSE

Former Member
0 Kudos
66

Hi ,

see the bapi.

BAPI_USER_GET_DETAIL.

Here u need to enter the userid.

Regards

GauthamV
Active Contributor
0 Kudos
65

This fm may solve your problem.

NAVIGATION_SELECT_AGRS_OF_USER