I've already searched, but I didn't find a solution to show a print preview for my generated Adobe print form PDF.
I create the pdf by pressing a button in WebUI and call in the corresponding method the following coding (short version):
call function 'FP_FUNCTION_MODULE_NAME' ... fp_outputparams-preview = 'X'. fp_outputparams-connection = 'ADS'. fp_outputparams-des = ''. fp_outputparams-pdltype = 'PCL'. fp_outputparams-reqnew = abap_true. fp_outputparams-nodialog = ''. call function 'FP_JOB_OPEN' ... call function fm_name ... call function 'FP_JOB_CLOSE'
In the printer settings I activated the preview, but no preview will be opened.
The document is now in the spool job.
But I have to open an preview to print the PDF on the local printer of the user.
Is there any possibility to show an print preview for PDF documents in WebUI?
Or are my printer settings not correct?