I_MaterialLedgerPriceOverview
Material Price Change
I_MaterialLedgerPriceOverview is a Transactional CDS View that provides data about "Material Price Change" in SAP S/4HANA. It reads from 1 data source (I_MaterialLedgerPrice) and exposes 55 fields with key fields CostEstimate, Ledger, CurrencyRole, MaterialPriceType, MaterialPriceSubtype. It has 16 associations to related views. Part of development package ODATA_ML_CHANGEMATERIALPRICES.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaterialLedgerPrice | I_MaterialLedgerPrice | from |
Associations (16)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Plant | _Plant | $projection.ValuationArea = _Plant.Plant |
| [1..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [1..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [1..1] | I_Ledger | _Ledger | $projection.Ledger = _Ledger.Ledger |
| [0..1] | I_CurrencyRole | _CurrencyRole | $projection.CurrencyRole = _CurrencyRole.CurrencyRole |
| [0..1] | I_UserContactCard | _CreatedBy | $projection.MaterialPriceCreatedByUser = _CreatedBy.ContactCardID |
| [0..1] | I_UserContactCard | _ChangedBy | $projection.MaterialPriceChangedByUser = _ChangedBy.ContactCardID |
| [0..1] | I_WBSElementBasicData | _WBSElementBasicData | $projection.WBSElementInternalID = _WBSElementBasicData.WBSElementInternalID |
| [0..1] | I_InvtryValnSpecialStockType | _InvtryValnSpecialStockType | $projection.InvtryValnSpecialStockType = _InvtryValnSpecialStockType.InvtryValnSpecialStockType |
| [0..1] | I_MatlPriceCostEstimateStage | _MatlPriceCostEstimateStage | $projection.MaterialPriceCostEstimateStage = _MatlPriceCostEstimateStage.MaterialPriceCostEstimateStage |
| [0..1] | I_MaterialPriceControl | _MaterialPriceControl | $projection.MaterialPriceControl = _MaterialPriceControl.MaterialPriceControl |
| [0..1] | I_StkMatlPriceValuationType | _StkMatlPriceValuationType | $projection.StkMaterialPriceValuationType = _StkMatlPriceValuationType.StkMaterialPriceValuationType |
| [0..1] | I_SlsOrdProjValuationStrategy | _SlsOrdProjValuationStrategy | $projection.CurPlanProjSlsOrdValnStrategy = _SlsOrdProjValuationStrategy.SlsOrdProjValnStrategy |
| [0..1] | R_MatlLedgerValnCrcyRole | _LedgerValuationCrcyRole | $projection.CurrencyRole = _LedgerValuationCrcyRole.CurrencyRole and $projection.Ledger = _LedgerValuationCrcyRole.Ledger and $projection.CompanyCode = _LedgerValuationCrcyRole.CompanyCode |
| [1..1] | I_MaterialLedgerPriceType | _PriceType | $projection.MaterialPriceType = _PriceType.MaterialPriceType |
| [0..1] | I_SalesDocumentItem | _SalesDocumentItem | $projection.SalesOrder = _SalesDocumentItem.SalesDocument and $projection.SalesOrderItem = _SalesDocumentItem.SalesDocumentItem |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.sapObjectNodeType.name | InventoryPriceChange | view | |
| EndUserText.label | Material Price Change | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (55)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CostEstimate | Cost EstimateNo | ||
| KEY | Ledger | Ledger | Ledger | |
| KEY | CurrencyRole | CurrencyRole | Curr./Val. Type | |
| KEY | MaterialPriceType | MaterialPriceType | Price Type | |
| KEY | MaterialPriceSubtype | MaterialPriceSubtype | ||
| MaterialPriceValidityEndDate | ||||
| MatlPrcValdtyStrtFsclYearPerd | ||||
| MatlPrcValidityStartFiscalYear | MatlPrcValidityStartFiscalYear | |||
| MatlPrcValdtyStartFiscalPeriod | MatlPrcValdtyStartFiscalPeriod | |||
| MatlPrcValdtyEndFsclYearPeriod | ||||
| MatlPrcValidityEndFiscalYear | MatlPrcValidityEndFiscalYear | |||
| MatlPrcValdtyEndFiscalPeriod | MatlPrcValdtyEndFiscalPeriod | |||
| MaterialPrice | MaterialPrice | Inventory Price | ||
| Currency | Currency | Valuation Crcy | ||
| MaterialPriceUnitQty | Price unit | |||
| ValuationQuantityUnit | ||||
| MaterialPriceControl | Price Control | |||
| FixedPortionOfMaterialPrice | FixedPortionOfMaterialPrice | |||
| CurPlanProjSlsOrdValnStrategy | ||||
| MaterialPriceCostEstimateStage | MaterialPriceCostEstimateStage | |||
| Material | Material | Vehicle Model | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| Plant | Valuation Area | |||
| InventoryValuationType | Valuation Type | |||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| InvtryValnSpecialStockType | InvtryValnSpecialStockType | |||
| SalesOrder | SD Document | |||
| SalesOrderItem | Sales Order Item | |||
| WBSElementInternalID | WBS Internal ID | |||
| Supplier | Supplier | |||
| StkMaterialPriceValuationType | StkMaterialPriceValuationType | |||
| MaterialPriceExtRefCategory | MaterialPriceExtRefCategory | |||
| MaterialPriceExtReference | MaterialPriceExtReference | |||
| MaterialPriceCreatedByUser | MaterialPriceCreatedByUser | |||
| MaterialPriceChangedByUser | MaterialPriceChangedByUser | User Name | ||
| MaterialPriceCreationDateTime | ||||
| MatlPriceLastChangeDateTime | ||||
| AcctgValnVwSubviewCombinedName | ||||
| UI5NetworkGraphGroup | ||||
| _Plant | _Plant | |||
| _Material | _Material | |||
| _CompanyCode | _CompanyCode | |||
| _Ledger | _Ledger | |||
| _CurrencyRole | _CurrencyRole | |||
| _LedgerValuationCrcyRole | _LedgerValuationCrcyRole | |||
| _CreatedBy | _CreatedBy | |||
| _ChangedBy | _ChangedBy | |||
| _WBSElementBasicData | _WBSElementBasicData | |||
| _MaterialPriceControl | _MaterialPriceControl | |||
| _InvtryValnSpecialStockType | _InvtryValnSpecialStockType | |||
| _MatlPriceCostEstimateStage | _MatlPriceCostEstimateStage | |||
| _StkMatlPriceValuationType | _StkMatlPriceValuationType | |||
| _PriceType | _PriceType | |||
| _SalesDocumentItem | _SalesDocumentItem | |||
| _SlsOrdProjValuationStrategy | _SlsOrdProjValuationStrategy |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_MaterialLedgerPriceOverview.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW I_MaterialLedgerPriceOverview AS
SELECT
cast(CostEstimate as fml_chmp_cost_estimate_number preserving type ) AS CostEstimate,
Ledger,
CurrencyRole,
MaterialPriceType,
MaterialPriceSubtype,
cast(MaterialPriceValidityEndDate as fml_date_to preserving type ) AS MaterialPriceValidityEndDate,
cast( MatlPrcValdtyStrtFsclYearPerd as fml_from_period_year preserving type ) AS MatlPrcValdtyStrtFsclYearPerd,
MatlPrcValidityStartFiscalYear,
MatlPrcValdtyStartFiscalPeriod,
cast( MatlPrcValdtyEndFsclYearPeriod as fml_to_period_year preserving type ) AS MatlPrcValdtyEndFsclYearPeriod,
MatlPrcValidityEndFiscalYear,
MatlPrcValdtyEndFiscalPeriod,
MaterialPrice,
Currency,
cast(MaterialPriceUnitQty as fml_mpchd_price_unit preserving type ) AS MaterialPriceUnitQty,
cast( ValuationQuantityUnit as fml_valuation_unit_of_measure preserving type ) AS ValuationQuantityUnit,
cast(MaterialPriceControl as fml_mpchd_price_control preserving type ) AS MaterialPriceControl,
FixedPortionOfMaterialPrice,
cast(CurPlanProjSlsOrdValnStrategy as fml_chmp_lbwst preserving type ) AS CurPlanProjSlsOrdValnStrategy,
MaterialPriceCostEstimateStage,
Material,
ValuationArea,
cast(ValuationArea as werks_d preserving type ) AS Plant,
cast(InventoryValuationType as fml_mpchd_valuation_type preserving type ) AS InventoryValuationType,
CompanyCode,
InvtryValnSpecialStockType,
cast(SalesOrder as vbeln preserving type ) AS SalesOrder,
cast(SalesOrderItem as posnr preserving type ) AS SalesOrderItem,
cast(WBSElementInternalID as ps_s4_pspnr preserving type ) AS WBSElementInternalID,
cast(Supplier as lifnr preserving type ) AS Supplier,
StkMaterialPriceValuationType,
MaterialPriceExtRefCategory,
MaterialPriceExtReference,
MaterialPriceCreatedByUser,
MaterialPriceChangedByUser,
cast(MaterialPriceCreationDateTime as fml_chmp_created_on preserving type ) AS MaterialPriceCreationDateTime,
cast(MatlPriceLastChangeDateTime as fml_chmp_changed_on preserving type ) AS MatlPriceLastChangeDateTime,
cast(_LedgerValuationCrcyRole.AcctgValnVwSubviewCombinedName as fml_umip_valuviewname preserving type ) AS AcctgValnVwSubviewCombinedName,
cast('' as fac_network_graph_group_id) AS UI5NetworkGraphGroup
FROM I_MaterialLedgerPrice
LEFT OUTER JOIN I_Plant AS _Plant ON ValuationArea = _Plant.Plant -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_Ledger AS _Ledger ON Ledger = _Ledger.Ledger -- association [1..1]
LEFT OUTER JOIN I_CurrencyRole AS _CurrencyRole ON CurrencyRole = _CurrencyRole.CurrencyRole -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _CreatedBy ON MaterialPriceCreatedByUser = _CreatedBy.ContactCardID -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _ChangedBy ON MaterialPriceChangedByUser = _ChangedBy.ContactCardID -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElementBasicData ON WBSElementInternalID = _WBSElementBasicData.WBSElementInternalID -- association [0..1]
LEFT OUTER JOIN I_InvtryValnSpecialStockType AS _InvtryValnSpecialStockType ON InvtryValnSpecialStockType = _InvtryValnSpecialStockType.InvtryValnSpecialStockType -- association [0..1]
LEFT OUTER JOIN I_MatlPriceCostEstimateStage AS _MatlPriceCostEstimateStage ON MaterialPriceCostEstimateStage = _MatlPriceCostEstimateStage.MaterialPriceCostEstimateStage -- association [0..1]
LEFT OUTER JOIN I_MaterialPriceControl AS _MaterialPriceControl ON MaterialPriceControl = _MaterialPriceControl.MaterialPriceControl -- association [0..1]
LEFT OUTER JOIN I_StkMatlPriceValuationType AS _StkMatlPriceValuationType ON StkMaterialPriceValuationType = _StkMatlPriceValuationType.StkMaterialPriceValuationType -- association [0..1]
LEFT OUTER JOIN I_SlsOrdProjValuationStrategy AS _SlsOrdProjValuationStrategy ON CurPlanProjSlsOrdValnStrategy = _SlsOrdProjValuationStrategy.SlsOrdProjValnStrategy -- association [0..1]
LEFT OUTER JOIN R_MatlLedgerValnCrcyRole AS _LedgerValuationCrcyRole ON CurrencyRole = _LedgerValuationCrcyRole.CurrencyRole AND Ledger = _LedgerValuationCrcyRole.Ledger AND CompanyCode = _LedgerValuationCrcyRole.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_MaterialLedgerPriceType AS _PriceType ON MaterialPriceType = _PriceType.MaterialPriceType -- association [1..1]
LEFT OUTER JOIN I_SalesDocumentItem AS _SalesDocumentItem ON SalesOrder = _SalesDocumentItem.SalesDocument AND SalesOrderItem = _SalesDocumentItem.SalesDocumentItem -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA