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: 

Seperate PDF file per each order through ADOBE form

Former Member
0 Kudos

I have a existing program(ADOBE form) which generates one PDF file for all orders through ADOBE form, user need seperate PDF file for each order.Please advise.

1 ACCEPTED SOLUTION

Former Member
0 Kudos


If you need a separate spool file for each PDF then you should use:

LOOP.

OPEN_FORM.

CALL_PDF.    

CLOSE_FORM.

ENDLOOP.

If you wish to have ONE SPOOL FILE with many PDFs  then you should use.

OPEN_FORM.

LOOP.

CALL_PDF.

ENDLOOP.

CLOSE_FORM.

3 REPLIES 3

naveen_inuganti2
Active Contributor
0 Kudos

Users are always like that

Naidu, I think you need to elaborate your question to help SCN to understand it better.

It sounds like content of existing Adobe Form has information/data related to all orders (Sales?). If that's the case then you should check if they are expecting any changes to static (Text, Images etc.,) content of your Form. If YES then you should modify the form with help of designer. If NOT then your Job is little easy. You should call Form Function Module inside the loop of data source and generate multiple forms for each order.

Regards,

Naveen

Former Member
0 Kudos


If you need a separate spool file for each PDF then you should use:

LOOP.

OPEN_FORM.

CALL_PDF.    

CLOSE_FORM.

ENDLOOP.

If you wish to have ONE SPOOL FILE with many PDFs  then you should use.

OPEN_FORM.

LOOP.

CALL_PDF.

ENDLOOP.

CLOSE_FORM.

Former Member
0 Kudos

Hi Appala,

In case you need separate PDF files for different orders, then just call your form inside a loop from your driver program along with the data for different orders in each loop iteration.

This will generate different spools to be generated for each of your orders and your requirement will be met.

Regards,

Arnab