I_MaterialLedgerPrice
Material Ledger Price
I_MaterialLedgerPrice is a Basic CDS View that provides data about "Material Ledger Price" in SAP S/4HANA. It reads from 1 data source (P_MaterialLedgerPrice) and exposes 44 fields with key fields CostEstimate, Ledger, CurrencyRole, MaterialPriceType, MaterialPriceSubtype. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_MaterialLedgerPrice | P_MaterialLedgerPrice | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | 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 |
| [1..1] | I_Ledger | _Ledger | $projection.Ledger = _Ledger.Ledger |
| [1..1] | I_CurrencyRole | _CurrencyRole | $projection.CurrencyRole = _CurrencyRole.CurrencyRole |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMLPRICE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Material Ledger Price | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (44)
| 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 | Price Sub-Type | |
| KEY | MaterialPriceValidityStartDate | MaterialPriceValidityStartDate | Validity Start Date | |
| MaterialPriceValidityEndDate | MaterialPriceValidityEndDate | Validity End Date | ||
| MatlPrcValdtyStrtFsclYearPerd | MatlPrcValdtyStrtFsclYearPerd | |||
| MatlPrcValidityStartFiscalYear | MatlPrcValidityStartFiscalYear | From Year | ||
| MatlPrcValdtyStartFiscalPeriod | MatlPrcValdtyStartFiscalPeriod | Period Start | ||
| MatlPrcValdtyEndFsclYearPeriod | MatlPrcValdtyEndFsclYearPeriod | |||
| MatlPrcValidityEndFiscalYear | MatlPrcValidityEndFiscalYear | To FY | ||
| MatlPrcValdtyEndFiscalPeriod | MatlPrcValdtyEndFiscalPeriod | To Period | ||
| MaterialPrice | MaterialPrice | Inventory Price | ||
| FixedPortionOfMaterialPrice | FixedPortionOfMaterialPrice | Price Fixed Portion | ||
| Currency | Currency | Valuation Crcy | ||
| MaterialPriceUnitQty | MaterialPriceUnitQty | Price unit | ||
| ValuationQuantityUnit | ValuationQuantityUnit | Valuation Unit | ||
| MaterialPriceControl | MaterialPriceControl | Price Control | ||
| CurPlanProjSlsOrdValnStrategy | CurPlanProjSlsOrdValnStrategy | Curr. Valn Strat. | ||
| MaterialPriceCostEstimateStage | MaterialPriceCostEstimateStage | Stage | ||
| Material | Material | Vehicle Model | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| InventoryValuationType | InventoryValuationType | Valuation Type | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| InvtryValnSpecialStockType | InvtryValnSpecialStockType | Special Stock | ||
| SalesOrder | SalesOrder | SD Document | ||
| SalesOrderItem | SalesOrderItem | Sales Order Item | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| Supplier | Supplier | Supplier | ||
| StkMaterialPriceValuationType | StkMaterialPriceValuationType | Type of Val. | ||
| MaterialPriceExtRefCategory | MaterialPriceExtRefCategory | Orig Ext Ref Cat | ||
| MaterialPriceExtReference | MaterialPriceExtReference | Orig. ER Data | ||
| MaterialPriceCreatedByUser | MaterialPriceCreatedByUser | User Name | ||
| MaterialPriceChangedByUser | MaterialPriceChangedByUser | User Name | ||
| MaterialPriceCreationDateTime | MaterialPriceCreationDateTime | Variant created on | ||
| MatlPriceLastChangeDateTime | MatlPriceLastChangeDateTime | Variant Changed on | ||
| _Plant | _Plant | |||
| _Material | _Material | |||
| _Product | _Product | |||
| _WBSElementBasicData | _WBSElementBasicData | |||
| _CompanyCode | _CompanyCode | |||
| _Ledger | _Ledger | |||
| _CurrencyRole | _CurrencyRole |
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_MaterialLedgerPrice.
-- 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.
-- SQL view name: IMLPRICE
CREATE VIEW I_MaterialLedgerPrice AS
SELECT
CostEstimate,
Ledger,
CurrencyRole,
MaterialPriceType,
MaterialPriceSubtype,
MaterialPriceValidityStartDate,
MaterialPriceValidityEndDate,
MatlPrcValdtyStrtFsclYearPerd,
MatlPrcValidityStartFiscalYear,
MatlPrcValdtyStartFiscalPeriod,
MatlPrcValdtyEndFsclYearPeriod,
MatlPrcValidityEndFiscalYear,
MatlPrcValdtyEndFiscalPeriod,
MaterialPrice,
FixedPortionOfMaterialPrice,
Currency,
MaterialPriceUnitQty,
ValuationQuantityUnit,
MaterialPriceControl,
CurPlanProjSlsOrdValnStrategy,
MaterialPriceCostEstimateStage,
Material,
ValuationArea,
InventoryValuationType,
CompanyCode,
InvtryValnSpecialStockType,
SalesOrder,
SalesOrderItem,
WBSElementInternalID,
Supplier,
StkMaterialPriceValuationType,
MaterialPriceExtRefCategory,
MaterialPriceExtReference,
MaterialPriceCreatedByUser,
MaterialPriceChangedByUser,
MaterialPriceCreationDateTime,
MatlPriceLastChangeDateTime
FROM P_MaterialLedgerPrice
LEFT OUTER JOIN I_Plant AS _Plant ON ValuationArea = _Plant.ValuationArea -- association [0..*]
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_Ledger AS _Ledger ON Ledger = _Ledger.Ledger -- association [1..1]
LEFT OUTER JOIN I_CurrencyRole AS _CurrencyRole ON CurrencyRole = _CurrencyRole.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