Skip to Content
0
Former Member
Nov 07, 2014 at 01:07 PM

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

603 Views

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. 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

// Vicky