SAP Client Copy: Local, Remote, Import/Export

โšก Smart Summary

SAP Client Copy transfers client-specific data within the same instance or between different instances using three methods: Local Copy (SCCL), Remote Copy (SCC9), and Client Import/Export (SCC8).

  • โœ… Local Copy: Use T-code SCCL to copy data within the same SAP instance for fastest execution.
  • ๐Ÿ”— Remote Copy: Use T-code SCC9 with RFC connections to transfer data between different instances.
  • ๐Ÿ“ฆ Import/Export: Use T-codes SCC8 and STMS_IMPORT for large database transfers without continuous network dependency.
  • ๐Ÿ”’ Pre-steps: Lock users, suspend background jobs, and verify database space before every client copy.
  • โšก Performance: Always use parallel processes and background scheduling to reduce copy duration.
  • ๐Ÿ“‹ Verification: Monitor all client copy logs through T-code SCC3 and run SCC7 for post-import actions.

SAP Local Client Copy within same SID using T-code SCCL

What Is SAP Client Copy?

You can generate a blank client with T-code SCC4. But how do you fill the data in the client? The answer is the client copy.

Client copy means “transferring client-specific data” within the same instance (SID) or between different instances (SID). It can be performed with three different methods:

  1. Local client copy.
  2. Remote client copy.
  3. Client Import/Export.

Below, brief details are given about each client copy method.

Local Client Copy: This method copies client data within the same instance (SID). It is done by T-code SCCL.

SAP Local Client Copy within same SID using T-code SCCL

Remote Client Copy: This method copies client data between different instances (SID). It is performed by T-code SCC9.

SAP Remote Client Copy between different SIDs using T-code SCC9

Client Import/Export: This method copies client data between different instances (SID). It is performed by T-code SCC8.

SAP Client Import Export between different SIDs using T-code SCC8

The following table summarizes the key differences between these three methods:

Feature Local Copy (SCCL) Remote Copy (SCC9) Import/Export (SCC8)
Scope Same instance Different instances Different instances
Network Dependency None High (RFC required) Low (file-based)
Best For Small to medium data Small to medium data Large databases

Client Copy Pre-steps

To avoid data inconsistencies, perform these pre-steps before starting a client copy:

1) Disconnect and lock business users (SU10). End sessions of active users through T-code SM04. Verify that no canceled or pending update requests exist.

SAP SM04 transaction to disconnect and lock users before client copy

2) Suspend all background jobs.

  • Execute T-code SE38 as given below.

SAP SE38 transaction to run BTCTRNS1 program for suspending jobs

  • Fill program name with “BTCTRNS1” as shown above.
  • Press Execute.

BTCTRNS1 program execution output for suspending background jobs

3) For a local copy, the system must have enough space in the database or tablespace. For remote copy, the target system must have enough space. Check space using T-code DB02.

SAP DB02 transaction showing database space availability

4) To avoid inconsistencies during client copy, users should not be allowed to work in the source client.

5) The rdisp/max_wprun_time parameter should be changed to 2000 seconds as per SAP recommendation. Although you use parallel processes and schedule jobs in background, dialog processes will be used.

Local Client Copy

Local client copy is performed using T-code SCCL. This is the simplest method when copying data within the same system.

Scenario:

  • Source Instance & Client: DKM-000
  • Target Instance & Client: DKM-202

Step 1) Create an entry for your new target client using T-code SCC4. In this scenario, create client 202 in the DKM system. Log on to this newly created target client (DKM-202) with user SAP* and default password “pass”.

Step 2) Execute T-code SCCL.

SAP SCCL transaction initial screen for local client copy

Step 3) Select your desired profile, enter the source client, and enter a description.

SCCL profile selection and source client entry screen

Step 4) By default, client copy is executed as a single process, which takes a long time. Distribute the workload to parallel (multiple) processes to reduce copying time.

  1. Select Goto from the menu bar.
  2. Select Parallel Process. Parallel processes exploit database capacity more effectively.

SAP client copy parallel process configuration menu

Step 5) Always execute long-running processes in background mode rather than foreground/dialog mode. Some processes run more quickly in background.

Scheduling SAP client copy as a background job

Step 6) The client copy logs are available in T-code SCC3. Status “Successfully Completed” means the client copy is done.

SCC3 client copy log showing successful completion status

Remote Client Copy

Remote client copy uses Remote Function Call (RFC). You can view RFC destinations in T-code SM59. This technique depends on network connectivity, so the connection must be strong and stable.

Scenario:

  • Source Instance & Client: BD1-101
  • Target Instance & Client: DKM-202

Step 1) Log on to the target system (DKM). Create a new target client entry (202) using T-code SCC4. Log on to this new target client with user SAP* and default password “pass”.

Step 2) Execute T-code SCC9.

SAP SCC9 transaction initial screen for remote client copy

Step 3) Fill in the basic details as per your requirement.

SCC9 remote client copy configuration with RFC destination

Step 4) Select Parallel Process to exploit database capacity more effectively.

Configuring parallel processes for remote client copy

Step 5) Schedule the client copy in background.

Scheduling remote client copy as a background job

Step 6) The client copy logs are available in T-code SCC3 as given below.

SCC3 log showing remote client copy completion status

Client Import/Export

For large databases, it is recommended to use client import/export instead of remote client copy. This file-based approach does not require continuous network connectivity.

Scenario:

  • Source Instance & Client: PKT-300
  • Target Instance & Client: DKM-202

This technique always starts with the client export step.

Note: You must have enough space in the /usr/sap/trans_SID file system to perform the client export.

How to Export a Client?

Step 1) Log on to the target system (DKM). Create an entry for your new target client using T-code SCC4. Log on to the source system/source client (PKT).

Step 2) Before you import a client, you need to export it first. Export transfers data files and co-files from the source system database to the target system import buffer. Execute T-code SCC8.

SAP SCC8 transaction initial screen for client export

Step 3) Select the export profile and choose the target system.

SCC8 export profile selection and target system configuration

Step 4) Schedule the export in background.

Scheduling SAP client export as a background job

Step 5) Once the job executes, data files and co-files from PKT system database are transferred to DKM system import buffer. The data will be reflected in the DKM database only after you import the transport requests.

Depending on the chosen export profile, up to 3 transport requests are created:

  • Request PKTKO00151 holds the cross-client data.
  • Request PKTKT00151 holds the client-dependent data.
  • Request PKTKX00151 also holds client-dependent data.

How to Import the Client?

Step 1) Log on to the newly created target client (DKM-202) using SAP* and password “pass”.

Step 2) Start the STMS_IMPORT transaction.

SAP STMS_IMPORT transaction initial screen

As shown below, the import queue will open:

STMS_IMPORT queue showing pending transport requests

Step 3) Select the transport requests generated by client export. Import them on the target client in the following sequence:

  1. Request PKTKO00151
  2. Request PKTKT00151
  3. Request PKTKX00151

The system automatically detects these are client export transport requests and performs the import of all 3 requests. The import logs can be seen in STMS_IMPORT.

STMS_IMPORT log showing completed transport imports

Step 4) Post-import phase: Once the import is done, execute T-code SCC7 to perform the post-client-import actions.

SAP SCC7 transaction for post client import actions

Schedule the post-import job in background.

Scheduling SCC7 post import job in background mode

Step 5) The import log is available in T-code SCC3. A successful status confirms the client has been imported.

How to Choose the Right Client Copy Method

Selecting the correct method depends on your system landscape, database size, and network conditions.

Use Local Client Copy (SCCL) when source and target clients reside in the same SAP instance. This is the fastest method because data does not traverse a network.

Use Remote Client Copy (SCC9) when clients are on different instances and database size is moderate. This method uses RFC for real-time copy, so network interruptions can cause failures.

Use Client Import/Export (SCC8 + STMS_IMPORT) when the database is large or the network is unreliable. It creates transport files and does not require a continuous connection.

FAQs

Local client copy (T-code SCCL) transfers data within the same SAP instance. Remote client copy (T-code SCC9) transfers data between different SAP instances using RFC connections over the network.

T-code SCC8 is used to export a client. It creates transport requests containing cross-client and client-dependent data that can be imported into the target system using STMS_IMPORT.

Duration depends on database size, system resources, and method used. A small client may take a few hours, while large databases can take several days. Parallel processes significantly reduce the time.

Lock all business users (SU10), suspend background jobs (SE38 with BTCTRNS1), verify database space (DB02), and set the rdisp/max_wprun_time parameter to at least 2000 seconds.

Client copy logs for all methods are available in T-code SCC3. The log shows the status, duration, and any errors encountered during the copy process.

T-code SCC7 performs post-client-import actions after a client import/export operation. It must be executed in the target client after all transport requests have been imported.

AI-powered SAP management platforms can monitor system health, predict storage shortfalls, and automate pre-step checks. They reduce manual effort and minimize errors during client copy operations.

AI-driven tools provide predictive analytics for resource planning, automated health checks, and intelligent scheduling. They help SAP administrators optimize client copy timing and detect potential failures proactively.

Summarize this post with: