SM59: hostname ‘xxxxxxx’ unknown



Share this article :

Symptom

You are getting below error while executing connection test in transaction code SM59.

Action Result
Logon Connection Error
Error Details Error when opening an RFC connection
(CPIC-CALL: ‘ThSAPOCMINIT’ : cmRc=20 thRc=4
Error Details ERROR: hostname ‘xxxxx’ unknown
Error Details LOCATION: SAP-Gateway on host itsiti / sapgw09
Error Details DETAIL: NiHLGetNodeAddr: hostname cached as unknown

Solution

Most probably, the error was caused of incorrect Target Host been maintained.

To get rid of this, execute transaction code SM59, double click and switch to change mode of the affected RFC connection. Go to the Technical Settings tab, check and ensure the Target Host is correctly maintained.

Related posts

Install / Update SAP Cryptographic Library on AS ABAP
Connect to message server (HOST/39xx) failed: MSENILAYER
The destination XYZ has not been maintained!
ERROR: Could not start SDM Server - another Server may be running already
© 2018 ITsiti. All Rights Reserved
Powered by KEEM