I am using BAPI_SALESORDER_CHANGE FM, I am trying to use the Update flag as 'U' I have passed the HEader and HEader_inx with sales area and the sales order number. In Item I have passe item number, material number, quantity and in Items_INx I have passed Update fklag as 'U' and 'X' to target quantity, and in schedule_lines table again I have passed item number scedule line number and Req_qty and then passed schedule_lines_inx with updateflag as U and req_qty as 'X', the qty which I am giving insterad of getting over written it is adding to the previous value.
For eq if the previous qty value is 10 if I pass 8 using this FM after comminting it is becoming as 18 , is this the functionality of this FM or can we over write the existing qty ?
Any updates ?
Edited by: Varun on Nov 24, 2009 12:33 PM