cancel
Showing results for 
Search instead for 
Did you mean: 

Notification mail according to triggerring event in workflow

Former Member
0 Kudos

Hi All,

am doing customer master workflow using KNA1 Business object, it has event CREATE and CHANGE.

whenever event CREATE is triggering workflow, i want to send notification mail with title 'CUSTOMER 999 CREATED'.

whenever event CHANGE is triggering workflow, i want to send notification mail with title ' CUSTOMER 999 CHANGED'.

Could you please advise, how can i handle notification mail according to triggering event.

Thanks in advance.

Regards,

Balamurugan.

Accepted Solutions (1)

Accepted Solutions (1)

former_member184112
Active Contributor
0 Kudos

Hi,

Go to SWUE and enter your BOR and EVENT & press Create Event and Event Receiver buttons. Check in SWEL and in SAP inbox.

Do like this for both Events CREATE and CHANGE

Thanks and Regards,

Prabhakar Dharmala ...

Answers (2)

Answers (2)

former_member190818
Active Contributor
0 Kudos

Hi,

Are you triggering the event for different cases ??

I think u should have seperate workflow for both the events.

Former Member
0 Kudos

Hi JMB,

am tried to use both CREATE and CHANGE event in same workflow. according to event trigger , i nedd to send notification mail ' Customer created' or 'Customer changed'.

Looking for your guidance.

regards,

Balamurugan.

Former Member
0 Kudos

You just create a Container element Falg. If the triggering event is CREATE Just pass X in the binding part between Event and Wflow.

Now inside the Workflow Template designcondition if flag is X then it shouuld execute a send mail for Material Created and if not the other send mail.

Thanks

Arghadip

former_member190818
Active Contributor
0 Kudos

Hi Bala,

As Arghadip mentioned, you can follow him.

As of me for finding which event is getting triggered you need to do little coding. you need to refer some tables SWW_CONT, SWW_CONTOB, SWFDEVTYP. In SWFDEVTYP table all the events are getting stored for particular BO.

Former Member
0 Kudos

You can either trigger a 1 step workflow that has a send mail step. The triggering event of the Workflow should be CREATE and CHANGE event of BO KNA1. You have to activate the linkage between event and workflow in PFTC. You have to maintain some entries in SWE2.

After you have done this check your development from Tcode SWEL.

Thanks

Arghadip