Symptom
- CDS view I_INVENTORYPRICEBYKEYDATE shows unexpected inventory price behavior.
- Even when a past key date is provided, the system is picking the current inventory value.
- This issue is observed only for some materials, not all.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Access the SAP S/4HANA Cloud Public Edition system.
- Navigate to the I_INVENTORYPRICEBYKEYDATE CDS view.
- Specify a past key date for a material.
- Observe that the system displays the current inventory price instead of the expected inventory price for the specified key date.
Cause
Resolution
This should be standard behavior as explained in I_InventoryPriceByKeyDate
This CDS view provides the inventory price determined for all materials at the end of a fiscal period related to the key date.
If the end of the fiscal period has not been reached yet, the CDS view specifies the price determined for the current date.
See Also
- Refer to: I_InventoryPriceByKeyDate CDS View Documentation
- Refer to: SAP Note 3072643
Keywords
inventory price, I_INVENTORYPRICEBYKEYDATE, CDS view, SAP S/4HANA Cloud Public Edition, key date, unexpected behavior, current inventory value, past key date, material subledger, fiscal period, inventory accounting , KBA , CO-PC-ML-2CL , Material Subledger (Public Cloud) , Problem
SAP Knowledge Base Article - Public