i am working in bapi_saleorder_change . in that i want to update some fields but some fields are not update properly. for qty(vbap-kwmeng) i set BAPISDITM-TARGET_QTY = qty , BAPISDITMx-TARGET_QTY = 'X' and BAPISDITMX-UPDATEFLAG = 'U' in the internal table ORDER_ITEM_IN and ORDER_ITEM_INx but still it is not working. similar things, i have did for changing material ,delv.prior and reason for rejection which update successfully. Whereas fields like qty(kwmeng),price date (in header),payment terms(vbkd-zterm in header) ,plant(werks in item ) are not updated properly .
And I also want to know how to change SHIP-TO party using this FM.
Thanks in advance.