Spool -> PDF -> Binary -> EMail as an attachment
I have a classical report output that I need to send as a PDF attachment in an e-mail. I am converting the spool to PDF using FM CONVERT_ABAPSPOOLJOB_2_PDF. I have a bespoke e-mail framework that recognizes the data only in Binary format. And so I need to convert the PDF output given by CONVERT_ABAPSPOOLJOB_2_PDF into a Binary file. I am currently downloading and uploading this back in Binary format and then using my bespoke e-mail framework. Could you guys tell me an approach other than the download/upload option to convert the PDF into a Binary format?
Thanks in advance.