Skip to Content
Former Member
Nov 25, 2013 at 08:24 AM

salesorder BAPI not updating the pricing of line item


Hi All,

I have a situation where the BAPI doesn't update the price of the existing line item in the sales order, when another line item is deleted. it works fine in standard VA02.

The details are as follows.

  • There are materials which have shipping and handling if the total net price of sales order is less than some value. Let us call one such material as Material A.
  • When material A is added via BAPI, the shipping and handling is coming up which is correct.
  • When Material B is added such that the sales order net total exceeds threshold , the shipping and handling is removed for the Material A, which is also correct.
  • When material B is removed, the material A is not getting updated back with Shipping and handling. The BAPI doesn’t update the price for the material A.

I have tried passing the Update flag for the first material as 'U' while deleting the second material. Even then, the price of the first material doesn't get updated.

Please suggest, if there is any way of achieving this.