Skip to Content

Rest Sender Adapter PDF attachment handling

Hi Experts,
I have a requirement to receive PDF document and store in FTP from REST Service.
I have enabled the option in "Support Attachments" Rest Sender Communication Channel but I couldn't be able to see the attachment in the message monitoring.
Main request payload name : <blank>

Response message multipart type : multipart/mixed.

I am following the SAP Note: 2365727.

Let me know if I am missing anything.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Oct 22, 2018 at 06:05 AM

    Hi,

    To store attachment into FTP, first you need to swap attachment as a main payload.

    In your sender communication channel use standard module MultipartHeaderBean and PayloadSwapBean for this purpose.

    Thanks,

    Apu

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 02, 2019 at 11:53 AM

    Hi All,

    I have a similar requirement where I need to map the main payload to IDoc and place the attachment in SAP's AL11 directory. Kindly let me know how can I do it?

    Regards,
    Arkesh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 14 at 05:09 PM

    Please use below adapter modules in Sender REST channel, Content-type may differ and can be added multiple formats.

    Use DynamicConfigurationBean in receiver comm.channel to create the same filename in target side.


    rest.png (153.3 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.