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

create a role

Former Member
0 Likes
699

Hello All,

I want to create a number of roles in a batch job. Do not want to use the transaction PFCG instead I need a function module or BAPI which can help me create roles in the background.

Thanks in advance.

Regards,

Anju

3 REPLIES 3
Read only

Former Member
0 Likes
655

Hi Anju,

Try these :

BAPI_USER_ACTGROUPS_ASSIGN

ASSIGN_USERS_HIERARCHY

ISAI_USER_ROLES_MAINTAIN

Regards,

Swapna.

Read only

Former Member
0 Likes
655

Hi Anju

Use BAPI_BUPA_ROLE_ADD

and PRGN_CREATE_AGR_FROM_PROFILE

s@chin

Read only

Former Member
0 Likes
655

done