Skip to Content
0
Former Member
Aug 05, 2005 at 10:38 AM

RFC Sender adapter - Sender agreement not found Error

572 Views

Hi ,

I am getting this error when i send an RFC request to XI from SAP.

Exception thrown [Fri Aug 05 10:10:35,624]:Exception thrown by application running in JCo Server

com.sap.aii.af.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed for AdapterType RFC, dapterNS http://sap.com/xi/XI/System, direction INBOUND, fromParty '', fomService 'HORIZONISU', toParty '', toServ

#at com.sap.aii.af.rfc.afcommunication.Message.getEmptyMsMessage(Message.java:345)

#at com.sap.aii.af.rfc.afcommunication.Message.buildMsMessage(Message.java:215)

#at com.sap.aii.af.rfc.afcommunication.ToAdapterFramework.sendSynchronous(ToAdapterFramework.java:341)

#at com.sap.aii.af.rfc.core.server.RfcServer.handleRequest(RfcServer.java:525)

#at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java(Compiled Code))

#at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java(Compiled Code))

#at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java(Compiled Code))

#at com.sap.mw.jco.JCO$Server.listen(JCO.java:6926)

I have configured a sender RFC adapter in XI with a specific "program id". This RFC adapter is available under a Business System of type WebAS ABAP in integration directory.

I have created an RFC in my SAP system (it just has IMPORT & EXPORT parameters, no SrcCode), i also have an RFC destination of type T in SAP which has the program id specified in my RFC adapter config. The application host & gateway in this RFC destination point to itself(points the same SAP system where the RFC destination is created)

Now i trigger the RFC from an other function module with destination parameter pointing to the RFC destination of type T created in SAP.

Is the above config ok ? If not what do i need to check , pointers pls. I get a dump in SAP when i execute the function module calling the RFC , and i see the above stacktrace in XI log.

Thanks

Saravana