Skip to Content
avatar image
Former Member

Mine text/plain as attachment - Payloadswapbean

Hi Guys,

I'm not able to test here so I would like to know if PI receive pure as attachment, text file (.txt), like the sample below, it's not CSV file if the payloadswapbean will be able to read the attachment.

d.png

swap.KeyName =content-type

swap.KeyValue = text/plain

Thanks

d.png (6.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 26 at 08:49 AM

    Hi Pedro,

    What is your actual requirement?

    Thanks,

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Apu,

      I will receive the .txt file as attachment via abap proxy, no mapping required, just simple transfer of file and in the receiver adapter I will use to extract only the attachment as .txt and drop into folder.

      This solution is already working for other types of file, like excel in this case using:

      swap.KeyName =content-type

      swap.KeyValue = application/vnd.ms-excel