Setting Mail Subject and Body
I have configured sending a mail with PDF attachment for Invoices in NACE. the program is RLB_INVOICE The mail goes fine with the PDF attachment to external mail address.
Now I need put subject and Body for the email.
There are 2 issues now.
1. In transaction NACE i am using "Mail title and texts" node when i fill the Document title, the same document title appears for the e-mail subject as well as the name of the attachment. But i need different names for the subject and attachment and the invoice number must be present in the subject.
2. Under the "Text" tab when i maintain some texts, this doesn't appear anywhere in the mail.
How do i maintain Subject and Body for the e-mail.
Madhan Doraikannan replied
Keep break point at SO_OBJECT_SEND.
In the first screen
VF01 / VF02 ->
Set the Output type not to process immediately, use custom own transaction.
Save and come out of transaction.
VF01/ VF02 ->
Issue Output type select the Output with medium 5.
and click on the OK button.
It should stop.
To pass value from driver program to Enhancement point.
I used FIELD SYMBOLS.
Since i am offline, i do not have exact syntax.
It will be something like this
FIELD SYMBOLS : <OUTPUTTYPE> type any.
ASSIGN '( PROGRAMNAME(FIELD NAME)) TO <OUTPUTTYPE>
IF <OUTPUTTYPE> IS ASSIGNED.
If it is custom driver program, you can use memory ID's also