‎2008 May 01 6:43 AM
Hi all,
I am using BAPI_SALESORDER_CHANGE. I want to change only material or Quantity of a sales order for that i pass it in ITEM Table and set the flag for these values in ITEMX table.
After executing BAPI it runs Successfully so i commit it by using BAPI_TRANSACTION_COMMIT.
Now my query is after commited BAPI it does not update related sales order in database.
Why is it occurs meantime it is possible manually by VA02.
Suggess what to do to solve this?
Points will be sured for helpful answers.
Thanks
Sanket sethi
‎2008 May 01 7:05 AM
Did you use the correct UPDATE FLAG?
Have a look at the documentation for this and the rest to see how to fill the BAPI.
When you say successfull, does that mean that you get a message TYPE = 'S' in the return table?
‎2008 May 01 7:20 AM
Hi Sanketh,
If you want to change the quantity in a sales order item using BAPI_SALESORDER_CHANGE you have to pass the new quantity in the Schedule Lines (SCHEDULE_LINES) table to the BAPI. Then only the new quantity gets reflected at the item level.
I hope it is useful. Please let me know if u need any information.
Regards,
Suresh Linga.