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: 

Function Module to get the Users in the Role

Former Member
0 Kudos

Hi,

I need a Function Module to get all the Users in the ROLE.

Pls tell me if you know.

Regards,

Surjith

3 REPLIES 3

Former Member
0 Kudos

Hi

Try SUSR_GET_PROFILES_OF_USER, SUSR_USER_PROFS_PROFILES_GET

Try also: PRGN_READ_ACTIVITY_GROUPS_ONE, PRGN_READ_ACTIVITY_GROUPS

Max

ferry_lianto
Active Contributor
0 Kudos

Hi,

Please try BAPI BAPI_USER_GET_DETAIL.

This BAPI gives list of roles/ profiles assinged to user and check parameter 'activitygroup' for roles and 'profiles' for profiles.

Regards,

Ferry Lianto

Former Member
0 Kudos

Hi,

Check this table UST04 it has the user name and the list of profiles that a specific user is assigned to..

you can select from this table passing profile.

Thanks

mahesh