P_DailyWeeklyMnthlyPIRHistDate

DDL: P_DAILYWEEKLYMNTHLYPIRHISTDATE Type: view_entity CONSUMPTION Package: PPH_DD_VDM_STLM

P_DailyWeeklyMnthlyPIRHistDate

P_DailyWeeklyMnthlyPIRHistDate is a Consumption CDS View that provides data about "P_DailyWeeklyMnthlyPIRHistDate" in SAP S/4HANA. It reads from 2 data sources (I_CalendarDate, P_DailyWeeklyMnthlyPIRHist) and exposes 7 fields with key fields Material, ProductionPlant, MRPArea, DeliveryDate. Part of development package PPH_DD_VDM_STLM.

Data Sources (2)

SourceAliasJoin Type
I_CalendarDate _CalendarDate left_outer
P_DailyWeeklyMnthlyPIRHist _PlndIndReqHist from

Annotations (3)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Material P_DailyWeeklyMnthlyPIRHist Material Vehicle Model
KEY ProductionPlant P_DailyWeeklyMnthlyPIRHist ProductionPlant Prod plnt
KEY MRPArea P_DailyWeeklyMnthlyPIRHist MRPArea MRP Area
KEY DeliveryDate I_CalendarDate CalendarDate Calendar Date
QuantityInBaseUnit P_DailyWeeklyMnthlyPIRHist QuantityInBaseUnit Quantity
TotalWeeklyPlndIndepRqmtQty P_DailyWeeklyMnthlyPIRHist TotalWeeklyPlndIndepRqmtQty
TotalMonthlyPlndIndepRqmtQty P_DailyWeeklyMnthlyPIRHist TotalMonthlyPlndIndepRqmtQty

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_DailyWeeklyMnthlyPIRHistDate.
-- 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.

CREATE VIEW P_DailyWeeklyMnthlyPIRHistDate AS
SELECT
  _PlndIndReqHist.Material AS Material,
  _PlndIndReqHist.ProductionPlant AS ProductionPlant,
  _PlndIndReqHist.MRPArea AS MRPArea,
  _CalendarDate.CalendarDate AS DeliveryDate,
  _PlndIndReqHist.QuantityInBaseUnit AS QuantityInBaseUnit,
  _PlndIndReqHist.TotalWeeklyPlndIndepRqmtQty AS TotalWeeklyPlndIndepRqmtQty,
  _PlndIndReqHist.TotalMonthlyPlndIndepRqmtQty AS TotalMonthlyPlndIndepRqmtQty
FROM P_DailyWeeklyMnthlyPIRHist AS _PlndIndReqHist
LEFT OUTER JOIN I_CalendarDate AS _CalendarDate ON /* join condition not captured in parsed metadata */
;