I_MaintenancePlanCycle

DDL: I_MAINTENANCEPLANCYCLE SQL: IMAINTPLANCYCLE Type: view BASIC

Maintenance Plan Cycle

I_MaintenancePlanCycle is a Basic CDS View that provides data about "Maintenance Plan Cycle" in SAP S/4HANA. It reads from 1 data source (mmpt) and exposes 17 fields with key fields MaintenancePlan, MaintenancePlanCycle. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
mmpt mmpt from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_MaintenancePlanBasic _MaintenancePlan _MaintenancePlan.MaintenancePlan = $projection.MaintenancePlan
[0..1] I_MeasuringPoint _MeasuringPoint _MeasuringPoint.MeasuringPoint = $projection.MeasuringPoint
[0..1] I_UnitOfMeasure _UnitOfMeasure _UnitOfMeasure.UnitOfMeasure = $projection.MaintPlanCycRcrrcIntervalUnit
[0..1] I_Language _Language _Language.Language = $projection.Language

Annotations (11)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName IMAINTPLANCYCLE view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Maintenance Plan Cycle view
ObjectModel.representativeKey MaintenancePlanCycle view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view
AbapCatalog.preserveKey true view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY MaintenancePlan mmpt warpl MaintenancePlan
KEY MaintenancePlanCycle mmpt nummer Counter
ComparisonOperator mmpt operator Type of OPTION component in row type of a Ranges type
MaintPlanCycRcrrcIntervalQty mmpt zykl1 Package cycle
MaintPlanCycRcrrcIntervalUnit mmpt zeieh Unit
MaintPlanCycleDesc mmpt pak_text Cycle text
Language mmpt langu Primary lang.
MeasuringPoint mmpt point Measuring point
MaintPlanCycleStartOffsetValue mmpt offset TimeOffset
MaintCycleNextPlndCntrRdng mmpt nzaeh TL counter
MaintenancePlanCycleIsInactive mmpt inaktiv Record inactive
CycleSetSequence mmpt cycleseqind Cycle Set Seq.
CycleSetSequenceRepeatFactor mmpt setrepeatind RepFactor Set
_MaintenancePlan _MaintenancePlan
_MeasuringPoint _MeasuringPoint
_Language _Language
_UnitOfMeasure _UnitOfMeasure

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_MaintenancePlanCycle.
-- 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: IMAINTPLANCYCLE

CREATE VIEW I_MaintenancePlanCycle AS
SELECT
  mmpt.warpl AS MaintenancePlan,
  mmpt.nummer AS MaintenancePlanCycle,
  mmpt.operator AS ComparisonOperator,
  mmpt.zykl1 AS MaintPlanCycRcrrcIntervalQty,
  mmpt.zeieh AS MaintPlanCycRcrrcIntervalUnit,
  mmpt.pak_text AS MaintPlanCycleDesc,
  mmpt.langu AS Language,
  mmpt.point AS MeasuringPoint,
  mmpt.offset AS MaintPlanCycleStartOffsetValue,
  mmpt.nzaeh AS MaintCycleNextPlndCntrRdng,
  mmpt.inaktiv AS MaintenancePlanCycleIsInactive,
  mmpt.cycleseqind AS CycleSetSequence,
  mmpt.setrepeatind AS CycleSetSequenceRepeatFactor
FROM mmpt
LEFT OUTER JOIN I_MaintenancePlanBasic AS _MaintenancePlan ON _MaintenancePlan.MaintenancePlan = MaintenancePlan  -- association [1..1]
LEFT OUTER JOIN I_MeasuringPoint AS _MeasuringPoint ON _MeasuringPoint.MeasuringPoint = MeasuringPoint  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON _UnitOfMeasure.UnitOfMeasure = MaintPlanCycRcrrcIntervalUnit  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON _Language.Language = Language  -- association [0..1]
;