During run time, In sales order create bapi the Quantity value is getting 0
I am using BAPI_SALESORDER_CREATEFROMDAT2 for creation of sales order. I am passing quantity value into Schedule lines of req_qty ( required quantity ) field. Some times, At run time it takes the req_qty value as zero. can any body tell me how to solve the problem.