Thursday, 12 February 2015

How To Delete a Client

How To Delete a Client


Step 1) T-code which is used for client deletion is SCC5.
 

Step 2)  Click on "delete in background" to run client deletion as background job.You can also check option "Delete entry from T000" table.
 

Table "T000"  contains clients' entry which we have created in SCC4.
 



Step 3) Check status of  client deletion process using  SM50.
 

Workprocess overview will open. "BGD" denotes background workprocess.
 

Once complete. Client will be deleted

Remote Client Copy

Remote Client Copy:-

This technique uses Remote function call. You can view RFC from SM59. This technique depends on the network ,so network connectivity must be strong enough.

Scenario:-
Source Instance & client := BD1-101
Target Instance & client := DKM-202
Step 1) Log on to the target system. Here we will log on to DKM system. Create a new target client entry(202) using SCC4. Log on to this new target client with user SAP* and default password "pass".Here we will log on to DKM-200 system.

Step 2) Execute Transaction Code SCC9.
 


Step 3) Fill the basic details as per your requirement.
 
 
Step 4) Select Parallel Process.Parallel processes are used to exploit the capacity of database better.
 
 
Step 5) Schedule the client copy in background
 
 
Step 6) The client copy logs are available in SCC3 as given below.
 

 

Client Copy Pre-steps,Local Client Copy

Client Copy Pre-steps


To avoid data inconsistencies there are few pre-steps to be performed before starting client copy:-

1) Disconnect and lock business users(SU10).You can end the session of active users in the system through SM04. Once all users are logged out , check that no cancelled or pending update requests exists in the system.
 
 
 2) Suspend all background jobs
  • Execute SE38 as given below.

 
  • Fill program name with "BTCTRNS1" as above figure.
  •  Press Execute.

 
3)  For a local copy , system must have enough space in the database or tablespace .
For remote copy, target system must have enough space in the database or tablespace. Check space using Tx DB02.
 
4) To avoid inconsistencies during client copy users should not be allowed to work in source client.

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

Local Client Copy

Local client copy is performed using Tcode SCCL. 
Scenario:-
  • Source Instance & client := DKM-000
  • Target Instance & client := DKM-202

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

Step 2) Excute T-code SCCL.

Step 3)
  • Select your desired profile
  • Enter Source client.
  • Enter Description


Step 4) By default Client Copy is executed as a single process. Single process will take a lot of time.We will distribute workload of single process to parallel(multiple) processes which will reduce time in copying a client.
  1. Select Goto from menubar.
  2. Select Parallel Process.Parallel processes are used to exploit the capacity of database better


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

Step 6) The client copy logs are available in SCC3 . Status - "Successfully Completed" means client copy is completed.

All About Client Copy – Local,Remote, Import/Export

All About Client Copy – Local,Remote, Import/Export


Client Copy


We can generate a blank client with SCC4.But how to fill the data in the client ?"Answer is the client copy."

Client copy means "transferring client specific data" within same instance(SID) or between different instances(SID).

Client copy 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 client copy methods.

Local Client Copy :- This method is used to copy client within the same instance (SID).It is done by T-code SCCL.
 
ClientCopysameSID 
Remote Client Copy-This method is used to copy client between different instances(SID).It is performed by T-code SCC9.
 
ClientCopyDifferentSID 
Client Import/Export:- This method is used to copy client between different instances(SID).It is performed by T-code SCC8

client creation

Step 2) . It will bring you to the initial screen of SAP clients.
 
Click New Entry to make a new SAP Client
 
Step 3)
  1. Enter basic details as given below.
  • Client number & description
  • City to which client Belongs (etc, NY-New York)
  • Logical system may be <SID>CLNT<Client Number>
  • Std Currency may be (etc EUR)
  • Client roles may be Customizing,Demo,Training/Education,Production,etc..
  1. Enter your client specific data and set permission for the clients as per your requirement
  2. Save
  3. Press F3 to come back to SCC4
 
Step 4) New client will be there in the list.Here we have created client 100.
s