Hi Sachin ,
Please chekc if you have checked the optimisaiton settings in following path
SPRO > Materials Management > Purchasing > Order Optimizing > Quantity Optimizing and Allowed Logistics Units of Measure > Control for Quantity Optiomizing >
here check what settings you did for the UOM
thanks
Kunal