Skip to Content
Jan 04, 2017 at 02:40 PM

ABAP send email with attachment DIALOG not automatic



I use SO_DYNP_DOCUMENT_TRANSFER_API1 function module to pop up standard SAP email dialog box, I can fill in all fields, except attachments. I need to popup up this email sending dialog box and automatically display attachment tab filled with a PDF (smartform).

I can see the attachments are some kind of objects, so I need to create them in SAP and use the created object ID, but I cannot figure out how to do that.

Can anybody give an example?

(Please note this is not about automatic email sending with SO_DOCUMENT_SEND_API1!)