Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Duplicated spool doc number of batch created Invoices (spool/ email subject)

Hi gurus

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.

For example

- 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.DateTimetitle or name of spool request
1001007.11.201412:36Invoice   20018810   2000
1001107.11.201412:36Invoice   20018810   2000
1001207.11.201412:36Invoice   20018810   2000

Does anyone know how to fix what appears to be an SAP bug?

many thanks in advance

// Vicky

Tags:
Former Member
Former Member replied

Hi Tami,

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.

// Vicky

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question