Skip to Content
0
Former Member
May 03, 2010 at 09:13 AM

How at send a Word document as an email attachment from an ABAP program?

652 Views

Hi all,

i got request to develop background run program which check which staff is due CONFIRM and able to attach confirmation form (Microsoft Word file) to HR and CC staff manager as recipients.

I try almost all relevant FM but still face problem below, please assist.

1) FM SO_DOCUMENT_REPOSITORY_MANAGER

- A window pops up requesting Recipient email ids. I couldn't get the window suppressed.

2) FM 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 (most sample in forum is Excel not word)

Appreciate ABAP folks who have sample code attach a word file will help on this.

Thanks and regards,

Felicek