Skip to Content

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

how to attach a PDF to a mail with document-add_attachment


I don't know how to pass the PDF to binary, in order to be able to pass the parameter to the method add_attachment.

Exist any FM? How to make compatible this new binary file with the parameter of the method?


i_attachment_type = 'PDF'

i_attachment_subject = 'attachment'

i_att_content_hex = ???? ).

Thank you,


Former Member replied

Follow FORM prepare_attachment


You will get your answer. revert back if still doubt

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