I_MLInventoryPriceRawData

DDL: I_MLINVENTORYPRICERAWDATA SQL: ICKMLCR Type: view BASIC

select relevant data from CKMLCR

I_MLInventoryPriceRawData is a Basic CDS View that provides data about "select relevant data from CKMLCR" in SAP S/4HANA. It reads from 1 data source (ckmlcr) and exposes 6 fields.

Data Sources (1)

SourceAliasJoin Type
ckmlcr cr from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName ICKMLCR view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
EndUserText.label select relevant data from CKMLCR view

Fields (6)

KeyFieldSource TableSource FieldDescription
CostEstimate ckmlcr kalnr ProdCostEst.No.
FiscalYearPeriod
MaterialPriceUnitQty
CurrencyRole curtp Valuation Area
Currency waers Transaction Currency
stprs0endasInventoryPrice

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_MLInventoryPriceRawData.
-- 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: ICKMLCR

CREATE VIEW I_MLInventoryPriceRawData AS
SELECT
  cr.kalnr AS CostEstimate,
  concat(cr.bdatj,cr.poper) AS FiscalYearPeriod,
  COALESCE(cr.peinh, 1) AS MaterialPriceUnitQty,
  curtp AS CurrencyRole,
  waers AS Currency,
  case cr.vprsv when 'S' then COALESCE(cr.stprs, 0) when 'V' then COALESCE(cr.pvprs, 0) else COALESCE(cr.stprs, 0) end as InventoryPrice AS stprs0endasInventoryPrice
FROM ckmlcr AS cr
;