Application Development 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: 

PDF as printpreview and not download

Former Member
0 Kudos

Hi Experts,

I am aware of the code to download smartforms to pdf. I would like to know if it is possible to display the pdf file when the user clicks on print preview. Something similar to Adobe Interactive Forms in Webdynpro.

Warm Regards,

Abdullah

5 REPLIES 5

former_member223537
Active Contributor
0 Kudos

Hi,

One possible alternative could be to download the file on desktop once User click on Print Preview.

Then open the same using CL_GUI_FRONTEND_SERVICES=>Execute.

& Then delete the file using CL_GUI_FRONTEND_SERVICES=>FILE_DELETE.

Not sure whether there is any straight forward solution.

One question : Why not Smartform print preview instead of PDF preview ?

Best regards,

Prashant

0 Kudos

Hi,

Can I give print preview of smartform and then download to pdf?

former_member223537
Active Contributor
0 Kudos

Yes.

Best regards,

Prashant

0 Kudos

can you please elaborate how do i go about it

Former Member
0 Kudos

SSFCOMP_PDF_PREVIEW will do the job.