I'm developing an application that has to send an email message along with a Word document. The Word document is a business document (Ex. Application form) with tables and specific formatting. I was able to successfully send an email using the Function module 'SO_OBJECT_SEND'. However, I was unable attach the Word document to the email.
Based on the discussions previously posted on a similar topic I tried different approaches.
1) Function module SO_DOCUMENT_REPOSITORY_MANAGER
- A window pops up requesting Recipient email ids. I couldn't get the window suppressed.
2) Function module SO_NEW_DOCUMENT_ATT_SEND_API1
- Since the attachment is a pre-formatted Word Document and not an Excel or Text document, couldn't process the contents into the internal table
I would appreciate if any of you could shed some light on how to send an email with text in the body and MS Word document attached