Deprecated
This CDS view is deprecated in S/4HANA. View all deprecated CDS views →

C_ProdValnMatlLdgrCurPerd

DDL: C_PRODVALNMATLLDGRCURPERD SQL: CPRODVALNCUR Type: view CONSUMPTION

Consumption - Material Ledger Current Period

C_ProdValnMatlLdgrCurPerd is a Consumption CDS View that provides data about "Consumption - Material Ledger Current Period" in SAP S/4HANA. It reads from 1 data source (I_ProdValnMatlLdgrCurPerdWD) and exposes 9 fields with key fields ProdCostEstNumber, PostingFiscalYear, LedgerFiscalPeriod, ProfitLossType, CurrencyConversionCalcType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProdValnMatlLdgrCurPerdWD MLCurPrd from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_CurrencyText _CurrencyText $projection.LedgerCurrency = _CurrencyText.Currency

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CPRODVALNCUR view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Consumption - Material Ledger Current Period view
VDM.viewType #CONSUMPTION view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
Search.searchable true view
VDM.lifecycle.status #DEPRECATED view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY ProdCostEstNumber I_ProdValnMatlLdgrCurPerdWD ProdCostEstNumber ProdCostEst.No.
KEY PostingFiscalYear I_ProdValnMatlLdgrCurPerdWD PostingFiscalYear Fiscal Year
KEY LedgerFiscalPeriod I_ProdValnMatlLdgrCurPerdWD LedgerFiscalPeriod Posting periods
KEY ProfitLossType I_ProdValnMatlLdgrCurPerdWD ProfitLossType Value Type
KEY CurrencyConversionCalcType I_ProdValnMatlLdgrCurPerdWD CurrencyConversionCalcType Valuation Area
LedgerCurrency I_ProdValnMatlLdgrCurPerdWD LedgerCurrency Transaction Currency
InventoryValuationProcedure I_ProdValnMatlLdgrCurPerdWD InventoryValuationProcedure Price Control
PriceUnitQty I_ProdValnMatlLdgrCurPerdWD PriceUnitQty Price unit
_CurrencyText _CurrencyText

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 C_ProdValnMatlLdgrCurPerd.
-- 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: CPRODVALNCUR

CREATE VIEW C_ProdValnMatlLdgrCurPerd AS
SELECT
  MLCurPrd.ProdCostEstNumber AS ProdCostEstNumber,
  MLCurPrd.PostingFiscalYear AS PostingFiscalYear,
  MLCurPrd.LedgerFiscalPeriod AS LedgerFiscalPeriod,
  MLCurPrd.ProfitLossType AS ProfitLossType,
  MLCurPrd.CurrencyConversionCalcType AS CurrencyConversionCalcType,
  MLCurPrd.LedgerCurrency AS LedgerCurrency,
  MLCurPrd.InventoryValuationProcedure AS InventoryValuationProcedure,
  MLCurPrd.PriceUnitQty AS PriceUnitQty
FROM I_ProdValnMatlLdgrCurPerdWD AS MLCurPrd
LEFT OUTER JOIN I_CurrencyText AS _CurrencyText ON LedgerCurrency = _CurrencyText.Currency  -- association [0..*]
;