2014 Jan 06 6:13 AM
Hello SAP Experts,
We are doing mass printing for invoice documents for which only one spool request is created. One PDF is having account of all the invoices generated.
We are with a requirement to segregate these documents as single spool when mass printing is done.
Tcode that we use for printing is FOYB, FOYC and FINT. Is there a printer setting which can solve the purpose?
Thanks in advance.
2014 Jan 06 6:25 AM
Hi Faiz,
I think REQNEW = space will do it. pass It in SFPOUTPUTPARAMS structure before calling FM FP_JOB_OPEN. Else,Get the SPOOLID from the frist PDF and use it to the others.
Regards,
Supratik
Hi Faiz,
I think REQNEW = space will do it. pass It in SFPOUTPUTPARAMS structure before calling FM FP_JOB_OPEN. Else,Get the SPOOLID from the frist PDF and use it to the others.
Regards,
Supratik
2014 Jan 06 6:25 AM
Hi Faiz,
I think REQNEW = space will do it. pass It in SFPOUTPUTPARAMS structure before calling FM FP_JOB_OPEN. Else,Get the SPOOLID from the frist PDF and use it to the others.
Regards,
Supratik
2014 Jan 06 6:32 AM
Thanks Supratik.
But we are printing from standard TCodes - FOYB, FOYC, FINT( RE{real estate} module TCodes). The method you suggested can be done for Z program.
Can this requirement can be achived through printer setting?
2014 Jan 06 7:25 AM
I think in that case you can use an enhancement or it will be better if you select the checkbox "Close spool request" in the printing option. The use for this checkbox is mentioned as below in F1 help:
"
If this field is empty, the spool system automatically adds further spool requests with the same attributes (output device, client in which the request was generated, number of copies and priority).
If, for example, a user repeatedly uses a transaction that generates a spool request, the spool system groups these requests together in a single spool request. This request can then be processed as one job when printing and for spool administration.
Select this field to close a spool request before it is released for printing. For later requests which would otherwise be added, a separate spool request is generated.
"
Regards,
Supratik
2014 Jan 06 7:30 AM
Hi,
you can't do this without modifying the program. Because you could have an invoice with several pages. In this case it's not a good choice to separate the pages into several spool.
For me the first question is why did you need to create several spools ? for performance issue ? to make some load balancing between several printers ?
Maybe that will be more simple to create a Z transaction that call the standard transaction with a set of data. (print by 100 documents for example)
best regards
Fred
2014 Jan 06 1:42 PM
Helo Frederic,
For each invoice we print, we capture document number and pdf from the spool request generated and store it in Z table. This we used to dofor single document and thus we were able to capture entries. Now when mass printing is done, pdf of all invoices are collected in a single spool request. due to this our program is not able to capture individual invoice document and its pdf to store in Z table . It only stores the last invoice number and pdf of all invoices,sent for printing, in Z table.
In order to store individual PDFs of mutiple invoice, we need multiple spool requests.
Thanks
2014 Jan 17 9:30 AM
Thanks all. solved by myself. Solution is check box "new spool request" when marked generates multiple spool requests for mass printing.
Thanks and regards,
Faiz
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |