‎2008 Nov 06 2:04 PM
Hi all,
Bapi has run and created the sales order.
However order quantity is set to zero, 0.
I have used;
order_items-TARGET_QTY = itab-KWMENG.
and it seems that order_items table is ok, quantities are seen just before calling the bapi fm.
But in order quantities are 0.
What could be the reason?
Thanks.
deniz.
‎2008 Nov 06 2:07 PM
‎2008 Nov 06 2:07 PM
‎2008 Nov 06 2:09 PM
‎2008 Nov 06 2:14 PM
‎2008 Nov 06 2:20 PM
Hi,
No I did not fill, and did not use ORDER_ITEMS_INX.
Which fields should I use?
Thanks.
‎2008 Nov 06 2:27 PM
Hi,
You need to fill the INX
wa_order_items_inx-ITM_NUMBER = WA_SORDER-ITM_NUMBER.
wa_order_items_inx-target_qty = c_x.
wa_order_items_inx-updateflag = c_x.
APPEND wa_order_items_inx TO order_items_inx.
Please search in this forum you can find lot of threads related to this
a®