Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

e-mail the atttachment in DMS

Mint
Explorer
0 Kudos

I have a request from user.

They attach a document from DMS (SAP document management system) in PO. They want to send the PO e-mail to vendor with the attachment.

5 REPLIES 5

Former Member
0 Kudos

Use the PO BAPI in order to read the PO details. Read the document from the content server as binary; start outlook via OLE and attach the PO detail the body of the email and the document binary to the attachments.

Regards,

Thomas

0 Kudos

Thanks for your reply!! What is the function module to retreive the document in DMS?

0 Kudos

see this thread

Former Member
0 Kudos

SCMSAOTABLE*READ or something like that.

Regards,

Thomas

Former Member
0 Kudos

The FM is: SCMS_AO_TABLE_GET. With this one you get the document as binary table.

Regards,

Thomas