I_MaterialLedgerPriceOverview

DDL: I_MATERIALLEDGERPRICEOVERVIEW Type: view_entity TRANSACTIONAL

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 53 fields with key fields CostEstimate, Ledger, CurrencyRole, MaterialPriceType, MaterialPriceSubtype. It has 14 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_MaterialLedgerPrice I_MaterialLedgerPrice from

Associations (14)

CardinalityTargetAliasCondition
[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] 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

Annotations (10)

NameValueLevelField
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 (53)

KeyFieldSource TableSource FieldDescription
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 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

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,
  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 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]
;