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:
RFC Call/Exception: open
Group Error group 102
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
COMPONENT NI (network interface)
SYSTEM CALL SO_ERROR
ERRNO TEXT WSAECONNREFUSED: Connection refused