Skip to Content

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

Customer Number in Invoice Mail Title

Hi Guys,

We have a solution in place that allows us to email customer invoices. The title/subject of the email is in format:

Company Name Invoice &VBRK-VBELN&

I was hoping that by replacing VBELN with KUNAG, we will be able to output customer number instead of the invoice number. However, this doesn't seem to work. What am I missing?

Also, if I need to output customer number and invoice number in mail title, how should the document title be defined in NACE?

Thanks for your time!

Tags:
replied

Thanks for your time.

I have investigated further. It appears that SAP does not accept all the fields from VBRK table. Only certain fields provide an output else you just see blank space in the mail title.

Instead of sold to party, I have managed to get bill to party output via &NAST-PARNR&.

To add additional fields to the title the format to be used is &table-field&_&table-field&. I suppose you could just use a blank space instead of "_". In our case I have used &NAST-PARNR&_&VBRK-VBELN&. This meets our requirements.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question