Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Automatic attachment and mail to external system

Our requirement is based on a event the details are to added to a pdf and it should be automatically attached and send as a mail to external system. Sending a mail is working. But how to automatically generate the pdf and attach to the mail ?

Former Member
Former Member replied

Hi,

By using these FM

SO_NEW_DOCUMENT_SEND_API1, SO_NEW_DOCUMENT_ATT_SEND_API1 . You can send attachment in the email.

Refer this [article|https://wiki.sdn.sap.com/wiki/x/AINMB ], which is sending email from ABAP Program convert it as a FM and attach it to you're BO method. And call it in the workflow via Task.

Regards,

Surjith

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question