Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Send Email in SAP with attachment and Body in single mail.

Former Member
0 Kudos

Hi All,

I am using FM SO_NEW_DOCUMENT_ATT_SEND_API1 for sending internal table as an attachment to external email addr by converting data into HTML.

I am also using FM SO_NEW_DOCUMENT_SEND_API1 for sending the same data into body of an email by passing HTMl data.

But my requirement is to have both the functionalities together as sue of above two FM's leads to two emails to 1 person having attachment and one with only Body.

any method to combine both the functionalities.

Thanks in advance.

Regards,

Rupali

1 REPLY 1

vinod_vemuru2
Active Contributor
0 Kudos

Hi,

You need to fill the packlist table with 2 entries. First row for body and subsequent rows for attachments. You need to mention from which row to which row in objcontent should come in body and attachment.

Search the forum for sample code. We have lot of examples.

Thanks,

Vinod.

Code Tags are not working!!!. So not able to send the code