Skip to Content
0
Former Member
Jun 04, 2008 at 02:57 PM

Convert spool content to pdf

237 Views

Hi experts,

I have created a program that uses several smartforms to edit spool content according to the value of an input parameter, for example :

if p1_nbex GT 0.

wlv_cle_facture-sform = 'ZSF_LB_INVOICE_Z101'.

where ZSF_LB_INVOICE_Z101 is one of the custom smartforms that I have created.

Now I have created another parameter in the selection screen (p_pdf) as a checkbox and I want the spool content to be converted to pdf if the checkbok is checked.

I have read the possibility of using the program RSTXPDFT4 to convert to pdf, on the other hand I have no clue how to do this; can anybody help? is there another method?

Other question : How do I tell the program the path for storing the newly-created pdf?

Any help will be rewarded,

Many thanks

Cédric K.