Skip to Content
0
Oct 13, 2019 at 02:12 PM

copying user to another one

330 Views

How I copy a user to another one

first I get user data using : BAPI_USER_GET_DETAIL

then I create the user passing the above data using :BAPI_USER_CREATE1

I then utilize two other fm to copy roles and profiles: BAPI_USER_ACTGROUPS_ASSIGN, BAPI_USER_PROFILES_ASSIGN.

However I could not find any FM to copy the cost center ,somehow this is not at all in the logon table.

Same for the Output device and LIC DATA tabs are not copied in the new user.

Has anyone been able to copy this data before?