Regarding batch Number dispatch status
I have to make report in which i have to check whether which (Raw Material) batch is dispatched or not? i.e. Suppose i am having to batches of raw material say A having 10 tons and B having 15 tons which makes a HALB item for 20 tons (A -> 5 and B -> 15). but when that batch out of which 10 tons batch is dispatched and 10 is left ,how should i come to know about it whether which batch quantity (10) is taken during dispatch.
Plzzz proivde me guidelines which tcodes n tables should be used used for it ?