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

Dynamically assign role to user

Murali_Shanmu
SAP Champion
SAP Champion
0 Likes
1,124

Hi,

I would like to know if it is possible to programmatically assign an existing user to an existing role in ECC system. Is there any standard Function module or any other way of achieving this. Your inputs would be appreciated.

Thanks

Murali.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
900

Hi,

check this one, First one is for ur requirement

BAPI_USER_ACTGROUPS_ASSIGN -- To assign Roles to User

BAPI_USER_GET_DETAILS - To get User Details

SUPRN_INS_OR_DEL_PROFILE -- To insert or delete a Profile

RSBCTDPE_GET_ROLE_FOR_USER -- To see Roles per User

Selva,

Thanks. Thats the BAPI I was looking for.

Durga,

The link you posted was something related to GP - Java stuff. Please check it.

Thanks anyways.

Cheers

Murali

3 REPLIES 3
Read only

Former Member
0 Likes
901

Hi,

check this one, First one is for ur requirement

BAPI_USER_ACTGROUPS_ASSIGN -- To assign Roles to User

BAPI_USER_GET_DETAILS - To get User Details

SUPRN_INS_OR_DEL_PROFILE -- To insert or delete a Profile

RSBCTDPE_GET_ROLE_FOR_USER -- To see Roles per User

Read only

0 Likes
900

Selva,

Thanks. Thats the BAPI I was looking for.

Durga,

The link you posted was something related to GP - Java stuff. Please check it.

Thanks anyways.

Cheers

Murali

Read only

Former Member
0 Likes
900

This message was moderated.