SPAM Error TP_CANNOT_CONNECT_SYSTEM CHECK_REQUIREMENTS
When applying hotpackages for first time or since system reconfiguration error message similar to the following occurs.
Continue with step: CHECK_REQUIREMENTS
Patch in queue: SAPKH31H01
Error message help indicates that system cannot connect to database however operating system commands :
#> tp connect <SID> or
#> R3trans -d are successfull!
First check that the obvious and most common cause ie. that the tp command can connect to the database ie. login as the <sid>adm user and try the commands:
#> tp connect <SID> eg. tp connect PRD
#> R3trans -d
If possible also check if you import transports? ie tp import. If you cannot, then display the transport logs (/usr/sap/trans/log) of the test transport and use OSS note search on the any error messages.
If tp and R3trans are successful, then another possible cause is that the system cannot correctly login via an RFC function call!
Look in transaction /nsm59 Tools -> Administration -> Adminstration-> Network -> RFC destinations -> R3 Connections
Test connect to your "LOCAL" system ( the "SAME" system you are currently logged in to!), if you CANNOT login then you must determine the cause eg. missing entries in the /etc/services or /etc/hosts files.
Related: SAP Message TP_CANNOT_CONNECT_SYSTEM