Q
Problem solve Get help with specific problems with your technologies, process and projects.

Problems connecting to an SAP server on a different network

A reader wonders what could be causing an error message; Axel Angeli offers some advice.

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 /?)
This was last published in February 2007

Dig Deeper on SAP application integration

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close