10-07-2008 8:57 PM
Hi,
We have created a program that downloads a pdf document from CV03n transaction. The filename and filepath of the file are known in the program.We immediately need to print this PDF document on execution of the program without opening the file at frontend.
Is there any FM or method that can directly fire the PDF print without opening the document?
Regards,
Simmi
10-08-2008 7:34 AM
I think u can use FM GUI_EXEC as shown below:
CALL FUNCTION 'GUI_EXEC'
EXPORTING
COMMAND = 'print command for your front end with the filename'
PARAMETER =
*IMPORTING
RETURNCODE =
for windows the COMMAND would be ' print C:\TEST.PDF' ie. your filepath + filename in the Program
Regards Deepak
10-08-2008 3:59 PM
Hi Deepak,
It didn't work. Moreover this GUI_EXEC is obsolete in ECC 6.0.
Regards,
Simmi