Showing posts with label CLIENT COPY. Show all posts
For performing a client copy we must check the size of the client and availability of space in the target system for copying that client.
Client size =6

Logon to Source System and Run SCC8 --- > Select Profile for desired copy  --- >Select target System  --- >schedule background job


Now Tick on Immediate option and schedule the job.


3 requests are created, depending on the profile data selected


Manually copy the generated files “KO ,KT, KX” to target system
Go to root level and copy the cofiles and datafiles  from Source to Target Sytem and give permissions & Ownerships as shown below:




The transport requests and the data has been exported successfully  and now go for import process

Logon with Target system and import using transaction STMS_IMPORT
Go to Extras --- >Other Requests --- > Add --->Expand Transport Request Tab  and select the request --- > Continue



Click on Semi loaded truck to import the request.. Once it is imported ,specify the target client in the given field below:



Login to target client :sap*< –> pass


Check the object change status from importing(Truck icon) to imported(Tick mark  resembles imported successfully)

After Import is complete perform “post processing steps” using Transaction SCC7. Follow  the steps as shown in the figures


Check the status using following transactions:
1. check the job schedule status in transaction SM37 along with  detailed Job log



2.Go to transaction SCC3 to check whether the client copy import is done.


3.Successfully imported the users in 444 client .Go to  SE12 --->USR02 table  and check the results.


Note:
Source SAP system and Target SAP system should be same release and should not do with Standard Clients like 000,001,066.
To perform a client copy, check the size of the  Source client and availability of space for copying the client.
Before creating the Client , define Logical system
Execute SALE  --- > New Entries --- >Define Logical system --- Name --->Save --- > Pop up Appears with Request No --- > Create --->Short Description --- Save.







Logical System successfully created.
 Run transaction SCC4 to create the client and specify the details accordingly.

When new clients are created, not allowed to login with sap*as it is deactivated at system level.So set the parameter with 0 value  using Transaction RZ10
Select Profile --- > Extended Maintenance --- > Display <--> Change --- > parameter



Now set the parameter:login/no_automatic_user_sapstar=0


Click on Copy and go back and double click on the screen to activate the profile




Shut down the services and restart the instance  whenever we set the parameters.


Login in the newly created client with    user Name : sap*  and password  : pass 


Execute transaction SCCL to copy the clients and specify the source client no.and profile to schedule the background jobs




Check whether background job is running using transaction SM50


Check the progress and log files in transaction SCC3


Go to transaction SM37 to know the background job status



Once the status displayed in finished state , then check the displayed entries in target clients.
SE12 -- > USR02 -àDisplay --- > Contents .


Client transport is used to copy data between different SAP Systems.

Create  a new target client using transaction SCC4 in target system.
New client = 444
Log on to this new target client with user SAP* and default password pass.

Before remote client copy is performed, a RFC connection must be set between the systems Run transaction SM59  to establish RFC connection between Source and Target System.
Click on Create button and specify
RFC Destination---Connection Type --- Description --- Target Host in Technical settings Tab and Save.




Now go to Logon security Tab and mention Language --- Client --- User – Password and Save


RFC Connection should have Target Server as Destination and the check  the connections  to know the results:
Unicode Test


Connection Test:


Run Remote Client Copy using transaction SCC9 .
Select the RFC for the source system --- Profile --- Source Client  and click on Schedule job.


In the below screen, select Immediate Option and Schedule Job


Now Check the client copy schedule  status in SM37


Execute transaction  SCC3 for monitoring the progress of client copy


Execute SE12 --- USR02 table to check the output results.


NOTE:
The source and target system must have the same R3 release
To avoid data inconsistencies all the users working in the source and target clients should logoff from the system.SoLock all users on source
Stop all background jobs in SM37 by using programs BTCTRANS1 & BTCTRANS2
Make sure enough space is available for TableSpaces in Target
Avoid logging with Standard Clients – 001,000
There are 3 types of client copy in SAP.

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


Follow these steps to create a copy of existing clients −
Step 1 − To create a copy of a client in local SID, the transaction code is SCCL.

SCCL

Step 2 − Enter the following details −
Select your desired profile, enter source client, and enter description.

CLient Copy



Step 3 − By default, the client copy is executed in a single process and you can distribute the workload on multiple processes to reduce time for copying.

Parallel Processes

Step 4 − Copying a client can take longer. Therefore, this process can be run as background job.

Copy a Client

Step 5 − To check the logs, transaction code — SCC3 can be used.

SChedule Client

Remote Client Copy:

You can create a copy of client in the remote system using transaction code — SCC9. This system uses Trusted RFC connection SM59.
Enter the details as we do for local client copy and you can select an option to run the copy in background.
To check the logs, transaction code — SCC3 can be used.

Transport Log Analysis

Client Export/Import:

It is always recommended to use import/export option for client copy when database size is large.
Follow these steps to export a client
Step 1 − Log on to target system and create an entry for new target client using transaction code — SCC4. To perform export for transferring data files to target system import buffer, use transaction code — SCC8.

Export Client
Step 2 − Select the profile and target system. You can schedule the export process in background. Depending on the export type, it creates multiple transport requests in the following areas −
  • To hold the cross client data.
  • To hold the client dependent data.
  • To hold some client dependent data.
Now, follow these steps to import a client −
Step 1 − To import a client, use transaction code — STMS_IMPORT, you will see import queue.

STMS Import
Step 2 − Select the transport requests to perform import process that is generated from export operation. Once import is done, you can use the transaction code — SCC7 to complete post import phase. You can check import logs using transaction code — SCC3.

Copyright © 2013 VENKAT SAP BASIS