Showing posts with label Using tp. Show all posts
Showing posts with label Using tp. Show all posts

SAP Message : TP_CANNOT_CONNECT_SYSTEM

Using spam, trying to import SPAM UPDATE, I get the above message together with TP_INTERFACE_FAILURE.
1. tp works fine when I am doing transports (tp import devk90000 qas client=400 u1 or addtobuffer).
2. niping -t SELFTEST works fine

I worked through notes 44946 and 96907, but could not resolve the issue.

The support packages have been uploaded from the DEV box into the QAS queue. The DEV and QAS boxes are in the same centre on the network, by fibre. I am working on QAS.

I get this message in QAS:-
"SAP system is waiting for the inclus. in transport domain"

When trying to update the config from DEV client 000, I get this message:-

System DEV is unknown in the Transport Management System

Diagnosis
An error occurred in the TMS communication layer.

System: QAS.DOMAIN_DEV(000)
Function: TMS_CI_CHECK_ACCESSTOKEN
Error: UNKNOWN_SYSTEM (DEV)

System Response
The function terminates.

Procedure
Log this system on to the Transport Management System.

If this error occurs in the function TMS_CI_CHECK_ACCESSTOKEN, then the TMS configuration was deleted in the R/3 System QAS.DOMAIN_DEV(000).

Configure the TMS in this R/3 System again.

You need to:

1. logon to the transport domain controller with admin user in client 000.
2. Run STMS
3. System overview
4. select QAS
5. Menu line option "SAP system" --> "Approve"
6. Distribute configuration

When you are logged on the transport domain server and run STMS --> System Overview. Is QAS listed? If so, select it and perform the checks under "SAP Systems" in menu line.

If they are not successful you might want to try the following to configure the TMS on QAS from scratch.

First delete QAS from system overview on the domain server.

Then do the following steps...

In your QAS system in client 000.
Run tcode SE06 --> Database copy or Database migration --> Perform post-installation actions.
Then confirm that you want to delete all old CTS/TMS config and type in QAS as source system for the database copy.

Then run STMS again and type in the correct data for the transport domain controller.
Logon to the transport domain controller in client 000. Run STMS. Open system overview.
Choose the SID of the QAS system and click on "SAP System" in the menu and choose Approve.
This will add the QAS system to your TMS config again.
Perform the checks from menu line "SAP Systems" again.

Using tp

You need to change into /usr/sap/trans/bin before calling tp. tp works with buffers; there is one buffer for each SAP system. Before you can import a transport into a system you must add it to the buffer with the command addtobuffer. See Abbildung 7.3, „Typical tp usage“ for a typical usage.

% cd /usr/sap/trans/bin
% tp addtobuffer transport SID
% tp import transport SID

Abbildung 7.3. Typical tp usage


Tranportorders have a common format: SIDKnumber. If number starts with a nine (9), that is a customer created transport. Otherwise it is an SAP transport. The SID is the SID of the original system.

There are loads of commands for tp. See Tabelle 7.3, „Buffer related tp commands“ for buffer related command.

tp commanddescription
showbuffer SID

Shows the buffer of system SID

addtobuffer tranport SID

Adds transport to the buffer of system SID

delfrombuffer tranport SID

Deletes transport from the buffer of the SAP system SID

cleanbuffer SID

Removes old entries from SIDs buffer

setstopmark SID

Fügt eine Markierung in den Buffer von System SID ein, bei der ein import oder put aufhört. Wenn keine derartige Marke vorhanden ist, dann fügen die Befehle import all und put temporär eine solche ein (und löschen diese nach erfolgreichem Import).

delstopmark SID

Entfernen der Stop-Marke aus dem Buffer