06-10-2011 12:01 PM
Hi All,
I have a requirement as follows:
In IW32, after entering an order number, if we change the user status (activating the user status) and press the SAVE button, a mail needs to be triggered
I have found a couple of user exits but I am unable to find one soon after the table updation. Another important thing to note is that if the user wants to deactivate the user status (i.e., when the user status is reverted back to the previous status) and saved, then this functionality should not be executed.
Kindly help me with the user exit or the enhancment or the BADI where I can implement this functionality.
06-10-2011 12:19 PM
Hi,
Create a event driven function module, your function module will trigger based on the event. Configure that in the transaction SWETYPV..When ever the status is changed it will trigger a function module (Z function module) which inturn send a mail(IF you write the code)..
Use Business object - -
BUS2007
Use events:
MaintenanceOrder.released Order released
MaintenanceOrder.teccompleted Order technically completed
MaintenanceOrder.finconfirmed Order finally confirmed
MaintenanceOrder.completed Business completion for order
Regards,
06-10-2011 12:19 PM
Hi,
Create a event driven function module, your function module will trigger based on the event. Configure that in the transaction SWETYPV..When ever the status is changed it will trigger a function module (Z function module) which inturn send a mail(IF you write the code)..
Use Business object - -
BUS2007
Use events:
MaintenanceOrder.released Order released
MaintenanceOrder.teccompleted Order technically completed
MaintenanceOrder.finconfirmed Order finally confirmed
MaintenanceOrder.completed Business completion for order
Regards,
06-10-2011 2:43 PM
Hi,
Thanks for the prompt reply.
The method you have told me is through WorkFlow but i want to do it Using Enhancements.
Give me sum info On Badi or Exits.I have searched almost all the BADi n Exits but no results.