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 application integration
An SAP user wants to know how to upload data into SAP R/3 when SAP Scripting is not enabled.
An SAP user is receiving an error message while integrating SAP iDoc PORDCR1 for a purchase order.
An SAP user is having difficulty with PERNR iDoc while transporting data from SAP to an external system.
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.