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 = ???? ).
Follow FORM prepare_attachment
You will get your answer. revert back if still doubt