Wednesday, 26 November 2014

client create copy and delete at os level

Client created at os level.
1. Create a control file named as createclient.CTL and save some text in this file like...

Client create
Client= client number
Select*

And save this file in bin  directory.
Full path use/sap/trans/bin

2. Execute this file in command prompt using command

R3trans -w createclient.log -u1 createclient.ctl

Client will created by default in T000 table.

To check client create process run command
Tail -f  createclient.CTL

Delete client at os  level :


1. Create a control file named as delclient.CTL and save some text in this file like...

Client delete
Client= client number
Select*

And save this file in bin  directory.
Full path use/sap/trans/bin

2. Execute this file in command prompt using command

R3trans -w delclient.log -u1 delclient.ctl

Client will be deleted from the table T000.

To check client delete process run the command
Tail -f  createclient.CTLCTL

Client copy through os level :



1. Create a control file named as copyclient.CTL and save someCreate client in this file like...

Client copy
Source Client= client numbernumber
Target client= client number
Select * from moff where mandt= client no

And save this file in bin  directory.
Full path use/sap/trans/bin

2. Execute this file in command prompt using command

R3trans -w clientcopy.log -u1 clientcopy.ctl

Client will be copied from source to target.

To check client copy process run command
Tail -f  client copy.CTL

No comments:

Post a Comment