Skip to Content

.Net Connector with SAPRouterString error

Hello,

I'm currently working on a connection between a .Net-Application and an SAP-System

by using the .NetConnector (NetCo). In consideration of

1) the SAP Help page about

a) Route String Entry for SAProuter

b) Route Permission Table and

c) Communication Connections of the R/3 System (http://help.sap.com/saphelp_46c/helpdata/en/6d/2a41373c1ede6fe10000009b38f936/content.htm)

2) note no. 29684 (STFK: Route permission denied)

nevertheless I need help with this problem.

The setting:

1) My PC is connected to the SAP-LAN.

2) I would like to connect to SAP-System XYZ (not the real name, changed for this text) which is not part of

the SAP-LAN but inside SAPs (so called) DMZ. This host is 1.2.3.4.

3) As used for connection via SAP-GUI the SAPRouterString I used is:

/H/11.12.13.14/S/3299/W/xxxxxx/H/5.6.7.8/S/3299/H/

(where xxxxxx is the password).

4) Futhermore this system has SystemNo 96, SystemID XYZ.

Due to this setting I used the following configuration of .NetConnector:

AppServerHost /H/11.12.13.14/S/3299/W/xxxxxx/H/5.6.7.8/S/3299/H/1.2.3.4

Client 100

SystemNumber 96

Username xx

Password xxxxxx

(I'm not using SOAP)

Now I get the following error message:

SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed

Connect_PM GWHOST=/H/11.12.13.14/S/3299/W/xxxxxx/H/5.6.7.8/S/3299/H/1.2.3.4, GWSERV=sapgw96, SYSNR=96

LOCATION SAProuter 38.10 on 'hostname11121314'

ERROR hostname11121314: route permission denied 11.12.13.14 to

1.2.3.4, 3396)

TIME Sat Jan 16 16:18:59 201

RELEASE xxx

COMPONENT NI (network interface)

VERSION 38

RC -93

COUNTER 8354

So my question is if there is something else to be configured, something that is implicitly set by the SAP-GUI

(because this connnection work fine ofcourse(!))?

Regards

Johannes

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 25, 2010 at 07:45 AM

    Hi Johannes,

    Did you try these :

    ApplServHost : 1.2.3.4

    SAPRouterString : /H/11.12.13.14/S/3299/W/xxxxxx/H/5.6.7.8/S/3299/H/

    Regards,

    Huseyin Akturk

    http://www.huseyinakturk.net

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi everybody,

      So far I was able to find the solution myself. Like it is explaned in the paper "TCP/IP Ports Used by SAP Applications" wihich can be found at service.sap.com there were the corresponding port at the router (permission) table missing or false. If the SAPgui has access but .NetCo isn't able to do a RFC it is (now) obvious that the ports for RFC (33xx, where XX is the instance number) aren't setup correctly.

      In short: Just change the sap router table.

      Regards.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.