C_ProdPlantMRPPlanningCycleVH

DDL: C_PRODPLANTMRPPLANNINGCYCLEVH Type: view CONSUMPTION

MRP Planning Cycle

C_ProdPlantMRPPlanningCycleVH is a Consumption CDS View that provides data about "MRP Planning Cycle" in SAP S/4HANA. It reads from 1 data source (P_ProdPlantMRPPlanningCycle) and exposes 8 fields with key fields MRPPlant, MRPPlanningCalendar. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_ProdPlantMRPPlanningCycle P_ProdPlantMRPPlanningCycle from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_Plant _Plant $projection.MRPPlant = _Plant.Plant
[0..*] I_MRPPlanningPeriodText _Text $projection.MRPPlant = _Text.MRPPlant and $projection.MRPPlanningCalendar = _Text.MRPPlanningCalendar

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CPLANTMRPPLNGCYC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label MRP Planning Cycle view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #CONSUMPTION view
Consumption.ranked true view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY MRPPlant MRPPlant Plant
KEY MRPPlanningCalendar MRPPlanningCalendar Planning cal.
MRPPlanningCalendarCalcRule MRPPlanningCalendarCalcRule
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
CreationDate CreationDate Time Stamp
_Plant _Plant
_Text _Text

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_ProdPlantMRPPlanningCycleVH.
-- 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 C_ProdPlantMRPPlanningCycleVH AS
SELECT
  MRPPlant,
  MRPPlanningCalendar,
  MRPPlanningCalendarCalcRule,
  ValidityStartDate,
  ValidityEndDate,
  CreationDate
FROM P_ProdPlantMRPPlanningCycle
LEFT OUTER JOIN I_Plant AS _Plant ON MRPPlant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_MRPPlanningPeriodText AS _Text ON MRPPlant = _Text.MRPPlant AND MRPPlanningCalendar = _Text.MRPPlanningCalendar  -- association [0..*]
;