I_DDHistlBufProdStkDailyData

DDL: I_DDHISTLBUFPRODSTKDAILYDATA Type: view_entity COMPOSITE Package: ODATA_PP_DD_HISTL_BUF_ANALYSIS

DD Historical Buffer Stock Daily Data

I_DDHistlBufProdStkDailyData is a Composite CDS View that provides data about "DD Historical Buffer Stock Daily Data" in SAP S/4HANA. It reads from 1 data source (I_DDHistlBufProdCalctKPI) and exposes 30 fields with key fields Product, Plant, MRPArea, ProposalStartDate. Part of development package ODATA_PP_DD_HISTL_BUF_ANALYSIS.

Data Sources (1)

SourceAliasJoin Type
I_DDHistlBufProdCalctKPI I_DDHistlBufProdCalctKPI from

Parameters (2)

NameTypeDefault
P_StartDate begda
P_EndDate endda

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label DD Historical Buffer Stock Daily Data view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY Product Product Product Sold
KEY Plant Plant Valuation Area
KEY MRPArea MRPArea MRP Area
KEY ProposalStartDate ProposalStartDate
CalendarDay CalendarDay Occur Day in a Month
CalendarWeek CalendarWeek Calendar Week
CalendarMonth CalendarMonth Calendar Month
CalendarYear CalendarYear Year
YearMonth YearMonth Year Month
YearWeek YearWeek Year and Calendar Week
NrOfTimesStkWthnLowRed NrOfTimesStkWthnLowRed
NrOfTimesStkWthnLowYellow NrOfTimesStkWthnLowYellow
NrOfTimesStkWthnGreen NrOfTimesStkWthnGreen
NrOfTimesStkWthnHighYellow NrOfTimesStkWthnHighYellow
NrOfTimesStkWthnHighRed NrOfTimesStkWthnHighRed
NrOfTimesStkAboveHighRed NrOfTimesStkAboveHighRed
MRPAvailableStockQty MRPAvailableStockQty
ProductMaxStockLevelQuantity ProductMaxStockLevelQuantity
ReorderThresholdQuantity ReorderThresholdQuantity Reorder Point
ProductSafetyStockLvlQuantity ProductSafetyStockLvlQuantity
CurrentGreenZone CurrentGreenZone
LowRedBufferLevelQuantity LowRedBufferLevelQuantity
LowYellowBufferLevelQuantity LowYellowBufferLevelQuantity
HighYellowBufferLevelQuantity HighYellowBufferLevelQuantity
HighRedBufferLevelQuantity HighRedBufferLevelQuantity
MRPType MRPType MRP Type
MRPTypeName MRPTypeName
BaseUnit BaseUnit Unit of Measure
AssignmentIsInvalid AssignmentIsInvalid
_Product _Product

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_DDHistlBufProdStkDailyData.
-- 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.
-- Parameters: P_StartDate : begda, P_EndDate : endda

CREATE VIEW I_DDHistlBufProdStkDailyData AS
SELECT
  Product,
  Plant,
  MRPArea,
  ProposalStartDate,
  CalendarDay,
  CalendarWeek,
  CalendarMonth,
  CalendarYear,
  YearMonth,
  YearWeek,
  NrOfTimesStkWthnLowRed,
  NrOfTimesStkWthnLowYellow,
  NrOfTimesStkWthnGreen,
  NrOfTimesStkWthnHighYellow,
  NrOfTimesStkWthnHighRed,
  NrOfTimesStkAboveHighRed,
  MRPAvailableStockQty,
  ProductMaxStockLevelQuantity,
  ReorderThresholdQuantity,
  ProductSafetyStockLvlQuantity,
  CurrentGreenZone,
  LowRedBufferLevelQuantity,
  LowYellowBufferLevelQuantity,
  HighYellowBufferLevelQuantity,
  HighRedBufferLevelQuantity,
  MRPType,
  MRPTypeName,
  BaseUnit,
  AssignmentIsInvalid
FROM I_DDHistlBufProdCalctKPI
;