2008 Apr 30 2:11 PM
Hello All,
When we change item-quantity in any sales order by using bapi BAPI_SALESORDER_CHANGE, then return table successfully run but quantiy not change in database table.
I also commit BAPI using BAPI_TRANSACTION_COMMIT.
I change field shorttext (ARKTX) in same bapi.
So pls help me to solve my problem.
Thanks and Regards.
Swatantra Pathak
Hello All,
When we change item-quantity in any sales order by using bapi BAPI_SALESORDER_CHANGE, then return table successfully run but quantiy not change in database table.
I also commit BAPI using BAPI_TRANSACTION_COMMIT.
I change field shorttext (ARKTX) in same bapi.
So pls help me to solve my problem.
Thanks and Regards.
Swatantra Pathak
2008 Apr 30 2:14 PM
Alongwith the quantity in the ORDER_ITEM_IN, you need to set the indicator which will tell the system that quantity is changed.
Like:
If you are changing the target quantity by ORDER_ITEM_IN-TARGET_QTY = '200'
than you need to set the ORDER_ITEM_INX-TARGET_QTY = 'X'.
Regards,
Naimesh Patel
2008 Apr 30 2:45 PM
hi,
try also fillin table "order_schedules_in"
order_schedules_in-itm_number = order_items_in-itm_number.
order_schedules_in-req_qty = order_items_in-target_qty.
APPEND order_schedules_in.
greetings,darek
2008 May 28 8:22 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |