Skip to Content
0
Former Member
May 11, 2010 at 09:55 AM

Invoice number in the mail title subject of invoice output as PDF

903 Views

Hi

I have set up my invoice output to be sent to an external address by email as a PDF. This works fine but I have 1 problem, our customer wants the invoice number and project ID in the invoice subhect.

1. How can I dynamically generate an email subject ? Right now I can enter a fix subject but I would like it to be dynamic such as ex.: Invoice # xxxxxxxxxx project ID.

In V/40 i have included the following in Mail title and texts Invoice No. &VBRK-VBELN&, &VBRP-PSPNR&.

But when i get mail the subject is coming blank, Invoice numbers and project ID are coming blank.

Is the syntax not correct?

Please suggest how can be this achieved?

Thanks,

Vaishnavi