cancel
Showing results for 
Search instead for 
Did you mean: 

RFC CC Error

former_member240483
Contributor
0 Kudos

Hi Experts,

I am using RFC to fetch some data from SAP and it is giving the following error.

<b>

Receiver channel 'Sys_ER3_UK_RFC' for party '', service 'ER3_UK'

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=bc12n0v0.dcsit.net SYSNR=44 GWHOST=bc12n0v0.dcsit.net GWSERV=sapgw44 PCS=1

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

ERROR partner 'bc12n0v0.dcsit.net:sapgw44' not reached

TIME Tue Dec 11 20:14:39 2007

RELEASE 700

COMPONENT NI (network interface)

VERSION 38

RC -10

MODULE nixxi.cpp

LINE 2768

DETAIL NiPConnect2

SYSTEM CALL connect

ERRNO 239

ERRNO TEXT Connection refused

COUNTER 1</b>

Could anyone give what will be the probable cause for this error..

Thanks in advance..

Regards

Rao

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Rao,

in addition with the sibani view you can check more and can do some setting to avoid these error in future.

just follow information about JCo pool it will help you alot.

, follow parge 10 of this link.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/526bd490-0201-0010-038e-d3ff7eb1...

Also

refer to the SAP Library under SAP NetWeaver

>Application Platform (SAP Web Application Server) > Connectivity >Components

of SAP Communication Technology > Communication Between ABAP and Non-ABAP

Technologies > SAP Java Connector > SAP JCo Client Programming > Establishing

Connection to an SAP Server ® Connection Pools, or refer to the help of the SAP

NetWeawer Developer Studio for the description of the class JCO.Pool under SAP

NetWeaver Developer Studio Documentation ® SAP Web AS for Java Applications >

API WAS > Java Connector > com.sap.mw.jco > JCO.Pool.

*PS: Reward points if useful**

Regards,

Sumit Gupta

Former Member
0 Kudos

Hi,

We get this error normally when R/3 system is down / cannot be reached.

Just try to login into R/3 system directly from abap stack.

Or if the issue is not solved,

Try the following steps..

1. Stop the RFC Communication channel in RWB

2. Start the same and check the status,

For this u can follow these steps:

Go to the RWB->Component monitoring->Adapter Engine-> choose communication channel monitoring and then choose your Communication channel.There you will find the buttons start and stop.

This technique works sometimes.

Regards,

Shibani

GabrielSagaya
Active Contributor
0 Kudos

check the RFC Connections and refresh the adapter

prabhu_s2
Active Contributor
0 Kudos

check ur rfc connection in sm59