Problems connecting to an SAP server on a different network

Problems connecting to an SAP server on a different network

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

    Requires Free Membership to View

    When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSAP.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSAP.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

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 /?)

This was first published in February 2007

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.