2005 Jun 06 11:27 AM
Hi,
Could you please let me know how to print a document stored in the Document Management module through an ABAP Program???
I have the following information with me
Document
Document type
Document Version
Document Part
Object type
Object ID.
These information is obtained from table CRVD_B.
I have also retrieved the description of the path and file name in the file system where the original files are stored from the table DRAW. (DRAW-MRKFILEP)
Is it possible to print a document stored in the DMS using the above information through an ABAP Program?
2005 Jun 06 11:37 AM
check out the source code of the FM mentioned below. it will give you an idea how to do this.
ALINK_PRINT_FRONTEND
Regards
Raja
2005 Jun 06 12:16 PM
I could nt find the FM you told. But I have found a function module CV150_PRINT_DOC.
But while executing it is giving the error "Error while setting data in data provider object"
2005 Jun 06 12:28 PM
which function insdie CV150_PRINT_DOC is throwing this error.
Regards
Raja
2005 Dec 15 8:42 AM
you can use FM COPF_DOCUMENT_SHOW_DIRECT to display document from the ABAP program.