Hi,
There is no direct field to get the PO Open qty(undelivered Qty).
Take the PO quantity for each Item from EKPO-MENGE.
For each PO Item there will be multiple GR(good's receipts) 's in MSEG table.
So pass EBELN and EBELP for MSEG table and Take all the GR Quantities(ERFMG) field and sum up .(have to take care of the Movement type also, becasue there will be some returns and GI's).
Substract the GR qty from PO qty you will get the UNDELIVERED QTY of A PO.
Regards,
Anji
Add a comment