Application Development and Automation 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: 
Read only

Document Management: Printing Document through ABAP

0 Likes
917

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?

4 REPLIES 4
Read only

athavanraja
Active Contributor
0 Likes
803

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

Read only

0 Likes
803

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"

Read only

0 Likes
803

which function insdie CV150_PRINT_DOC is throwing this error.

Regards

Raja

Read only

0 Likes
803

you can use FM COPF_DOCUMENT_SHOW_DIRECT to display document from the ABAP program.