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

BAPI/FM to Create Role/Activity Group

Former Member
0 Likes
1,150

Are there any standard BAPIs/FMs available for creating roles by providing both transaction and object level information as input

Are there any standard BAPIs/FMs available for creating roles by providing both transaction and object level information as input

4 REPLIES 4
Read only

Former Member
0 Likes
821

The BAPI that you are looking for must be B<b>API_USER_ACTGROUPS_ASSIGN</b>. If you are assigning new user roles you must first obtain the full list of roles for the user by invoking <b>BAPI_USER_GET_DETAIL</b>.

Read only

0 Likes
821

Hi Ivo Martins,

Thanks for the reply. Actually what i am looking for is. I want to create a role just like in PFCG Transaction, but through a FM/BAPI. The FM/BAPI should have the capability to take as input the transactions i want to assign to the role, the values i want to maintain in the Authorization Object/Fields either coming from the role or those we want to maintain manually.

Regards,

Ravi ...

Read only

0 Likes
821

Hey dude! H R U !?

Have you found any way to do what you're looking for???

I'm looking for the same BAPI/FM to do the same code as you want. If I find something I'll let you know, ok!? If you find something first, please help ..

Thanks in advance,

Enio.

Read only

0 Likes
821

Hi,

I did it using Batch Input and Call transaction.