Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_SALESORDER_CHANGE to delete condition type.

0 Kudos

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.

0 REPLIES 0