Hi All,
I have a requirement where I need to attach an excel sheet and a PDF document(Smart form converted to PDF) to an email and send it as a notification. I could see the output in SOSG, but, when I try to open the PDF attachment, it says that
Adobe reader could not open 'XXXXX' because it is either not a supported file type or because the file has been damaged (for example , it was sent as an email attachment and was not correctly decoded
I have tried it with FM SO_DOCUMENT_SEND_API1 and also using CL_BCS class, but, both the ways it gave the same error when opening the PDF document.
More over I have used 'CONVERT_OTF' FM to convert the Smartform to PDF , but even that could not help.
The excel sheet that has been attached is good but the PDF could not be opened. Can you please help me out.
Regards,
Pradeep.