Hello
You should not use MD04 to see the stock!
MD04 is an MRP transaction and the available quantity is calculated according to the MRP logic. Stock in quality, transfer, blocked or restricted may not be displayed on MD04, depending on the customizing.
Also, if you are using MRP areas or storage locations planned separately, the stock is displayed separately and there are even BAdIs to influence the available quantity on MD04.
Therefore, you should always consider that MD04 is not a suitable transaction to see the stock and you should use MMBE for such purpose.
BR
Caetano