Skip to Content

Mine text/plain as attachment - Payloadswapbean

Mar 26 at 08:44 AM


avatar image

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.


swap.KeyName =content-type

swap.KeyValue = text/plain


d.png (6.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Apu Das Mar 26 at 08:49 AM

Hi Pedro,

What is your actual requirement?


Show 1 Share
10 |10000 characters needed characters left characters exceeded

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/