Application Development and Automation 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: 
Read only

Multiple pages on SMARTFORMS

Former Member
0 Likes
1,190

this is regarding script and smartforms..

i have a list of purchase orders and each having its own number of items.

i have created a script such that each purchase order details flow in a specific sequence like

page 1 - header,

page 2 - data,

page 3 - footer,

i have created the form and got the output as i needed.

but a requirement arose that once the printout is taken, PDF files for each purchase order has to be generated separately.

like PDF1 - PO1(page1,2,3).

like PDF2 - PO2(page1,2,3).

like PDF3 - PO3(page1,2,3).

like PDF4 - PO4(page1,2,3).

is there any standard program to separate and generate different PDF from a single form in a single instant...

1 ACCEPTED SOLUTION
Read only

amit_khare
Active Contributor
0 Likes
661

About Converting the SMARTFORM to PDf, you can search the forum, there are many replies and ides in various discussions.

now about your issue of 1 PDF per PO - This actually depends on your driver program which is calling the smartform. If its calling smartform for each PO then there is no issue directly follow any of the conversion code.

But if its sending all the data together to smartform for printing, then form will create only one Spool for all the POs coming in one table, then you will not able to break itinot pages for spool generation because PDF conversion of smartform completely depends on the spool generation.

3 REPLIES 3
Read only

amit_khare
Active Contributor
0 Likes
662

About Converting the SMARTFORM to PDf, you can search the forum, there are many replies and ides in various discussions.

now about your issue of 1 PDF per PO - This actually depends on your driver program which is calling the smartform. If its calling smartform for each PO then there is no issue directly follow any of the conversion code.

But if its sending all the data together to smartform for printing, then form will create only one Spool for all the POs coming in one table, then you will not able to break itinot pages for spool generation because PDF conversion of smartform completely depends on the spool generation.

Read only

Former Member
0 Likes
661

Hi Sunder,

you can use the spool number concept to maintain all the POs in one spool and then use the FM.

Read only

Former Member
0 Likes
661

Hi,

In Smartform function module, you will be having an option JOB_OUTPUT_INFO in exporting parameter to get the OTF data from smartforms.

You can then use the function module CONVERT_OTF_2_PDF to convert OTF to PDF.

Regards,

Prasana