Skip to Content
0
Former Member
Jan 03, 2008 at 04:26 PM

update sales order qty through BAPI_SALESORDER_CREATEFROMDAT2

46 Views

HI

Can anybody help me out. I have the requirement for creating sales order through BAPI_SALESORDER_CREATEFROMDAT2. The sales order is created but with 0 quantity.

I am using fields RNDDLV_QTY and TARGET_QTY and REQ_QTY in schedule lines & also setting the update indicator to 'X' in the corresponding itemx structures.

In fact it used to work earlier and has stopped now. I am also checking if there could be any change in configuration but don't think this should be the reason.

Can someone guide me as to which quantity fields of the BAPI are the right ones to update sales order qty?

thanks