cancel
Showing results for 
Search instead for 
Did you mean: 

RFC sender adapter error

Former Member
0 Kudos

I'm getting following error when I activated the RFC sender adapter.

com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcServerPool: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=164.172.230.136 SYSNR=04 GWHOST=164.172.230.136 GWSERV=sapgw04 PCS=1

where as ASHOST is my CRM system IP address and its gateway.

I created a ProgramID called MYPROGID in CRM (Type T, registered program) and gave XI host IP, and gateway there. In XI adapter configuration I gave my CRM IP, gateway, and the MYPROGID. Still Its not able to connect. What am I missing here?

Thanks,

Anika

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Micheal,

I've gone through ur blog, but still I got few questions.

RFC destination in SM59 is created in ERP(CRM in my case) right? So, the host, gateway we specify in the RFC destination creation is of CRM(according to ur blog)?

Am I missing anything?

Also, program Id "sdnweblogs", is just a text right? no program associated with it right?

Also, in sender adapter configuration, we need to give CRM host, gateway right?

moorthy
Active Contributor
0 Kudos

Hi,

Go to Transaction SMGW and check the gateway service in CRM system and give the same gateway service in RFC adapter configuration.

<i>Also, in sender adapter configuration, we need to give CRM host, gateway right?</i>

>>>Yes. In the "Application Server" entry -give the IP address of CRM system and check it

Go thru this blog-

/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

Regards,

Moorthy

former_member206604
Active Contributor
0 Kudos

Hi Anika,

As is posted in your other post you need to be sure that SM59 Host, Gateway and program ID should be equal to Sender Adapter Host, Gateway and program ID.

For Eg:

CRM RFC destination (SM59)

Gateway Host : 164.172.230

Gateway Service : sapgw04

Program ID : MyProgramID

XI Sernder RFC Adapter

Gateway Host : 164.172.230

Gateway Service : sapgw04

Program ID : MyProgramID

This should work

Thanks,

Prakash

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

did you configure on the XI part?

have a look at my weblog to see how to do it step by step:

/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>