‎2008 Apr 28 1:35 PM
Hello All,
When we change item-quantity in any sales order by using bapi BAPI_SALESORDER_CHANGE, then it successfully run but quantiy not change in database table.
So pls help me to solve my problem.
Thanks and Regards.
Swatantra Pathak
‎2008 Apr 28 1:40 PM
Hi
I think you need to set the value 'X' to the quantity field in ORDER_ITEM_INX internal table you are passing thru tables parameter in the BAPI call.
And also make sure you had used the BAPI_TRANSACTION_COMMIT FM after ur BAPI call.
Satya.
‎2008 Apr 28 1:36 PM
bapi_transaction_commit ??
After using 'any' BAPI, you must do the commit with FM 'BAPI_TRANSACTION_COMMIT'.
Edited by: Micky Oestreich on Apr 28, 2008 2:38 PM
‎2008 Apr 28 1:38 PM
Please use 'BAPI_TRANSACTION_COMMIT' at the end of Sales Order BAPI call.
This would save the entries in the database.
Regards
Chetan
‎2008 Apr 28 1:38 PM
Make sure to COMMIT your WORK(if you want to save) or ROLL it BACK (you just want to test or cancel) after your BAPI call.
‎2008 Apr 28 1:40 PM
Hi
I think you need to set the value 'X' to the quantity field in ORDER_ITEM_INX internal table you are passing thru tables parameter in the BAPI call.
And also make sure you had used the BAPI_TRANSACTION_COMMIT FM after ur BAPI call.
Satya.
‎2008 Apr 28 2:24 PM
Hello All,
When we change item-quantity in any sales order by using bapi BAPI_SALESORDER_CHANGE, then it successfully run but quantiy not change in database table.
i also commit BAPI using bapi_transaction_commit.
but database table not updated.
So pls help me to solve my problem.
Thanks and Regards.
Swatantra Pathak
‎2008 Apr 28 2:26 PM
Hello All,
When we change item-quantity in any sales order by using bapi BAPI_SALESORDER_CHANGE, then it successfully run but quantiy not change in database table.
i also commit BAPI using bapi_transaction_commit.
but database table not updated.
So pls help me to solve my problem.
Thanks and Regards.
Swatantra Pathak
‎2008 May 28 8:19 AM