Mukundan,
I would advice to have the decimal place upto 3 (based on the technical type of the MENGE fields like BDMNG, ERFMNG etc.).
Additionally please consult with MM experts on this topic as well.
But yes, I hope now you have understood why system was not able to calculate the quantity earlier.
Best Regards,
Rajen