cancel
Showing results for 
Search instead for 
Did you mean: 

Can we push data as a Attachment in SAP via HCI?

0 Kudos

Hi Experts,

Can we send directly attachment to SAP instead of using any standard format. I need to push attachment into SAP through HCI. If "Yes" then please let me know briefly about same.

Your help will be really appreciable.

Thanks in advance!

Regards,

Pravesh Shukla

Accepted Solutions (0)

Answers (3)

Answers (3)

MortenWittrock
Active Contributor

Hi Pravesh

You can add an attachment in code by calling the addAttachmentObject method of the Message interface. I've described the details in this blog, which Praveen also links to. Please note that the method is not specific to the mail channel; it was merely used as an example. The approach for the SOAP channel is the same.

Regards,

Morten

beverely_parks2
Participant
0 Kudos

Pravesh -- Did you ever figure this out? I have the same requirement. My ECC proxies are created from a Function Module.

0 Kudos

Hi Pravesh,

Could you please check if the below blog helps you.

https://blogs.sap.com/2017/10/03/adding-cloud-integration-attachments-in-code/

thanks and regards,

Praveen T

0 Kudos

Hi Praveen,

Thanks for your reply!

It is specific to email adapter, if I want to push xml data through attachment via SOAP receiver, then it is possible ?

Regards,

Pravesh Shukla