maybe this would discussed several times before, so sorry for that, but unfortunately I couldn't find any solution in this forum.
Okay follow scenario:
We get a message to our PI as an IDOC payload.
In the second step, we have to send an E-Mail on different E-Mail recipient with fully IDOC payload as an attachment.
We have to use the mail package and we get the E-Mail with an attachment.
Unfortunately its only the mailpackage, but not the IDOC Payload.
But in the ABAP Stack, I can see the payload, before I did the mapping
So, what should I do, that I get the IDOC Payload as an attachment instead of the mail package attachment ?
Short: I need the incoming payload as an attachment before the mapping.
Is this possible? and yes, how??