ButtonDownBobby
asked on
SAP - StartRFC partner not reached
I am trying to connect to an SAP server through StartRFC.exe. It is called from a custom commandline app and the parameters are passed through a config file. We have two servers setup; one for development and QA and the other is production.
The purpose of calling StartRFC is to load an idoc file into SAP. The file is copied from our windows box to the unix box containing SAP through samba. Once the file is copied startrfc is invoked from the windows box.
Now on the develompent server we do not have any issues but, when we switch over to production we have connection issues. The following is the error msg:
Error:
RFC Call/Exception: open
Group Error group 102
Key RFC_ERROR_COMMUNICATION
Message Connect to SAP gateway failed
Connect_PM DEST=PRD, GWHOST=ourserver, GWSERV=sapgw00, ASHOST=ourserver, SYSNR=02
LOCATION CPIC (TCP/IP) on local host
ERROR partner not reached (host ourserver, service 3300)
TIME Mon Feb 09 10:44:48 2009
RELEASE 620
COMPONENT NI (network interface)
VERSION 36
RC -10
MODULE ninti.c
LINE 976
DETAIL NiPConnect2
SYSTEM CALL SO_ERROR
ERRNO 10061
ERRNO TEXT WSAECONNREFUSED: Connection refused
COUNTER 1
The purpose of calling StartRFC is to load an idoc file into SAP. The file is copied from our windows box to the unix box containing SAP through samba. Once the file is copied startrfc is invoked from the windows box.
Now on the develompent server we do not have any issues but, when we switch over to production we have connection issues. The following is the error msg:
Error:
RFC Call/Exception: open
Group Error group 102
Key RFC_ERROR_COMMUNICATION
Message Connect to SAP gateway failed
Connect_PM DEST=PRD, GWHOST=ourserver, GWSERV=sapgw00, ASHOST=ourserver, SYSNR=02
LOCATION CPIC (TCP/IP) on local host
ERROR partner not reached (host ourserver, service 3300)
TIME Mon Feb 09 10:44:48 2009
RELEASE 620
COMPONENT NI (network interface)
VERSION 36
RC -10
MODULE ninti.c
LINE 976
DETAIL NiPConnect2
SYSTEM CALL SO_ERROR
ERRNO 10061
ERRNO TEXT WSAECONNREFUSED: Connection refused
COUNTER 1
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.