cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot connect to SAP Application Server

Former Member
0 Kudos

Hello Experts,

I'm trying to connect to SAP system from a non SAP System by following this Github doc SAP RFC Connector for NodeJS( https://github.com/SAP/node-rfc ). But when I try to connect on the SAP Application server I'm getting this error.

Accepted Solutions (1)

Accepted Solutions (1)

BJarkowski
Active Contributor

Hello,

the problem is with your sap router configuration. It doesn't allow the connection to your SAP.

You may want to contact your system administrators to add the routing to the target SAP system.

Former Member
0 Kudos

Hello Bartosz,
Thanks for the quick response. I did contact our system administrator and he told me that he was able to connect to the Application Server using different external connection. I was able to ping the SAP Router IP. Can I ping the Application Server as well if I have the right to access it?

BJarkowski
Active Contributor
0 Kudos

Hello George,

Pinging application server depends on your network and sap router configuration.

Are you sure you use the correct SAProuter string to connect?

Former Member
0 Kudos

Hi Bartosz,
In my case the system administrator did provide me the SAProuter string to connect.

saprouter:'/H/54.251.123.94/S/3299/H/'

I can also ping that server IP Address so I'm thinking that it's valid. Now I just want to verify whether my IP is granted an access to the Application Server. My opinion is that SAProuter serves as gateway to the Application Server so once my IP is granted an access to the Application Server I can ping it from my office.

Thank you and sorry for the inconvenience.

BJarkowski
Active Contributor
0 Kudos

Your SAPRouter string is correct.

The error says Route Permission Denied, so you need to correct your saprouter configuration.

You should have there an entry like this:

P <source host> <target host> <port>

Is your system admin able to connect to the system from the same external location as you?

Former Member
0 Kudos

Hello Bartosz,
Thanks for your response.

Since we cannot connect on the Application Server via SAProuter, what we did was connect via VPN. So right now I can ping the Application Server but I have encountered new error.
There are two scenarios I'm thinking

  1. I do not have the role to access the RFCPING
  2. RFCPING is not RFCenabled
BJarkowski
Active Contributor
0 Kudos

Hi,

I have quickly checked on my system and the RFCPING is RFC-enabled.

So you just miss authorization in your system. Most probably you're interested in authorization object S_RFC.

Former Member
0 Kudos

Thanks Bartosz,

The system administrator send me a message that I have already connected to SAP system. And he will process the authorization for RFCPING and other function modules.

Answers (0)