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: 

How to extract document from DMS and send as an attachment in an Email

Former Member
0 Kudos

Requirement here is as follows.

pick a particular document attached to the Business Object DRAW

b) extract it from DMS

c) attach it to an email (in its native format, e.g. an "xls", or a "PDF", etc.

Please advise at your earliest convenience.

I have a method "GETDETAIL2" I can run from the DMS Business Object "DRAW" that returns the following info on attached files.

APPLICATION_ID FILE_ID

Can I then use this data to create the attachment to the email?

3 REPLIES 3

former_member182371
Active Contributor
0 Kudos

Hi,

have a look at this thread:

Best regards .

0 Kudos

Thank you for replying. This is what I am asking....

In thread , a®s explained the way to get at the attachments to a Business Object using the SRGTBREL table.

Are the entries in the SRGTBREL table somehow related to the APPLICATION ID and FILE ID that are returned by the GETDETAIL2 method of the DMS Business Object "DRAW"?

If so, how?

If not, what are APP ID and FILE ID for?

Thanks for considering this matter.

Ted Smith

0 Kudos

Hi,

here is a sample of GETDETAIL2. Hope it helps.

check this as well:

I guess the Ted Mentioned here is you:

Best regards.

Edited by: pablo casamayor on Jul 29, 2008 8:14 AM

Edited by: pablo casamayor on Jul 31, 2008 3:53 PM