P_DACRMaterialInventory

DDL: P_DACRMATERIALINVENTORY SQL: PDACRMATLINVTRY Type: view COMPOSITE Package: ODATA_ML_ACR_DISP

DACR Beginning and Ending Inventory

P_DACRMaterialInventory is a Composite CDS View that provides data about "DACR Beginning and Ending Inventory" in SAP S/4HANA. It reads from 1 data source (P_DACRMaterialPeriodExtract) and exposes 9 fields with key fields CostEstimate, CurrencyRole, Ledger, FiscalYearPeriod, ValuationPriceCategory. Part of development package ODATA_ML_ACR_DISP.

Data Sources (1)

SourceAliasJoin Type
P_DACRMaterialPeriodExtract P_DACRMaterialPeriodExtract from

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName PDACRMATLINVTRY view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label DACR Beginning and Ending Inventory view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
Environment.sql.passValue true view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY CostEstimate CostEstimate Cost EstimateNo
KEY CurrencyRole CurrencyRole Curr./Val. Type
KEY Ledger Ledger Ledger
KEY FiscalYearPeriod FiscalYearPeriod Period/Year
KEY ValuationPriceCategory ValuationPriceCategory
MaterialPriceUnitQty MaterialPriceUnitQty Price unit
BaseUnit BaseUnit Unit of Measure
InventoryPrice InventoryPrice Price
Currency Currency Valuation Crcy

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 P_DACRMaterialInventory.
-- 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: PDACRMATLINVTRY

CREATE VIEW P_DACRMaterialInventory AS
SELECT
  CostEstimate,
  CurrencyRole,
  Ledger,
  FiscalYearPeriod,
  ValuationPriceCategory,
  MaterialPriceUnitQty,
  BaseUnit,
  InventoryPrice,
  Currency
FROM P_DACRMaterialPeriodExtract
;