Ansicht
Dokumentation

SIMG_OBIL_08 - Copy source client

SIMG_OBIL_08 - Copy source client

BAL_S_LOG - Application Log: Log header data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

You can use the client copy function to copy a source client to the target client.

Setting up the new client involves:

  • Resetting those table contents in the target client that have not been copied. This is to create a consistent environment.
  • Copying data from the source client to the target client.
  • Post-generation of the runtime environment using post-processing actions (client validation exits), used to adjust report, screen, and number ranges to the current status of the data.

Most of the time is taken up by the physical copying, as all the client-specific data of the SAP System is copied. For production systems, this can be several 100 MB (when copying application data) and can take several hours.

Pure Customizing data can still be up to 100 MB in size. Depending on computer hardware and load copying can still take hours.

For this reason, SAP recommends that you execute client copy in the background. You can find out the status of an online run directly from the monitor; for a background run, you can query the status at any time using transaction SCC3. The client copy is restartable, so you can always restart if a run is canceled.

  • You must not work in the source or target client during a copy run.
This is why the target client is locked for all users other than SAP* or DDIC during the copy run.
To avoid data inconsistencies, you must not work in the source client, that is you must not change any of the tables to copied.
This is another good reason for scheduling a background processing job at night.
  • Authorizations

Because of possible damage resulting from faulty copying of a client to the target client, authorization is necessary, as follows:

  • S_TABU_CLI to maintain cross-client tables
  • S_TABU_DIS to maintain the contents of table CCCFLOW

If you want to copy user master data and user profiles, you must have the appropriate authorizations:

  • S_USER_PRO for user profiles
  • S_USER_AUT for user masters

User SAP* has all the necessary authorizations.

General Restrictions

During the client copy, the tables are always deleted in the target system first, and then the new data is read block by block from the source client and inserted in the target client. If the tables are very large, this can result in very long runtimes and, depending on the database, can also cause an overflow of the rollback segments.

  • Handling Number Ranges
When copying a client, you must take the number ranges into consideration. There are three possibilities:
  1. Copying customizing data and application data.
In this case, the number ranges are also copied, as the application data refers to these number ranges.
  1. Customizing data only is copied; the application data is deleted.
The number ranges are reset, since the application data that refers to them is deleted and application data set up again.
  1. Customizing data only is copied; the application data is not deleted.
The number ranges are kept with the application data.

To copy a client within a single R/3 System:

  1. Log on in the target client as user SAP* with using password PASS.
  2. Start the client copier.
  3. Choose the copier profile you require.
SAP provides the following profiles:
  1. SAP_UPRF
Only user master data and profiles are copied.
  1. SAP_CUST
All Customizing tables, inlcuding user profiles, are copied.
  1. SAP_UCUS
All Customizing tables, inlcuding user data and user profiles, are copied.
  1. SAP_APPL
All Customizing data and application data, including user profiles, is copied.
  1. SAP_UAPP
All Customizing data and application data, including user profiles and user data, is copied.
  1. Specify the source client.
  2. Run the program in the background, or, if you are only copying user data and profiles, run it online.

Additional Information

For more information see the SAP Online Documentation under Basis -> System administration -> Client copy.






CL_GUI_FRONTEND_SERVICES - Frontend Services   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 5184 Date: 20240523 Time: 203940     sap01-206 ( 67 ms )