cancel
Showing results for 
Search instead for 
Did you mean: 

RFC communication error

Former Member
0 Kudos

Hi Gurus,

I created the receiver RFC communication channel.

Im getting the below error in the channel monitoring when PI is connecting to the SAP system.

Receiver channel 'CC_RECEIVER_CHANNEL_UOM_CONVERSION' for party '', service 'GRD'

Error can not instantiate RfcPool caused by:

com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed

Connect_PM TYPE=A ASHOST=hneccdci01s.glasgow.gov.uk SYSNR=00 GWHOST=saphost GWSERV=sapgw00 PCS=1

LOCATION CPIC (TCP/IP) on local host with Unicode

ERROR partner saphost:sapgw00' not reached

TIME Sun Nov 27 14:08:38 201

RELEASE 700

COMPONENT NI (network interface)

VERSION 38

RC -10

MODULE nibuf.cpp

LINE 4607

DETAIL NiBufIConnect: connection pending after 60000ms

SYSTEM CALL connect

ERRNO 150

ERRNO TEXT Operation now in progress

COUNTER 6

I check the below thread.

The solution is to add the line sapgw00 3300/tcp # SAP System Gateway Port

to the file C:WINDOWSsystem32driversetcservices.

Can you please confirm if I have to add this line in my local PC in the services file located in C:WINDOWSsystem32driversetcservices or it should be added to R/3 system directory C:WINDOWSsystem32driversetcservices.

Also can you please tell which transaction gives the gateway host ,gateway service and gateway port of the R/3 system to which PI is connecting.

Any help appreciated.

Thanks,

Jay.

Edited by: j r saithala on Dec 1, 2011 12:30 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jay,

First check if there are any network issues between the two systems.

1) Update the hosts file on both the systems (PI & SAP)

2) Check if you can ping from SAP to PI and PI to SAP

3) Check the gateway information in Transaction SMGW

4) Properly maintained the gateway host entry in RFC

Award points if useful.

Thanks,

Ravi

Former Member
0 Kudos

Hi Ravi,

Can you please tell me in which directory I can update the hosts file in PI and SAP system.

Thanks,

Jay.

Former Member
0 Kudos

Hi,

please go through link it will help you,

http://help.sap.com/saphelp_bw/helpdata/en/22/0429f8488911d189490000e829fbbd/content.htm

regards,

ganesh.

Answers (1)

Answers (1)

former_member192238
Participant
0 Kudos

Hi,

To find the Gateway Host & service: Goto Transaction SMGW -> Goto -> Parameter -> Display

Regards

Praveen

Former Member
0 Kudos

Hi

You can find the right port and test it for gateway by using telnet in your PC from command prompt, just try to connect using the following command

Telnet hneccdci01s.glasgow.gov.uk (IP address would be better) 3200 (port number for gateway.)

if it doesnt give connection problem and if you see only cursor blinking at the top of the screen, that means its the right port number.

Of course Im assuming there is no port restrictions.

Regards.