Im writing a program that calculates the backorders(open orders) on all materials for a particular plant and storage location.
SAP's VA05 does not list those orders as open orders, whose Sales order are Closed but Deliveries are Open.
Neither does its standard function module - RV_SALES_DOCUMENT_VIEW_3 return these orders.
I need these orders to project allocatable stock for every material as Open Deliveries whose PGI are not done do not decrease unrestricted stock.
Are there any function modules that can help me do this?(Find open deliveries)
Ive tried writing code that reads tables VBUP,LIPS, VBAK,VBAP for its status. However these reads are very heavy on the system and throw up "SYSTEM_IMODE_TOO_LARGE" dumps. Our systems are really strapped for memory space :).