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 email when maintainance order gets created iw31

0 Kudos

Hi all,

I have a requirement whenever order create through IW31 immediately email should trigger. please let me know your scenarios on this...

2 REPLIES 2

former_member593648
Active Participant
0 Kudos

Try using BADI - WORKORDER_UPDATE , inside the method AT_SAVE - you can write your code to trigger the email.

nabheetscn
Active Contributor
0 Kudos

Just to add it might happen some error may occur later after the BADI call then mail sent will not be correct. I think switch on your trace in SWELS check if any event is raised in SWEL if yes then you can add your send mail code in check function module SWETYPV or trigger simple email sending workflow.

Nabheet