I have created a report for planned independent requirements (PIRs) using table PBIM and PBED. To get the actual PIR planning quantity, I can take planned quantity and subtract the withdrawl quantity PBED-ENTMG. The remaining quantity is still not correct because it is not considering what has been CONSUMED (assigned) to sales orders.
I'm using consumption indicator "1" which should consume forecast by customer requirements. I do not see a field for consumed quantity in PBED table. Where can I find this value or what is the function module used to display remaining quantity in MD04? MD73 is also using some calculation for consumed (assigned) quantity, where is this calculation done?