cancel
Showing results for 
Search instead for 
Did you mean: 

Extraction of documents from DMS & sending email

Former Member
0 Kudos

Hi Expert,

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.

Regards

Balaji R

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Try saving the document as a local copy and send the document which you have saved.

Regards,

Suresh.

Former Member
0 Kudos

Hi Suresh,

The documents are picked from DMS as part of automated process. SAving a local copy & sending isi not possible.

Thanks for your quick reply.

Regards

Balaji R