Extraction of documents & sending email
Not sure whether this is the right forum to post this question. Kindly bear with me.
I need to retrive the documents from DMS and need to send mail. Documents uploaded are doc,docx,xls,xlsx,ppt,pptx & pdf
i have written a ABAP program to retrive the documents.
To get documents from DMS i used FM SCMS_URL_GENERATE to locate document in DMS and FM HTTP_GET to receive the documents content
My problem is when try to mail using the class CL_BCS & CL_DOCUMENT_BCS, the word excel attachment are getting corrupted.
Can anyone please share your ideas here. Thanks.