cancel
Showing results for 
Search instead for 
Did you mean: 

CRM Sales Order Staus Change

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member200342
Active Contributor
0 Kudos

HI,

You can take the reference of the table CRM_JCDS for changed status date and time.

Another way is through actions.You can define a Z method for the method call type action.and in the settings for action merging set the maximum number of successful actions as 1.

Regards,

PePe

Answers (0)