cancel
Showing results for 
Search instead for 
Did you mean: 

Remove a attached payload from a Sender ABAP PROXY

former_member193386
Active Contributor
0 Kudos

Hi experts, I need Your help!

I have a SAP ABAP PROXY sender interface, this interface send me a main payload information and 1 attach payload, I need read this attach and delete after process information because my receiver is a MAIL XIPAYLOAD and this attach is put on my e-mail like a attached file with no name. I´m using SAP PI 7.31.

Accepted Solutions (1)

Accepted Solutions (1)

former_member181985
Active Contributor
0 Kudos

Hi Carlos,

1) Try removing attachment in PI mapping using method: removeAttachment either using java mapping or UDF in graphical mapping.

https://help.sap.com/javadocs/NW73/SPS07/PI/com/sap/aii/mapping/api/OutputAttachments.html

https://help.sap.com/javadocs/NW73/SPS07/PI/com/sap/aii/mapping/api/OutputAttachments.html#removeAtt...

http://scn.sap.com/docs/DOC-26528

2) If the above step does not work, then go for a custom adapter module which can remove attachment. Use this module in receiver mail adapter.

check module API: https://help.sap.com/javadocs/NW73/SPS07/PI/com/sap/engine/interfaces/messaging/api/Message.html

https://help.sap.com/javadocs/NW73/SPS07/PI/com/sap/engine/interfaces/messaging/api/Message.html#rem...

Regards,

Praveen Gujjeti

Answers (0)