Skip to Content
Former Member
Jan 28, 2009 at 06:03 AM

Which method of Order_Save BADI to use ?


Hi Experts,

I have to create an implementation for the BADI 'Order_Save' with in which I need to check if the ordered quantity Q1 is greater than a value Q2 (available in CRM).

If this condition fails, I need to replace the Ordered Quantity Q1 with Q2.

I have written code to update the same in the Order. But I'm not sure in which method of the BADI to place this code.

Within the Order_Save BADI, there are three methods CHECK_BEFORE_SAVE, PREPARE, CHANGE_BEFORE_UPDATE.

Also, this code must get executed only when the Order is being created. The same should not get called when the same order is updated.

Any pointers/inputs would be of great help.

Points Assured.