‎2010 Dec 29 5:27 AM
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.
‎2010 Dec 29 8:31 AM
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.
‎2010 Dec 29 8:41 AM
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.?
‎2010 Dec 29 8:53 AM
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.