Professional Documents
Culture Documents
Prepared by
Wasim Latif
HP Global Soft
March 2013
2
HP Global Soft
3
HP Global Soft
Document History
Version
1.0
Date
<10.03.2013>
Author
Comment
Wasim Latif
4
HP Global Soft
Reviewed by
TABLE OF CONTENTS
1
Introduction.............................................................................................................. 5
1.1
1.2
1.3
BACKGROUND................................................................................................................ 5
PURPOSE OF THIS DOCUMENT.......................................................................................... 5
PREREQUISITES.............................................................................................................. 5
Client Copy............................................................................................................... 9
3.1
FEATURES...................................................................................................................... 9
PREREQUISITES............................................................................................................ 10
SOURCE CLIENT LOCK / SYSTEM LOCK.............................................................................10
PERFORMING THE CLIENT COPY......................................................................................11
CLIENT EXPORT............................................................................................................ 13
IMPORTING THE EXPORTED PROFILES/DATA......................................................................15
POST PROCESSING....................................................................................................... 15
CHECKING THE LOGS.................................................................................................... 16
SAP Notes.............................................................................................................. 17
5
HP Global Soft
Client Copy
1 Introduction
1.1 Background
1.3 Prerequisites
It is assumed that you have proper authorization to perform the client copy in the SAP
system.
HP Global Soft
Client Copy
You will get the below screen. Make the entries in the following screen as per your
requirements.
Save the entries once you are done. The new client created. Now the next step is
performing client copy i.e copying contents to the new client. Before doing that we need
to estimate the resources required. (database space required)
HP Global Soft
Client Copy
To estimate the resources required we will perform a test run in the newly created client.
Log in into the new client with standard user SAP*.
You can improve the performance of the client copy, for example, by excluding tables
or packages, with Edit -> Expert Settings. You can exclude tables from the client copy,
for example if they are not relevant for the target client, in the Tables tab. For further
information about excluding tables from the client copy,choose the Help button in the
expert settings. For further information about expert settings in the client copy, see the
SAP note 446485.
Go to transaction SCCL and fill the entries in the resultant screen with the source client
details from which you need copy. Do not for get to check the Test Run Button as
shown below.
Click on Continue and you will get the following screen. In this screen click on the check
button Resource Check
HP Global Soft
Client Copy
Now the job will run in the background and the log for this can be found in SCC3. Open
the log. Click on green tick.
If you click on Resource Analysis button, you will see the estimated database space
details as shown below.
Thus you can estimate the resources required for performing client copy.
HP Global Soft
Client Copy
3 Client Copy
Client copy in SAP can be done either locally or remotely. You can copy the following
components in client copy
3.1 Features
You can copy the following components of the source client into the target client:
User master data: User master data is only deleted in the target system if a profile with
user master data is copied. Authorization profiles and roles belong to customizing and
are therefore always copied with it. Copying users without authorization profiles is
problematic, so the copy profile SAP_USER contains authorization profiles and roles as
well.
Customizing: All profiles except SAP_USER contain customizing. Customizing data is
generally in tables with delivery classes C, G, E and S.
Master/transaction (application) data: select this option, for example, if you want to
set up a test system from the production client.
HP Global Soft
Client Copy
If you are creating a new client and then performing client copy, please check the
available free space which can be done using db02 transaction. Also keep monitoring
the table space growth.
Make sure that you have authorization to perform the client copy.
Inform all the developers or the team about the activity and make sure no one will log
into the system during the activity
If required lock the client against log on or lock the users in SU10.
Press Save.
While the client copy is running, users will not be able to log onto the source client.
Once the client copy is complete the lock is automatically removed. If the client copy is
cancelled (for whatever reason) log onto another client, and run SCC3, you will be prompted to
unlock the source system.
HP Global Soft
10
Client Copy
3. Enter the profile (SAP_ALL to copy everything) depending on what do you want to copy.
The following table describes the list of available profiles along with their description
Copy profile
Description
SAP_USER
SAP_CUST
SAP_CUSV
SAP_UCUS
SAP_UCSV
SAP_ALL
SAP_APPL
HP Global Soft
11
Client Copy
12
Client Copy
HP Global Soft
13
Client Copy
If you want to export the SAP_USER which will contain the user master records and
authorization profiles choose it.
Now enter the target system and client number whose User master record details are to
be exported.
Schedule the job or else you can run the Job immediately.
Now it will give you a transport request which was created with profile data. Up to 3 requests are
created, depending on the data selected and available:
HP Global Soft
14
Client Copy
1. "<SID>KO<num>" for transporting cross-client data, if you have selected this
2. "<SID>KT<num>" for transporting client-specific data
3. "<SID>KX<num>" for transporting client-specific texts, provided texts are available in
this client
When the transport requests have been created successfully, the data is exported
synchronously by starting the transport program tp at operating system level, and can take
several hours, depending on the data volume.
The status of the export can be found using either Transaction SCC3 or Transaction SE01
and specifying the transport request. Wait until the data has been successfully exported before
you start another client copy or transport involving the source client
You can check in SCC3 whether the Client export is successful or not.
Go to SCC3 -> Exports ->
HP Global Soft
15
Client Copy
You can select the Exports log by clicking on Exports button as shown above.
Also it displays the list of client copies that were performed in the system.
The log file contains the following details.
It will display the type of client copy, and the profiles that are copied.
By looking at this log you can find details like User name which is used for scheduling client
copy, and the dates of start and completion.
Also, displays details like No. Of tables accessed, copied and deleted lines during client copy.
HP Global Soft
16
Client Copy
5 SAP Notes
In This section I have listed useful SAP notes.
Note 198960 - Copies from client: Incorrect update rules
Note 304605 - SAP query: Queries missing after client copy
This note describes how you can improve the performance of local or remote client copies on
iSeries. Note 517589 - iSeries: Client copy performance
Prerequisite-an RFC connection has to exist
If you experience problems copying from another system, see the SAP note
557132.
For more information about remote client copies, see also SAP Note 47502
On how to copy large production clients, see SAP Note 489690 in the SAP
Service Marketplace.
HP Global Soft
17
Client Copy
The client copy held between two different databases or two different servers (R/3
systems) is known as Remote Client copy. Remote Client copy requires RFC Connections.
Create RFCUSER with SAP_ALL and SAP_NEW profiles on source system (DR1)
Run su01 and create new user RFCUSER and copy from ddic
Make sure the user type is SYSTEM.
18
Client Copy
HP Global Soft
19
Client Copy
Create
Give RFC destination Name (SIDCLNT)
Connection type (3) for R/3 connection
HP Global Soft
20
Client Copy
Give CI host name of Source client and Instance number in the tab
Technical Settings: Go to Logon/Security tab, mention source client number, give
user information using which source RFC to be logged on to target then save and Test
connection.
User info in RFC
In RFC administration, screen logon details required to be given for the source system of
RFC to be logged in to the target system RFC. This user type should be system or service
which ever part of target system database. Once RFC is created source to target system
the data extraction can be done from target system to source system
Test
HP Global Soft
21
Client Copy
Go back and run SM59 and you will see the newly created connection.
HP Global Soft
22
Client Copy
HP Global Soft
23
Client Copy
HP Global Soft
24
Client Copy
Only difference is for the source client, instead of giving the client number of a local
client you will need to provide the RFC connection for the system containing the source
client, which is defined in step 1.
HP Global Soft
25