C_MaintPlanCallObject
Maintenance Plan Call Objects
C_MaintPlanCallObject is a Consumption CDS View that provides data about "Maintenance Plan Call Objects" in SAP S/4HANA. It reads from 1 data source (I_MaintPlanCallObject) and exposes 56 fields with key fields MaintenancePlan, MaintenancePlanCallNumber, MaintenanceItem. It has 8 associations to related views. It is exposed through 2 OData services (UI_MAINTENANCE_PLAN, UI_MAINTENANCEITEM). It is used in 2 Fiori applications: Manage Maintenance Plans, Manage Maintenance Items. Part of development package VDM_EAM_MAINTENANCEPLAN.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaintPlanCallObject | I_MaintPlanCallObject | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_OrderType | _MaintenanceOrderType | _MaintenanceOrderType.OrderType = $projection.MaintenanceOrderType |
| [1..1] | I_PMNotificationType | _PMNotificationType | _PMNotificationType.NotificationType = $projection.NotificationType |
| [0..1] | I_ServiceDocumentType | _ServiceDocumentType | _ServiceDocumentType.ServiceDocumentType = $projection.ServiceDocumentType |
| [0..1] | I_MaintCallSchedulingType | _SchedulingType | _SchedulingType.SchedulingType = $projection.SchedulingType |
| [0..1] | C_MaintOrderQuickVw | _MaintenanceOrderQuickView | _MaintenanceOrderQuickView.MaintenanceOrder = $projection.MaintenanceOrder |
| [0..1] | C_MaintenancePlanQuickVw | _MaintenancePlanQuickVw | _MaintenancePlanQuickVw.MaintenancePlan = $projection.MaintenancePlan |
| [0..1] | C_MaintNotificationQuickVw | _MaintNotificationQuickView | _MaintNotificationQuickView.MaintenanceNotification = $projection.MaintenanceNotification |
| [0..1] | I_MaintPlanMaintCall | _MaintPlanCallHistory | _MaintPlanCallHistory.MaintenancePlan = $projection.MaintenancePlan and _MaintPlanCallHistory.MaintenancePlanCallNumber = $projection.MaintenancePlanCallNumber |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMPLANCALLOBJ | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Maintenance Plan Call Objects | view | |
| Metadata.allowExtensions | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view |
OData Services (2)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_MAINTENANCE_PLAN | UI_MAINTENANCE_PLAN | V2 | C1 | NOT_RELEASED |
| UI_MAINTENANCEITEM | UI_MAINTENANCEITEM | V2 | C1 | NOT_RELEASED |
Fiori Apps (2)
| App ID | App Name | Type | Description |
|---|---|---|---|
| F5325 | Manage Maintenance Plans | Transactional | An application to Manage Maintenance Plans, provides and comprehensive maintenance plan view including general data, scheduling information, assigned Maintenance Items, as well as review Maintenance calls, create new maintenance plan, edit existing maintenance plan. |
| F5356 | Manage Maintenance Items | Transactional | An application to Manage Maintenance Items, provides and comprehensive Maintenance Item view, create new Maintenance Item, edit existing Maintenance Item. |
Manage Maintenance Plans
Business Role: Maintenance Planner
With the Manage Maintenance Plans app, you as a maintenance planner can view, create, change, schedule, activate, and delete maintenance plans.
Manage Maintenance Items
Business Role: Maintenance Planner
With the Manage Maintenance Items app, you as a maintenance planner can manage maintenance items. You can create maintenance items, decide how to evaluate final due date for a maintenance item, assign maintenance item to a maintenance plan, view details of a maintenance item, view status of an equipment or a functional location within a maintenance item, and so on.
Fields (56)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenancePlan | MaintenancePlan | MaintenancePlan | |
| KEY | MaintenancePlanCallNumber | MaintenancePlanCallNumber | Maintenance Plan Call Number | |
| KEY | MaintenanceItem | MaintenanceItem | MaintItem | |
| MaintenanceItemDescription | _MaintenanceItem | MaintenanceItemDescription | MaintItem text | |
| MaintenancePlanDesc | _MaintenancePlan | MaintenancePlanDesc | ||
| MaintenanceOrder | MaintenanceOrder | Order | ||
| MaintenanceOrderDesc | _MaintenanceOrder | MaintenanceOrderDesc | Description | |
| MaintenanceOrderType | _MaintenanceOrder | MaintenanceOrderType | Order Type | |
| OrderTypeName | ||||
| MaintOrdBasicStartDate | _MaintenanceOrder | MaintOrdBasicStartDate | Basic Start Date | |
| MaintOrdBasicStartTime | _MaintenanceOrder | MaintOrdBasicStartTime | Basic Start Time | |
| MaintOrdBasicEndDate | _MaintenanceOrder | MaintOrdBasicEndDate | Basic fin. date | |
| MaintOrdBasicEndTime | _MaintenanceOrder | MaintOrdBasicEndTime | ||
| ScheduledBasicStartDate | _MaintenanceOrder | ScheduledBasicStartDate | Scheduled Start Date | |
| ScheduledBasicEndDate | _MaintenanceOrder | ScheduledBasicEndDate | Scheduled End Date | |
| MaintenanceNotification | MaintenanceNotification | Notification | ||
| MaintenanceNotificationText | _MaintenanceNotification | NotificationText | Description | |
| NotificationType | _MaintenanceNotification | NotificationType | Notifictn Type | |
| NotificationTypeName | ||||
| RequiredStartDate | _MaintenanceNotification | RequiredStartDate | Required Start Date | |
| RequiredEndDate | _MaintenanceNotification | RequiredEndDate | Req. End Date | |
| MaintNotifRqdStartDateTime | Required Start Date Time | |||
| MaintNotifRqdEndDateTime | Required End Date Time | |||
| ServiceOrder | ServiceOrder | Service Order | ||
| ServiceOrderDescription | _ServiceOrder | ServiceDocumentDescription | ||
| ServiceDocumentType | _ServiceOrder | ServiceDocumentType | Service Order Type | |
| ServiceOrderTypeName | ||||
| RequestedServiceStartDateTime | _ServiceOrder | RequestedServiceStartDateTime | Service Start Date Time | |
| RequestedServiceEndDateTime | _ServiceOrder | RequestedServiceEndDateTime | ||
| SchedulingStatus | Scheduling Status | |||
| SchedulingStatusText | ||||
| PlannedStartDate | PlannedStartDate | Latest Planned Start | ||
| ReleasedByUserName | ReleasedByUserName | User Scheduling | ||
| CompletionDate | CompletionDate | Completion Date | ||
| CompletionTime | CompletionTime | Completion Time | ||
| SchedulingType | _MaintPlanCallHistory | SchedulingType | Scheduling Type | |
| SchedulingTypeName | ||||
| MaintCallIsInvokedOnPlndDate | _MaintPlanCallHistory | MaintCallIsInvokedOnPlndDate | ||
| MaintenanceCallIsOutstanding | _MaintPlanCallHistory | MaintenanceCallIsOutstanding | ||
| MaintPlanStatusCriticality | ||||
| MaintPriorityelseendasMaintPriority | Priority | |||
| ServiceDocumentPriority | _ServiceOrder | ServiceDocumentPriority | ||
| _MaintenancePlan | _MaintenancePlan | |||
| _MaintenanceItem | _MaintenanceItem | |||
| _MaintenanceOrder | _MaintenanceOrder | |||
| _MaintenanceNotification | _MaintenanceNotification | |||
| _MaintPlanCallHistory | _MaintPlanCallHistory | |||
| _ServiceOrder | _ServiceOrder | |||
| _ServiceDocumentType | _ServiceDocumentType | |||
| _ServiceDocumentPriority | _ServiceOrder | _ServiceDocumentPriority | ||
| _MaintenanceOrderType | _MaintenanceOrderType | |||
| _PMNotificationType | _PMNotificationType | |||
| _SchedulingType | _SchedulingType | |||
| _MaintenancePlanQuickVw | _MaintenancePlanQuickVw | |||
| _MaintenanceOrderQuickView | _MaintenanceOrderQuickView | |||
| _MaintNotificationQuickView | _MaintNotificationQuickView |
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_MaintPlanCallObject.
-- 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: CMPLANCALLOBJ
CREATE VIEW C_MaintPlanCallObject AS
SELECT
MaintenancePlan,
MaintenancePlanCallNumber,
MaintenanceItem,
_MaintenanceItem.MaintenanceItemDescription AS MaintenanceItemDescription,
_MaintenancePlan.MaintenancePlanDesc AS MaintenancePlanDesc,
MaintenanceOrder,
_MaintenanceOrder.MaintenanceOrderDesc AS MaintenanceOrderDesc,
_MaintenanceOrder.MaintenanceOrderType AS MaintenanceOrderType,
_MaintenanceItem._MaintenanceOrderType._Text[1:Language = $session.system_language ].OrderTypeName AS OrderTypeName,
_MaintenanceOrder.MaintOrdBasicStartDate AS MaintOrdBasicStartDate,
_MaintenanceOrder.MaintOrdBasicStartTime AS MaintOrdBasicStartTime,
_MaintenanceOrder.MaintOrdBasicEndDate AS MaintOrdBasicEndDate,
_MaintenanceOrder.MaintOrdBasicEndTime AS MaintOrdBasicEndTime,
_MaintenanceOrder.ScheduledBasicStartDate AS ScheduledBasicStartDate,
_MaintenanceOrder.ScheduledBasicEndDate AS ScheduledBasicEndDate,
MaintenanceNotification,
_MaintenanceNotification.NotificationText AS MaintenanceNotificationText,
_MaintenanceNotification.NotificationType AS NotificationType,
_MaintenanceItem._PMNotificationType._Text[1:Language = $session.system_language ].NotificationTypeName AS NotificationTypeName,
_MaintenanceNotification.RequiredStartDate AS RequiredStartDate,
_MaintenanceNotification.RequiredEndDate AS RequiredEndDate,
cast (dats_tims_to_tstmp( _MaintenanceNotification.RequiredStartDate, _MaintenanceNotification.RequiredStartTime, _MaintenanceNotification.NotificationTimeZone , $session.client, 'NULL') as tzntstmps preserving type ) AS MaintNotifRqdStartDateTime,
cast (dats_tims_to_tstmp( _MaintenanceNotification.RequiredEndDate, _MaintenanceNotification.RequiredEndTime, _MaintenanceNotification.NotificationTimeZone, $session.client, 'NULL') as tzntstmps preserving type ) AS MaintNotifRqdEndDateTime,
ServiceOrder,
_ServiceOrder.ServiceDocumentDescription AS ServiceOrderDescription,
_ServiceOrder.ServiceDocumentType AS ServiceDocumentType,
_ServiceOrder._ServiceDocumentType._ServiceDocumentTypeText[1:Language = $session.system_language ].ServiceDocumentTypeName AS ServiceOrderTypeName,
_ServiceOrder.RequestedServiceStartDateTime AS RequestedServiceStartDateTime,
_ServiceOrder.RequestedServiceEndDateTime AS RequestedServiceEndDateTime,
cast(SchedulingStatus as char1 preserving type ) AS SchedulingStatus,
cast ('' as abap.sstring(256) ) AS SchedulingStatusText,
PlannedStartDate,
ReleasedByUserName,
CompletionDate,
CompletionTime,
_MaintPlanCallHistory.SchedulingType AS SchedulingType,
_MaintPlanCallHistory._SchedulingType._Text[1: Language = $session.system_language ].SchedulingTypeName AS SchedulingTypeName,
_MaintPlanCallHistory.MaintCallIsInvokedOnPlndDate AS MaintCallIsInvokedOnPlndDate,
_MaintPlanCallHistory.MaintenanceCallIsOutstanding AS MaintenanceCallIsOutstanding,
cast ( 000 as int1 preserving type ) AS MaintPlanStatusCriticality,
case _MaintenanceItem.MaintenancePlanCallObject when '' then _MaintenanceOrder.MaintPriority when '2' then _MaintenanceNotification.MaintPriority else '' end as MaintPriority AS MaintPriorityelseendasMaintPriority,
_ServiceOrder.ServiceDocumentPriority AS ServiceDocumentPriority,
_ServiceOrder._ServiceDocumentPriority AS _ServiceDocumentPriority
FROM I_MaintPlanCallObject
LEFT OUTER JOIN I_OrderType AS _MaintenanceOrderType ON _MaintenanceOrderType.OrderType = MaintenanceOrderType -- association [1..1]
LEFT OUTER JOIN I_PMNotificationType AS _PMNotificationType ON _PMNotificationType.NotificationType = NotificationType -- association [1..1]
LEFT OUTER JOIN I_ServiceDocumentType AS _ServiceDocumentType ON _ServiceDocumentType.ServiceDocumentType = ServiceDocumentType -- association [0..1]
LEFT OUTER JOIN I_MaintCallSchedulingType AS _SchedulingType ON _SchedulingType.SchedulingType = SchedulingType -- association [0..1]
LEFT OUTER JOIN C_MaintOrderQuickVw AS _MaintenanceOrderQuickView ON _MaintenanceOrderQuickView.MaintenanceOrder = MaintenanceOrder -- association [0..1]
LEFT OUTER JOIN C_MaintenancePlanQuickVw AS _MaintenancePlanQuickVw ON _MaintenancePlanQuickVw.MaintenancePlan = MaintenancePlan -- association [0..1]
LEFT OUTER JOIN C_MaintNotificationQuickVw AS _MaintNotificationQuickView ON _MaintNotificationQuickView.MaintenanceNotification = MaintenanceNotification -- association [0..1]
LEFT OUTER JOIN I_MaintPlanMaintCall AS _MaintPlanCallHistory ON _MaintPlanCallHistory.MaintenancePlan = MaintenancePlan AND _MaintPlanCallHistory.MaintenancePlanCallNumber = MaintenancePlanCallNumber -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- SAP Fiori Apps Architecture — How Fiori Apps Connect to Data
- 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