Operating System TP / TMS / CTS unconditional modes

June 26th, 2008 Posted in BASIS, Configuration

The TMS / CTS functions are  a front end to the TP commands at the operating system level. If you use the operating system commands, you face the challenge of replicating the options available via the SAP GUI front end.  These options are controlled by using the Unconditional mode. An example of how to use these is shown below. 

host:prdadm 2> tp import L6BK162625 PA1  U client=100
This is tp version 340.16.38 (release 640)
This is R3trans version 6.13 (release 640 - 07.01.08 - 14:25:00).
2EETW000 T5QTM table class is ‘C’. Entries are only imported to client ‘000′.
2EETW000 T5QTX table class is ‘C’. Entries are only imported to client ‘000′.
R3trans finished (0008).
tp finished with return code: 8
meaning:
  A tool used by tp produced errors
host:prdadm 3> tp addtobuffer  L6BK162625 PA1
This is tp version 340.16.38 (release 640)
Addtobuffer successful for L6BK162625
tp finished with return code: 0
meaning:
  Everything OK
host:prdadm 4> tp import L6BK162625 PA1  U128 client=100
This is tp version 340.16.38 (release 640)
This is R3trans version 6.13 (release 640 - 07.01.08 - 14:25:00).
R3trans finished (0000).
tp finished with return code: 0
meaning:
  Everything OK
host:prdadm 5>

The U stands for unconditional force, similar to the options that you can select when importing via the SAP GUI.

0: Overtaker - change requests can be imported without deleting it from the buffer. Usually, this is followed sooner or later by an import using unconditional mode 1 to import another transport in the correct sequence.

1: Import the transport again.

2: Allow transport to overwrite SAP or System originals.

3: Allow transport to overwrite system-dependant objects.

5: Allow transport to contain source systems other than the integration system (usually used only when importing into Development or Consolidation system).

6: Allow transport to overwrite objects in unconfirmed repairs.

8: Allow transport to ignore limitations caused by the table classification (see the example above).

9: Allow transport to ignore that the system is locked for this kind of transport.

 

Remember that the location to run the tp addtobuffer and / or tp import from is operating system dependent:
(Windows): \\$(SAPTRANSHOST)\sapmnt\trans\bin
(UNIX): /usr/sap/trans/bin

 

Trackbacks

(Trackback URL)

close Reblog this comment
blog comments powered by Disqus