04-15-2009 2:33 PM
Hi
Tried to create a user using this standard Fm BAPI_USER_CREATE1.
I'm able to create the user successfully but not able to assign the roles.
Can anybody please tell me abt the parameter REF_USER.
I tried to pass a super users id and it doesnt take and throwing an error saying that
'User is not a reference user(see long text).
Any help.
Regards
vijaya
04-15-2009 2:55 PM
Hi Vijaya,
HAve you ensured the SAP user ID you passed in the REF_USER parameter of the BAPI exists.
You can ensure (validate) either from SU01D or database table USR01/2
Please confirm.
Regards,
Aditya
04-15-2009 2:55 PM
Hi Vijaya,
HAve you ensured the SAP user ID you passed in the REF_USER parameter of the BAPI exists.
You can ensure (validate) either from SU01D or database table USR01/2
Please confirm.
Regards,
Aditya
04-15-2009 3:06 PM
Hi Vijaya,
The roles are not copied to the new user to be created.
In the REF_USER give the user refrence so that whatever the roles having the refrence all willbe copied to u r user.
Thanks,
04-16-2009 7:44 AM
Hi VIjaya,
Call one of the Function MOdule to assign the roles to u r user adfter calling BAPI_USER_CREATE1.
SUSR_BAPI_USER_ACTGROUPS_ASSIG
ISAI_USER_ROLES_MAINTAIN
Please let me know if u have any problem
Thanks