[ How to export and import SAP Users and Authorisations ]

Export SAP Users and Authorizations

Logon to the target SAP system in the client you want to save and go to transaction SCC8.

Select the SAP_USER or SAP_UONL profile and the Target System,

---> Click the Schedule as Background Job button and then check Immediately.
---> Click the Schedule Job button, click Continue.
If this system has more than 1 server, set Background Server to the Central Instance Server

---> Make a note of the transport number shown on the next window. The transport is for transporting client specific data.

---> The status of the export can be found using transaction SCC3.
---> After the export completes in SCC3, check the transport logs for the transport in SE01. The export is not finished until the "export" step shows completed successfully.
---> For systems with more than one client, you will need to follow the above steps on each client to create a transport of the users for each client.

Import SAP Users and Authorizations
Note: This procedure assumes the Users were exported and Transport created before the client copy

---> Import the appropriate user Transport for each Client (i.e. 100, 900, 910 etc) from CMD Prompt .

Import needs to be done from CMD prompt (Not STMS), and while import is running, log off of the system as all IDs will be deleted and recreated with the import.

In the examples below a full system was assumed. If you are only importing users from a Client Copy there will only be one transport.

For All R3 Systems
tp addtobuffer aaaa u1 pf=

tp addtobuffer bbbb u1 pf=
tp addtobuffer cccc u1 pf=
tp addtobuffer dddd u1 pf=

tp import aaaa client pf=
tp import bbbb client pf=
tp import cccc client pf=
tp import dddd client pf=

---> After the import is complete, Logon to the SAP GUI for each Client as SAP*

Execute Transaction: SCC7

If a message pops up that this is a Production Client and protected from Client Copies Go into SM31 and table T000 and change Client to "Test" (or via SCC4)

Ensure the Transport that is displayed is the Transport you imported in previous step
Select "Execute in Background"
Monitor to completion in Transaction: SCC3
Repeat this process for each Client Transport Exported/Imported
Change Target Client back to "Production" - If necessary