By
Published: 27 Feb 2007
We are trying to connect to a SAP server that is on a different network. I am not able to ping the server from the system that I am connecting from. I am able to connect to the SAP Server from the SAP GUI using the router string method. But when I try to use my application, which doesn't use the SAP router string, I get this error.
Unable to connect to SAP System
RFC_ERROR_COMMUNICATION; Connect to SAP gateway failed
Connect_PM GWHOST-hola1q61, GWSERV=sapggw12 , ASHOST=hola1q61 , SYSNR=12
LOCATION CPIC (TCP/IP) on local host
ERROR partner not reached
If you normally connect through the router, you have to specify the router string in your application as well. The reason is that your SAP accepts no connection from outside but from the router only; that acts as a firewall. There is no difference in the logon procedure using SAPLogon or an RFC; you can use exactly the credentials that are used in SAPlogon. You can test logon as well using the SAP command line launcher "sapshcut.exe" from the SAPGUI directory (example: C:\Programme\SAP\FrontEnd\SAPgui>sapshcut /?)
Dig Deeper on SAP integration
An SAP user is receiving an error message while integrating SAP iDoc PORDCR1 for a purchase order.
Continue Reading
SAP expert Axel Angeli explains how to update the "further dates" tab information in am SAP transaction through an SAP IDoc.
Continue Reading
An SAP R/3 4.7 user wants looking to post a document entry using different trading partner fields for credit and debit for function FB01.
Continue Reading