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

Automatic mail trigger??

Former Member
0 Likes
1,320

Dear All,

I am totally new to SAP. I want to trigger Automatic mail(External mail) while creating Purchase Order.

Pl, help me.

Note:000 client is already configured for external mail.

Thanks & Regards

Manoj Sahoo

1 ACCEPTED SOLUTION
Read only

andreas_mann3
Active Contributor
0 Likes
1,063

Hi,

have a look here: <a href="http://help.sap.com/saphelp_47x200/helpdata/en/06/d4e1395089cd23e10000000a114084/frameset.htm">Message via E-Mail</a>

A.

6 REPLIES 6
Read only

andreas_mann3
Active Contributor
0 Likes
1,064

Hi,

have a look here: <a href="http://help.sap.com/saphelp_47x200/helpdata/en/06/d4e1395089cd23e10000000a114084/frameset.htm">Message via E-Mail</a>

A.

Read only

0 Likes
1,063

Hi,

Thanks , My current problem is solved now. But when i m going to award you i am getting a error message "Rewarding the message failed " .

I ll try to award you later on,thx.

Thanks & Regards

Manoj Sahoo

Read only

former_member150733
Contributor
0 Likes
1,063

To trigger the mail for PO

1. Create a program that actually collects the relevant data of PO and sends the mail to the receipient(s).

You may be using the FM: SO_NEW_DOCUMENT_SEND_API1 in this program.

2. Create an output type for the PO and give this program / subroutine there to trigger sending the mail.

3. Configure Transaction Code SCOT for sending external mails (may be basis could help u with this).

Regards,

Anish

Read only

Former Member
0 Likes
1,063

Hi Manoj,

you can do this easily through Workflow.

Workflow Process:

Create an Event in SWDD in the header data with BUS object BUS2012 and event CREATED.

Activate it.

Next Create a Step (Right click on empty Activity box and choose Send Mail option.

Write the text you require in the text box to be sen in the mail. Choose Email id or user inbox as you require and provide the Id to which th email has to be sent.

This would be very easy than coding it on our own as wheneveer a PO is created this workflow triggers and sends a mailto the concerend person.

This is just the process. I you want me to complete the whole scenario then kindly provide me with your process or what you require to pass in the mail.

Hope this should have bought a little light in u.

Thanks,

Prashanth

Read only

Former Member
Read only

Former Member
0 Likes
1,063

Thx a lot,

Let me try and ll get back to all of you.

very soon i ll give award poin.thx

Manoj