Application Development 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: 

How to Trigger mail automatically on making OA

Former Member
0 Kudos

Dear All,

When we make Order Action using the transaction 'VA01' , at the time of saving , it should trigger a mail to Vendor automatically OR we should develop a program which acceps OA Number and generates a mail when it is executed. How can we do this ? Anybody please help .

Thanks in advance..

Shankar

6 REPLIES 6

Former Member
0 Kudos

We can configure message output determination to send a mail to the partner. Take a look at a NACE transaction for configuration of the same.

regards,

Ravi

former_member181962
Active Contributor
0 Kudos

HI,

refer link

or alternatively,

Create a spl purpose program in se38 which sends the mail to your vendor.

Attach that program to an output type in NACE transaction.

TRigger the output type by giving oyur output type in va01 transaction output types(Dispatch option-send immediately on save).The output type should have option as 8.

Regards,

Ravi

0 Kudos

option as 8 ? Can you pls explain this ?

0 Kudos

Hi Shankar,

I'm sorry, what i meant was Transmission Medium.

1 Print output

2 Fax

4 Telex

5 External send

6 EDI

7 Simple Mail

8 Special function

9 Events (SAP Business Workflow)

A Distribution (ALE)

T Tasks (SAP Business Workflow)

You can set your transmission medium in the output screen of the transaction(choose from a list box).

Regards,

Ravi Kanth

0 Kudos

Also Please provide the steps / code to develop the program to generate mail . I dont have any idea about this .

Regards,

Shankar

0 Kudos

Refer the following links:

http://www.sap-img.com/abap/sending-email-with-attachment.htm

http://www.sap-img.com/fu016.htm

But even before you do all this,

Refer think link:

Please reward if it helps.

REgards,

Ravi