cancel
Showing results for 
Search instead for 
Did you mean: 

Sending attachments to SAP CPI XI Receiver

ildar_dlw
Explorer
0 Kudos

Hi SAP Experts,

I am struggling with a processing attachments in the SAPI XI Receiver adapter.

What I have:

  • XI Adapter which calls proxy in the backend
  • Script which adds attachments to the message

What is the problem:

  • if we have one attachment script from the help works perfectly.
  • If there are more than one attachment, destination system gets one or nothing

I have checked help

https://help.sap.com/docs/cloud-integration/sap-cloud-integration/create-attachments

And post by Morten Wittrock
https://community.sap.com/t5/technology-blogs-by-members/adding-cloud-integration-attachments-in-cod...

But both scripts doesn't provide a correct result - it works without errors, but I can see maximum one attachment in the backend.

This is the sequence which is used:

ildar_dlw_0-1706867598128.png

Add attachment code repeats the code from the SAP help and adds one attachment per iteration. Nevertheless, backend doesn't receive attachments or receives only one, even if there are more than one.

Please let me know what can be done here and how it can be improved to process multiple attachments.

Thanks a lot!

Accepted Solutions (0)

Answers (0)