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_USER_ACTGROUPS_ASSIGN not working

Former Member
0 Likes
726

Hi,

I have a requirement to create user ids in CUA system but I am not able to assign roles to the created ids. I am using FM BAPI_USER_ACTGROUPS_ASSIGN. Do you have any idea why is it not working. I have tried to search but no answers were found.

Thanks in advance.

3 REPLIES 3
Read only

Former Member
0 Likes
529

Hi Akira,

First user FM BAPI_USER_CREATE1 to create a user id in SAP system.

Once the user id is created (in program after this FM), you can use BAPI_USER_ACTGROUPS_ASSIGN to assign the Roles to the user id.

Regards,

Jovito.

Read only

Former Member
0 Likes
529

Hi thanks for your reply. i am successfully created user id using bapi_user_create1 then bapi BAPI_USER_ACTGROUPS_ASSIGN to assign roles. But this is not working. any idea on how to solve this issue.?

Read only

Former Member
0 Likes
529

Hi Akira,

What is the message you are getting in the table Return.

Also, check tcode SU01 to see if the user id's are created. Also check if the user i'ds are assigned to roles.

Regards,

Jovito.