cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Connection

Former Member
0 Kudos

Hi Tek's

I was trying to do some sample RFC babpi base example but again was not sucessfull with r/3 configuration "connection setup"

Error desc

Connection to SAP gateway failed

cONNECT_PM GWHOST=200.162.88.112,GWSERV=sapgw00,SYSNR=00

LOCATION CPIC(TCP/IP) on local host

ERROR partner 200.162.88.112:3300' not reached

TIME Thu Apr 12 17:11:59 2007

Release 700

COMPONENT NI(Network Interface)

version 38

RC -10

MODULE nixxi.cpp

LINE 2764

DETAIL NIPConnect2

SYSTEM CALL connect

ERRNO 10061

ERRNO TEXT wsaeconrefused:connection refused

COUNTER 6

Note: i try to connect to R/3 using SAPlogon gui and its working but when i try to configure from Adaptive RFC model for webdynpro example its erroring out.

R/3 is not on local host.

hope,can any body guide me ?

Thank you

sv

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

HI,

YOu have to add a parameter in your service file

ie.

sapms<SID> 36<CI no>/tcp

Reward, If found useful

Former Member
0 Kudos

Hi Naveen

where do i find the service file

Thank you

sv

Former Member
0 Kudos

HI,

In case you are working on WIndows: go to the folder

C:\WINDOWS\system32\drivers\etc\

you'll find the service file here. Just add an entry

sapms<SID> 36<CIno>/tcp

eg:

If your SID name is QCO and the CI no is 00 i.e. DVEBMG00 then the entry would be

sapmsQCO 3600/tcp

Reward, If you find it useful

cheers

Former Member
0 Kudos

Hi,

The message server what you have configured is not proper in SLD that is reason why you are getting this error.

Please check the following when creating the System in SLD:

Got to transaction ST11 open dev_ms file here you will get the message server port and message server host use these details when creating the system. The message server port will be with a prefix I listen to .

Please do revert back incase of any issues.

Thanks & regards,

Vijith

Former Member
0 Kudos

User can perform a RFC connection must be assigned the authorization object" S_RFC". login SAPGUI and have a check.

BTW,"SAP_ALL" is not all in all.

Rewords points if you have work out.

Thx