Symptom
When comparing the stock value in MB52 with the CDS view I_StockQuantityCurrentValue_2, some materials show different values. Differences range from minor decimal deviations to larger discrepancies.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Go to Customer Data Browser and run CDS view I_StockQuantityCurrentValue_2.
- Set a display currency.
- Filter the material, plant, storage location, batch, and valuation settings.
- Note down the stock value.
- Use the same filter in MB52.
- The stock value displayed in MB52 is different with the value noted down in Step 4.
Cause
This is the expected system behavior. I_StockQuantityCurrentValue_2 shows "Current Value of Unrestricted", whereas MB52 shows "Value of Unrestricted". The value can differ due to averaging and rounding.
Resolution
I_StockQuantityCurrentValue_2 shows "Current Value of Unrestricted" which is calculated via current unit price x current quantity. MB52 shows "Value of Unrestricted" derived from posted historical movements. The two values represent different concepts and the discrepancy is by design. The difference can also be checked in the App Stock - Multiple Materials by displaying both key figures for the same selection: "Current Value of Unrestricted" (matches the CDS view) and "Value of Unrestricted" (matches MB52).
Keywords
MB52, I_StockQuantityCurrentValue_2, Stock - Multiple Materials, current value of unrestricted, value of unrestricted, inventory valuation, CDS view, stock value mismatch, rounding differences , KBA , MM-IM-VDM-SGM-2CL , VDM Stock and Goods Movements (Public Cloud) , Problem
SAP Knowledge Base Article - Public