I_MLPrcWthUnivCompBreakdown
Material Ledger Price with Break Down ID
I_MLPrcWthUnivCompBreakdown is a Composite CDS View that provides data about "Material Ledger Price with Break Down ID" in SAP S/4HANA. It reads from 1 data source (I_MaterialLedgerPrice) and exposes 56 fields with key fields CostEstimate, Ledger, CurrencyRole, MaterialPriceType, MaterialPriceSubtype. It has 14 associations to related views. Part of development package ODATA_ML_MNTRMATLPRICES.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaterialLedgerPrice | I_MaterialLedgerPrice | from |
Associations (14)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Plant | _Plant | $projection.ValuationArea = _Plant.ValuationArea |
| [1..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [1..1] | I_Product | _Product | $projection.Material = _Product.Product |
| [0..1] | I_WBSElementBasicData | _WBSElementBasicData | $projection.WBSElementInternalID = _WBSElementBasicData.WBSElementInternalID |
| [1..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_MaterialPriceControl | _MaterialPriceControl | $projection.MaterialPriceControl = _MaterialPriceControl.MaterialPriceControl |
| [1..1] | I_Ledger | _Ledger | $projection.Ledger = _Ledger.Ledger |
| [1..1] | I_MaterialLedgerPriceType | _PriceType | $projection.MaterialPriceType = _PriceType.MaterialPriceType |
| [0..1] | I_InvtryValnSpecialStockType | _InvtryValnSpecialStockType | $projection.InvtryValnSpecialStockType = _InvtryValnSpecialStockType.InvtryValnSpecialStockType |
| [0..1] | I_MatlPriceCostEstimateStage | _MatlPriceCostEstimateStage | $projection.MaterialPriceCostEstimateStage = _MatlPriceCostEstimateStage.MaterialPriceCostEstimateStage |
| [0..1] | I_StkMatlPriceValuationType | _StkMatlPriceValuationType | $projection.StkMaterialPriceValuationType = _StkMatlPriceValuationType.StkMaterialPriceValuationType |
| [0..1] | I_SlsOrdProjValnStrategyStdVH | _SlsOrdProjValnStrategy | $projection.CurPlanProjSlsOrdValnStrategy = _SlsOrdProjValnStrategy.SlsOrdProjValnStrategy |
| [0..1] | R_MatlLedgerValnCrcyRole | _CurrencyRoleMapping | $projection.CurrencyRole = _CurrencyRoleMapping.CurrencyRole and $projection.CompanyCode = _CurrencyRoleMapping.CompanyCode and $projection.Ledger = _CurrencyRoleMapping.Ledger |
| [1..1] | I_MatlLedgerValnCrcyRoleName | _Curtp | $projection.CompanyCode = _Curtp.CompanyCode and $projection.Ledger = _Curtp.Ledger and $projection.CurrencyRole = _Curtp.CurrencyRole |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Material Ledger Price with Break Down ID | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (56)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CostEstimate | CostEstimate | Cost EstimateNo | |
| KEY | Ledger | Ledger | Ledger | |
| KEY | CurrencyRole | CurrencyRole | Curr./Val. Type | |
| KEY | MaterialPriceType | MaterialPriceType | Price Type | |
| KEY | MaterialPriceSubtype | MaterialPriceSubtype | ||
| KEY | MaterialPriceValidityEndDate | |||
| MatlPrcValdtyStrtFsclYearPerd | ||||
| MatlPrcValdtyEndFsclYearPeriod | ||||
| MatlPrcValidityStartFiscalYear | MatlPrcValidityStartFiscalYear | |||
| MatlPrcValdtyStartFiscalPeriod | MatlPrcValdtyStartFiscalPeriod | |||
| MatlPrcValidityEndFiscalYear | MatlPrcValidityEndFiscalYear | |||
| MatlPrcValdtyEndFiscalPeriod | MatlPrcValdtyEndFiscalPeriod | |||
| ComponentBreakdown | ComponentBreakdown | |||
| MaterialPrice | MaterialPrice | Inventory Price | ||
| FixedPortionOfMaterialPrice | FixedPortionOfMaterialPrice | |||
| Currency | Currency | Valuation Crcy | ||
| MaterialPriceUnitQty | MaterialPriceUnitQty | Price unit | ||
| ValuationQuantityUnit | ||||
| MaterialPriceControl | MaterialPriceControl | Price Control | ||
| CurPlanProjSlsOrdValnStrategy | CurPlanProjSlsOrdValnStrategy | |||
| MaterialPriceCostEstimateStage | MaterialPriceCostEstimateStage | |||
| Material | Material | Vehicle Model | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| InventoryValuationType | InventoryValuationType | Valuation Type | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| InvtryValnSpecialStockType | InvtryValnSpecialStockType | |||
| SalesOrder | SalesOrder | SD Document | ||
| SalesOrderItem | SalesOrderItem | Sales Order Item | ||
| WBSElementInternalID | WBS Internal ID | |||
| ValidOnDate | ||||
| Supplier | Supplier | Supplier | ||
| StkMaterialPriceValuationType | StkMaterialPriceValuationType | |||
| MaterialPriceExtRefCategory | MaterialPriceExtRefCategory | |||
| MaterialPriceExtReference | MaterialPriceExtReference | |||
| MaterialPriceCreatedByUser | MaterialPriceCreatedByUser | |||
| MaterialPriceChangedByUser | MaterialPriceChangedByUser | User Name | ||
| MaterialPriceCreationDateTime | MaterialPriceCreationDateTime | |||
| MatlPriceLastChangeDateTime | MatlPriceLastChangeDateTime | |||
| SlsOrdProjValnStrgyName | _SlsOrdProjValnStrategy | SlsOrdProjValnStrgyName | ||
| LegalCurrencyRoleName | _CurrencyRoleMapping | LegalCurrencyRoleName | ||
| LegalCurrencyRole | _CurrencyRoleMapping | LegalCurrencyRole | ||
| AccountingValuationViewName | _CurrencyRoleMapping | AccountingValuationViewName | ||
| AccountingValuationView | _CurrencyRoleMapping | AccountingValuationView | ||
| _Plant | _Plant | |||
| _Material | _Material | |||
| _PriceType | _PriceType | |||
| _Product | _Product | |||
| _WBSElementBasicData | _WBSElementBasicData | |||
| _MaterialPriceControl | _MaterialPriceControl | |||
| _CompanyCode | _CompanyCode | |||
| _Ledger | _Ledger | |||
| _InvtryValnSpecialStockType | _InvtryValnSpecialStockType | |||
| _MatlPriceCostEstimateStage | _MatlPriceCostEstimateStage | |||
| _StkMatlPriceValuationType | _StkMatlPriceValuationType | |||
| _CurrencyRoleMapping | _CurrencyRoleMapping | |||
| _SlsOrdProjValnStrategy | _SlsOrdProjValnStrategy |
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_MLPrcWthUnivCompBreakdown.
-- 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_MLPrcWthUnivCompBreakdown AS
SELECT
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,
cast(MatlPrcValdtyEndFsclYearPeriod as fml_to_period_year preserving type) AS MatlPrcValdtyEndFsclYearPeriod,
MatlPrcValidityStartFiscalYear,
MatlPrcValdtyStartFiscalPeriod,
MatlPrcValidityEndFiscalYear,
MatlPrcValdtyEndFiscalPeriod,
ComponentBreakdown,
MaterialPrice,
FixedPortionOfMaterialPrice,
Currency,
MaterialPriceUnitQty,
cast( ValuationQuantityUnit as fml_valuation_unit_of_measure preserving type ) AS ValuationQuantityUnit,
MaterialPriceControl,
CurPlanProjSlsOrdValnStrategy,
MaterialPriceCostEstimateStage,
Material,
ValuationArea,
InventoryValuationType,
CompanyCode,
InvtryValnSpecialStockType,
SalesOrder,
SalesOrderItem,
cast(WBSElementInternalID as ps_s4_pspnr) AS WBSElementInternalID,
cast('00010101' as fml_date_valid_on) AS ValidOnDate,
Supplier,
StkMaterialPriceValuationType,
MaterialPriceExtRefCategory,
MaterialPriceExtReference,
MaterialPriceCreatedByUser,
MaterialPriceChangedByUser,
MaterialPriceCreationDateTime,
MatlPriceLastChangeDateTime,
_SlsOrdProjValnStrategy.SlsOrdProjValnStrgyName AS SlsOrdProjValnStrgyName,
_CurrencyRoleMapping.LegalCurrencyRoleName AS LegalCurrencyRoleName,
_CurrencyRoleMapping.LegalCurrencyRole AS LegalCurrencyRole,
_CurrencyRoleMapping.AccountingValuationViewName AS AccountingValuationViewName,
_CurrencyRoleMapping.AccountingValuationView AS AccountingValuationView
FROM I_MaterialLedgerPrice
LEFT OUTER JOIN I_Plant AS _Plant ON ValuationArea = _Plant.ValuationArea -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material -- association [1..1]
LEFT OUTER JOIN I_Product AS _Product ON Material = _Product.Product -- association [1..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElementBasicData ON WBSElementInternalID = _WBSElementBasicData.WBSElementInternalID -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_MaterialPriceControl AS _MaterialPriceControl ON MaterialPriceControl = _MaterialPriceControl.MaterialPriceControl -- association [0..1]
LEFT OUTER JOIN I_Ledger AS _Ledger ON Ledger = _Ledger.Ledger -- association [1..1]
LEFT OUTER JOIN I_MaterialLedgerPriceType AS _PriceType ON MaterialPriceType = _PriceType.MaterialPriceType -- association [1..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_StkMatlPriceValuationType AS _StkMatlPriceValuationType ON StkMaterialPriceValuationType = _StkMatlPriceValuationType.StkMaterialPriceValuationType -- association [0..1]
LEFT OUTER JOIN I_SlsOrdProjValnStrategyStdVH AS _SlsOrdProjValnStrategy ON CurPlanProjSlsOrdValnStrategy = _SlsOrdProjValnStrategy.SlsOrdProjValnStrategy -- association [0..1]
LEFT OUTER JOIN R_MatlLedgerValnCrcyRole AS _CurrencyRoleMapping ON CurrencyRole = _CurrencyRoleMapping.CurrencyRole AND CompanyCode = _CurrencyRoleMapping.CompanyCode AND Ledger = _CurrencyRoleMapping.Ledger -- association [0..1]
LEFT OUTER JOIN I_MatlLedgerValnCrcyRoleName AS _Curtp ON CompanyCode = _Curtp.CompanyCode AND Ledger = _Curtp.Ledger AND CurrencyRole = _Curtp.CurrencyRole -- association [1..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