Hi kamal,
According to ABAP.
Getting Open order.
Table VBUP
Fieldname: GBSTA(Status) values = 'A' OR 'B'.
Finding partial Sale Order.
Sales order Line item table : VBAP
Delivery line item table : LIPS
Subtracting order qty and delivery qty for getting Partial Qty.
pending documents in No of Days.
Subtracting the Delivery Date - system Date to get the no of days .
Check the Following Tables.
Hope it helpful.
Regards,
Venkat.