‎2006 Oct 13 1:24 PM
Hello everyone,
I am writing a piece of ABAP which will convert a spool
file into a PDF file. This works fine where there is just
one document i.e. invoice to convert.
There is a file which will contain say 50 invoices and if
I run my ABAP it will convert the 50 invoices into just
one PDF file. Are there any techniques which will allow
me to split a spool file with the 50 invoices into 50
separate PDF files.
Any help much appreciated.
Cheers
Andy
‎2006 Oct 13 1:31 PM
can you show your code?
call the fm: CONVERT_ABAPSPOOLJOB_2_PDF every time with a new spool number.
It would return a new internal table with odf data every time its being called.
Regards,
Ravi
‎2006 Oct 13 1:35 PM
Thanks for your reply.
Perhaps I'm not explaining myself very well.
Each individual spool file will have 50 invoices on it.
Calling the fm will simply convert this into a PDF
containing 50 invoices. I somehow need to split the
spool file into 50 individual PDF documents.
Andy
‎2006 Oct 13 1:35 PM
Hello Andy,
If you start your convert from SAP spool, your are right it's too late to make 1 PDF file per invoice.
According of your SAP version, it's possible to create directly PDF file from SD application.
Otherwise, you have to split your invoice spool in ordrer to generate 1 PDF file per spool.
Regards
Sebastien