2016 Sep 06 10:34 AM
Hi Gurus,
my challenge here is i have print program, where can give multiple invoice and download to PDF.
here it will generate single PDF with all invoices in multiple pages.
i want to generate single PDF of individual invoice. please help to achieve this,
getting split PDF file for each individual invoice while taking SAP dump for multiple invoices through print program
Regards,
Praveen.
Hi Gurus,
my challenge here is i have print program, where can give multiple invoice and download to PDF.
here it will generate single PDF with all invoices in multiple pages.
i want to generate single PDF of individual invoice. please help to achieve this,
getting split PDF file for each individual invoice while taking SAP dump for multiple invoices through print program
Regards,
Praveen.
2016 Sep 06 10:46 AM
Hi,
Slightly change the code by adding smartform function in loop.
http://scn.sap.com/docs/DOC-10364
Regards,
Ananth
2016 Sep 06 10:53 AM
Thanks Ananth,
here we are using sapscript and already in production. cannot go for smart form as of now
2016 Sep 06 7:53 PM
You may concatenate several OTF spool data, and call CONVERT_OTFSPOOLJOB_2_PDF. I think you'll find several answers how to do it in the forum.
2016 Sep 07 9:41 AM
Hi Sandra,
while passing multiple invoice , how can can get individual spool for individual invoice.
now i am getting only one spool while passing multiple invoices in my program
regards,
Praveen
2016 Sep 07 1:39 PM
Oh sorry, I guess your question is mainly how to get only one spool for each invoice (it seems that currently, you have several forms going into one spool). There may be several reasons. You must call function module 'CLOSE_FORM' between each form. You must also force the forms not reusing the same spool, by using parameter OPTIONS-TDNEWID = 'X' in function module OPEN_FORM.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |