Skip to Content
0
Former Member
Jun 29, 2009 at 09:53 AM

Send original document from DMS as mail attachment

801 Views

Hi all,

I am looking for a way to get the original document data from a document stored in SAP DMS and send it as attachment.

It is possible to attach document e.g. to SAP purchase requisitions in ME52N via GOS. It is not a problem to get this documents and send it via eMail. But documents attached to the SAP purchase requisition items are stored within the DMS. Is there any way to get the data of the original document and send it via eMail?

Does anybody know if there is a special function module or class to achieve this?

For documents stored in GOS I am using BDS_ALL_CONNECTIONS_GET to retrieve the linked documents and read the data via SO_DOCUMENT_READ_API1. Are there any function modules that gives back the document data from DMS?

Any help is much appreciated

Kind regards

Rudi