cancel
Showing results for 
Search instead for 
Did you mean: 

Mail --> File using in a PCK

Former Member
0 Kudos

Hi,

I am trying a mail to file scenario where I am trying to read a mail and create a file from it.

So the objects which I have created is as follows,

From Party = Sender_Party_A;

From Service =Sender_Service_A;

Sender communication channel : Mail

To Party = Receiver_Party_B;

To Service =Receiver_Service_B

Receiver communication channel:File

Interface =MX_MAIL;(Dummy)

ANS=http://sap.com/xi/AttachmentAdapter

I have created a Sender Agreement(has a virtual receiver ) and a Receiver Agreement and I use the same interface name in both the places.

But when i try to run this scenario the mail is picked up properly but I get a error message as follows

Received XI System Error. ErrorCode: GENERAL ErrorText: com.sap.engine.interfaces.messaging.api.exception.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve outbound binding for the given P/S/A values: FP=Sender_Party_A;TP=Receiver_Party_B;FS=Sender_Service_A;TS=Receiver_Service_B;AN=MX_MAIL;ANS=http://sap.com/xi/AttachmentAdapter; ErrorStack: null

Transmitting the message to endpoint http://10.52.11.44:57000/MessagingSystem/receive/AFW/XI using connection AFW failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: GENERAL:com.sap.engine.interfaces.messaging.api.exception.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve outbound binding for the given P/S/A values: FP=Sender_Party_A;TP=Receiver_Party_B;FS=Sender_Service_A;TS=Receiver_Service_B;AN=MX_MAIL;ANS=http://sap.com/xi/AttachmentAdapter;.

This works fine if the both the channels are FILE.

Does any body have a idea what could be the problem.

Regards,

Sudip

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

There is no receiver agreement found.

Check for correct spelling in your receiver agreement.

Regards

Stefan

Answers (0)