Skip to Content
avatar image
Former Member

Extraction of documents & sending email

Hi Expert,

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.

Regards

Balaji R

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Nov 24, 2010 at 10:20 AM

    Hi Balaji ,

    based on your description I think that maybe the 'Document distribution' function could also be useful for your scenario. By using this functionality you can distribution document info records and its originals from the SAP system to specified users by mail to Outlook or the internal Business workplace (TA SBWP). For more information on the document distribution function please see the DMS WIKI area under http://wiki.sdn.sap.com/wiki/display/PLM/DocumentManagement%28CA-DMS%29.

    Best regards,

    Christoph

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 25, 2010 at 09:43 AM

    Hi Balaji,

    This is feasible thru workflow. Kindly discuss with abap'r. Attachments can be sent to users in outlook or external mail system via workflow.

    Hope this will help.

    Regards,

    Ravindra

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Balaji,

      Kindly check in class inreface class iCL_BCS & CL_DOCUMENT_BCS. The code written in BOR method, you need to check and correct the codes for these application word,excel..etc. whichever getting problems need to be rectified.

      Hope this will help.

      Regards,

      Ravindra

  • avatar image
    Former Member
    Oct 09, 2015 at 09:09 AM

    HEy ,

    Can u please send me the document how to downloaded the reports from dms .

    Requirement : my urgent requirement is i need to download all released reports from CG50 and Cg54 which are dms.

    So need ur help on this . can u explain detail process.

    Thanks in advance/...

    Add comment
    10|10000 characters needed characters exceeded