‎2008 Jun 18 8:40 AM
Hi All,
I am using BAPI_USER_CREATE1 to create a user thru my program.
I noticed that, when I create new user, Roles and Profiles are not been copied.
I used SU01 and new user name to view the Roles and Profiles in their appropriate tabs.
Can any one tell me how to copy the roles and profiles.
‎2008 Jun 18 8:54 AM
Praveen,
This method is fully integrated in central user administration.
When the method is called in a system integrated in central user maintenance, the method does the following:
When the method is called in the central system of this system group, user distribution is triggered.
Entries for fields that cannot be maintained in the system are ignored. If, for example, fields that can only be maintained locally are transferred, they will be ignored in the central system when this method is called.
If you want to assign profiles or activity groups to users in the system, use the methods ProfilesAssign and ActivitygroupsAssign.
‎2008 Jun 18 12:44 PM
Amit
Could u tell me how to use these methods.
We need to create object and call the methods right.
‎2008 Jun 18 9:04 AM
Hi,
Use the function 'BBPU_WAP_USER_ROLE_ADD' to add roles to the user.
Reward points if useful
Regards,
Ruby.
‎2008 Jun 18 12:48 PM