2008 Mar 10 12:22 PM
Hi friends,
I have a requirement to print all documents linked (DMS) to my material. How can I do this?
Thanks in advance
Hi friends,
I have a requirement to print all documents linked (DMS) to my material. How can I do this?
Thanks in advance
2008 Mar 10 4:14 PM
Hi,
I am assuming you are trying to print a list of all documents linked to your material and not trying to print the actual documents. To get a list of documents linked to your material you can use database view M_CV01O which is the "Generated View for Matchcode ID CV01-O". Select the M_CV01O records with DOKOB = "MARA" and OBJKY = your material. You can write an ABAP report for this or just use SE16.
You can also use transaction CV04N -> choose the Object Links tab -> then choose the Material Master tab and enter your material.
Regards,
Jamie
Edited by: James Gaddis on Mar 10, 2008 12:18 PM
2008 Mar 10 4:19 PM
Drawing master data in stored in table DRAW. Drawing Links are stored in table DRAD, with a DOKOB of MARA for materials, and a OBJKY equal to the material number.
This makes the same assumption that you wan toprint the LIST of documents, and not the documents themselves. It is hard to tell by your question.
Edited by: David Knittle on Mar 10, 2008 12:20 PM
2008 Mar 10 4:24 PM
Correct... database view M_CV01O joins together tables DRAD and DRAW.
2008 Mar 11 11:25 AM
Hi Thanks for your answers, I want to print the document itself..
2008 Mar 11 11:40 AM
you can use the data in DRAW to determine where the actual document is, and print it from there... I am not sure how you would trigger the frontend printing, but we often grab the documents from the vault (with open dataset, etc) and attach them to emails, upload them to websites, etc. you need to know the vault info (where in the server the documents are, based on the vault ID in the DRAW table and on customizing), and the extension (in the draw table), and the actual name as stored in the vault (hey!, in the draw table).
just a quick scan of SE84 shows a function module called DOCU_PRINT...
If not that check out others in the SDOC function group
I have never tried this, though, so i cannot say if it'll work.
Edited by: David Knittle on Mar 11, 2008 7:42 AM
2008 Mar 11 11:48 AM
Hi David,
My documets are PDF docs and stored in Content server
2008 Mar 11 12:38 PM
I just looked at DOCU_PRINT... it is not right.
I just got one to print using DOCUMENT_SHOW_DIRECT, with the print option
Hope this helps
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |