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

Hello,

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?

document->add_attachment(

i_attachment_type = 'PDF'

i_attachment_subject = 'attachment'

i_att_content_hex = ???? ).

Thank you,

Manel

Tags:
Former Member replied

Follow FORM prepare_attachment

ENDFORM.

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