‎2009 Mar 09 5:57 AM
Hi,
I am using 'BAPI_SALESORDER_CREATEFROMDAT2' for sales order upload.
The sales order gets created but the quantity field value does not get saved.
I have also marked the corresponding field 'TARGET_QTY' in ORDER_HEADER_INX.
The sales order is created but quantity field does not get populated.
Kindly help.
Thanks.
‎2009 Mar 09 6:17 AM
‎2009 Mar 09 1:10 PM
‎2009 Mar 09 1:27 PM
Hello ,
First of all ..is TARGET_QTY at header level or item level ? I dont have a system right now to check and confirm it but I believe its at the item level.In that case you should be filling it at the item level tables :
ORDER_ITEMS_IN
ORDER_ITEMS_INX
Also there should be another field similar to TARGET_QTY ...one is sales units and another one in UoM.
Try filling both the fields and marking the checkbox table fields to X.
Mathews