12-16-2013 5:39 PM
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.
12-17-2013 3:40 AM
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.
12-16-2013 7:51 PM
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
12-17-2013 3:40 AM
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.
12-17-2013 10:17 AM
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