on 08-05-2005 11:38 AM
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
Hi Saravana,
1. have you created a senderAgreement for your scenario? (senderAgreement not found)?
2. do you commit your RFC call with commit work? ( just to make sure )
3. is your RFC dest working? when you test it in SM59?
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just an addition, i have configured a sender agreement in directory with sender service as SAP business system , sender interface as the outbound synchronous interface that i created with RFC request & response structures.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.