Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to send a mail while saving va02

Former Member
0 Likes
871

Hi experts,

i have to send a mail while saving the VA02.

The mail id s are maintained in Custom table based on the plant.

Regards

Ramakrishna L

Hi experts,

i have to send a mail while saving the VA02.

The mail id s are maintained in Custom table based on the plant.

Regards

Ramakrishna L

2 REPLIES 2
Read only

Former Member
0 Likes
634

HI, Guy,

You can realize it via below steps:

1st, run tocde 'Nace' create a output type and set type as send mail

2nd, create a report to send email call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'

email list you can caputure in this custom report.

Hope it will helps.

Best wishes.

Read only

0 Likes
634

Hi,

We had set a output type in NACE. and that output type we have in the VA02 transaction also.

But While saving the transaction it is not going through the program mentioned in the NACE for that output type.

But mail is sent to the SAP Inbox or official id .

how that mail is gone i am not understanding.

How can we do to go through the program mentioned in NACE while saving the VA02.

The mail body coming with text " sales order is blocked" sopme thing like this.

This same mail i have to sent to the mail id maintained in Custom table plant wise.

Regards

Ramakrishna L