Skip to Content

BAPI_SALESORDER_CHANGE to delete condition type.

Hi,

I am using Function Module BAPI_SALESORDER_CHANGE to make changes to sales orders (and condition types) through an ABAP program.

In our SAP system, a discount condition type for specific materials/customers has predefined value. For example, the condition 'ZB03' for specific customers and materials has predefined value of 40% (discount).

When I use the BAPI and give a new value to the condition type the BAPI works fine (for all customers and materials). The condition takes the given value (from BAPI). But when I give through BAPI the value 0.00 to condition so to delete the condition type, if the condition has predefined value for the material and customer, it takes this predefined value (40% for the above mentioned example) instead of 0.00 value. If the condition type doesn't has a predefined value for material/customer the deletion of the condition type is successful.

How can we give 0.00 value to this kind of condition types?

thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers