Hi,
We have a requirement where we need to send mails to Contact persons from CRM when Delivery Block is cleared in R/3. To enable the same we have created a Z-implementation for BADI ORDER_SAVE. In the CHECK_BEFORE_SAVE method of the BADI we check the status of the order and then mail is sent out accordingly.
However, a limitation here is that if the user makes any change in the sales order after the Delivery Block is cleared (and before a Status Update) multiple mails are sent out. Is there any way to restrict this? Is there a FM or table from which we can get the date of status change.
Thanks in advance.
Warm Regards,
Amrutha.