I_MaterialLedgerPrice

DDL: I_MATERIALLEDGERPRICE SQL: IMLPRICE Type: view BASIC

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)

SourceAliasJoin Type
P_MaterialLedgerPrice P_MaterialLedgerPrice from

Associations (7)

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

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

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