cancel
Showing results for 
Search instead for 
Did you mean: 

Idoc to a flatfile and then email it as an attachment

Former Member
0 Kudos

Hello,

I know it is possible to convert an Idoc to an flatfile (not xml) when you use a file communication channel. This is done by content conversion. But in my case the flatfile has to be sent as an attachment in an email. Is there a way this can be done by something simular like content conversion (as in the file communication channel)?

Best Regards,

Erik van Lisdonk

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>>simular like content conversion

yes this is possible you can do the content conversion

in the mail adapter

have a look at this doc:

https://websmp101.sap-ag.de/~sapdownload/011000358700001186732005E/HowToConveModuleJMS.pdf

it's the same for mail adapter

Regards,

michal

Answers (1)

Answers (1)

moorthy
Active Contributor
0 Kudos

Anyway it is possible with Mail Adapter. If you want more formating, then try to write Module (i.e J2EEModule ) and use this in the Mail Adapter(Receiver).

In this code you can write Java mail APIs for sending mails and attachments.

Regards,

Moorthy