Skip to Content

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Mar 30, 2018 at 09:53 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 26, 2018 at 07:53 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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

  • Mar 15 at 08:41 PM

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

    Add comment
    10|10000 characters needed characters exceeded