I_MaintenancePlanCycle
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)
| Source | Alias | Join Type |
|---|---|---|
| mmpt | mmpt | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA