Duplicated spool doc number of batch created Invoices (spool/ email subject)
We have a batch job which generates invoices using program RSNAST00 (VF04), then we use the program SD70AV3A (VV33) to either print or email the invoice out.
In the output condition screen (VV33) for invoices (RD00) we have a standard condition for all invoices from XXXX Sales org. In the communication screen in this condition the "Text for cover page" (print parameters) = TDCOVTITLE is set:
"Invoice &XVBRK-VBELN& &XVBRK-VKORG&
This is so that in the spool list (SP01) the column "Title or name of spool request" AND the email subject title (if sent out by email) will show the relevant information for this document.
Unfortunately when the batch job runs and generates multiple invoices to the same Bill To party (BP) both the name of the spool request (in SP01) AND the subject title of the emails for all of the invoices are identical.
- the spool numbers are different (separate spool for each individual invoice)
- the date is identical
- the time is identical
- the title/ spool request name is identical
- BUT these are three different invoices tot he same bill to (reference three separate sales orders)
|Spool No.||Date||Time||title or name of spool request|
|10010||07.11.2014||12:36||Invoice 20018810 2000|
|10011||07.11.2014||12:36||Invoice 20018810 2000|
|10012||07.11.2014||12:36||Invoice 20018810 2000|
Does anyone know how to fix what appears to be an SAP bug?
many thanks in advance
yes I found a solution myself in the end. See OSS Note 718017 - just a slight modification in the routine.
Another OSS Note which also might be helpful is 537832.