2011 Sep 23 9:11 AM
Hi,
i use FM: cvapi_doc_view to show or print some documents.
if the document is an DOC i can show and print. If i have a PDF print is not possible, the pdf will
only be shown.
I use reader with version 10.1.1.
Has anyone an idea? or is there another FM or BAPI?
thanks
Regards Dieter
Hi,
i use FM: cvapi_doc_view to show or print some documents.
if the document is an DOC i can show and print. If i have a PDF print is not possible, the pdf will
only be shown.
I use reader with version 10.1.1.
Has anyone an idea? or is there another FM or BAPI?
thanks
Regards Dieter
2011 Sep 30 8:24 AM
Hi Dieter.
You can use this method to show or print a local PDF file, using you're local software.
CALL METHOD cl_gui_frontend_services=>execute
EXPORTING
document = path_file "path of the file
operation = 'PRINT' "or OPEN
Have a look at the export parameters.
Hope this help.
Regards.
Emmanuel.
2011 Sep 30 8:35 AM
2011 Sep 30 10:27 AM
Hi,
try passing PF_APPTP = '3' to fm CVAPI_DOC_VIEW.
domain APPTP has the following values:
1 Display
2 Change
3 Print
Best regards.
Edited by: Pablo Casamayor on Sep 30, 2011 11:27 AM
2011 Oct 10 2:31 PM
Hi Pablo,
thanks fpr your answer.
I tried with PF_APPTP = '3' but the pdf will only be displayed.
Regards, Dieter
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |