2019 Oct 13 3:12 PM
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?
2019 Oct 15 10:46 AM
2019 Oct 15 3:52 PM
2019 Oct 15 4:24 PM
I think it's in the DEFAULTS input-structure of BAPI_USER_CREATE1 (type BAPIDEFAUL field KOSTL)
Regards,
Patrick
2019 Oct 16 10:36 AM