2009 Feb 16 4:40 AM
Dear All,
I am not able to populate Order Quantity in Sales Oder
from bapi BAPI_SALESORDER_CREATEFROMDAT2
in which structure the order quantity field will be there.
In the structure BAPISDITM there is a field TARGET_QTY but it is not populeting in Cumulative Order Quantity in Sales Units.
In the structure BAPISCHDL there is a field REQ_QTY
is it Cumulative Order Quantity in Sales Units.
please can you tell me which is the field for Order Quantity througn bapi in BAPI_SALESORDER_CREATEFROMDAT2.
thanks
mars
Dear All,
I am not able to populate Order Quantity in Sales Oder
from bapi BAPI_SALESORDER_CREATEFROMDAT2
in which structure the order quantity field will be there.
In the structure BAPISDITM there is a field TARGET_QTY but it is not populeting in Cumulative Order Quantity in Sales Units.
In the structure BAPISCHDL there is a field REQ_QTY
is it Cumulative Order Quantity in Sales Units.
please can you tell me which is the field for Order Quantity througn bapi in BAPI_SALESORDER_CREATEFROMDAT2.
thanks
mars
2009 Feb 16 4:44 AM
Hi,
Use 'target_qty' filed for order quantity and also make sure that you are
filling the sales_items_inx-req_qty with 'X'.
2010 Mar 29 3:03 PM
I have tried putting X for all the fields of the structure ORDER_ITEMS_INX. But it is still not working.
2010 Mar 30 5:55 AM
Pass the quantity in ORDER_SCHEDULES_IN-REQ_QTY. Also update the field ORDER_SCHEDULES_INX-REQ_QTY with value 'X'.
Regards
Vinod