I_MaintPlanSchedgOverviewCube
Maint Plan Scheduling Overview - Cube
I_MaintPlanSchedgOverviewCube is a Composite CDS View (Cube) that provides data about "Maint Plan Scheduling Overview - Cube" in SAP S/4HANA. It reads from 1 data source (P_MaintPlanSchedulingOverview) and exposes 93 fields with key fields MaintenancePlan, MaintenancePlanCallNumber, MaintenanceItem. Part of development package VDM_EAM_MAINTENANCEPLAN.
SAP Help Documentation
| Category | CDS Views for Maintenance Management |
|---|---|
| Data Category | CUBE |
| Status | MaintPlan Status |
Purpose
This CDS view is designed to provide a comprehensive overview of maintenance plan scheduling within an organization. It aggregates and summarizes data related to maintenance plans, items, orders, notifications, and associated attributes, enabling users to analyze and monitor the status and progress of maintenance activities. This CDS view provides the data to answer the following business questions: How many maintenance plans are currently active, inactive, scheduled, created, or marked for deletion? What are the planned start and completion dates for maintenance activities? What is the status of maintenance plan calls, such as fixed, skipped, manually called, called, completed, or on hold? Which maintenance plans are associated with specific equipment, functional locations, or work centers? How are maintenance plans distributed across different business areas, planning plants, and planner groups? What are the details of maintenance orders, notifications, and service orders linked to maintenance plans? How can maintenance activities be optimized based on cycle, strategy, and category parameters? What is the impact of maintenance activities on cost centers, controlling areas, and company codes? How do maintenance plans align with organizational divisions, sales documents, and authorization groups? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: BEGRP These restriction types are edited in the Maintain Business Roles app.
Structure
Important Fields Important fields in this view include the following: Field Name Description Measure or Attribute MAINTENANCEPLANCALLNUMBER MntPlan Call No. Measure NUMBEROFMAINTENANCEPLANCALLS No. of MPlanCalls Measure NROFMRKDFORDELTNMAINTPLANS MarkedForDeletion Measure NROFINACTIVEMAINTENANCEPLANS Inactive Measure NROFSCHEDULEDMAINTENANCEPLANS Scheduled Measure NROFCREATEDMAINTENANCEPLANS Created Measure NROFFIXEDMAINTENANCEPLANCALLS SchedulingFixed Measure NROFSKIPPEDMAINTPLANCALLS SchedulingSkipped Measure NROFMNLLYCALLEDMAINTPLNCALLS SchedgCldManually Measure NROFCALLEDMAINTENANCEPLANCALLS SchedulingCalled Measure NROFCOMPLETEDMAINTPLANCALLS SchedulingCompleted Measure NROFONHOLDMAINTENANCEPLANCALLS SchedulingOnHold Measure NROFINACTIVEMAINTPLANCALLS SchedgInactive Measure AUTHORIZATIONGROUP AuthorizGroup Attribute COSTCENTER Cost Center Attribute BUSINESSAREA Business Area Attribute ORGANIZATIONDIVISION Division Attribute SALESORGANIZATION Sales Organization Attribute DISTRIBUTIONCHANNEL Distribution Channel Attribute CONTROLLINGAREA Controlling Area Attribute MATERIAL Material Attribute EQUIPMENT Equipment Attribute COMPANYCODE Company Code Attribute FUNCTIONALLOCATION Functional Location Attribute MAINTENANCEPLANSORTFIELD Sort field Attribute ASSEMBLY Assembly Attribute CONSTRUCTIONMATERIAL Construction Type Attribute MAINTENANCEPLAN Maintenance Plan Attribute STANDINGORDERNUMBER Standing Order Attribute MASTERFIXEDASSET Asset Attribute MAINTENANCENOTIFICATION Notification Attribute MAINTENANCESTRATEGY Maintenance Strategy Attribute TASKLISTTYPE Task List Type Attribute NOTIFICATIONTYPE Notification Type Attribute MAINTENANCEPLANCATEGORY Maint. plan cat. Attribute EQUIPMENTOBJECTTYPE Equipment Obj Type Attribute ASSETLOCATION Location Attribute FUNCTIONALLOCATIONOBJECTTYPE FuncLocn Object Type Attribute MAINTENANCEPLANNERGROUP Maint. Planner Group Attribute PLANTSECTION Plant Section Attribute MAINTENANCEACTIVITYTYPE MaintActivityType Attribute MAINTENANCEOR
This CDS view is designed to provide a comprehensive overview of maintenance plan scheduling within an organization. It aggregates and summarizes data related to maintenance plans, items, orders, notifications, and associated attributes, enabling users to analyze and monitor the status and progress of maintenance activities. This CDS view provides the data to answer the following business questions: How many maintenance plans are currently active, inactive, scheduled, created, or marked for deletion? What are the planned start and completion dates for maintenance activities? What is the status of maintenance plan calls, such as fixed, skipped, manually called, called, completed, or on hold? Which maintenance plans are associated with specific equipment, functional locations, or work centers? How are maintenance plans distributed across different business areas, planning plants, and planner groups? What are the details of maintenance orders, notifications, and service orders linked to maintenance plans? How can maintenance activities be optimized based on cycle, strategy, and category parameters? What is the impact of maintenance activities on cost centers, controlling areas, and company codes? How do maintenance plans align with organizational divisions, sales documents, and authorization groups? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: BEGRP These restriction types are edited in the Maintain Business Roles app.
Structure
Important Fields Important fields in this view include the following: Field Name Description Measure or Attribute MAINTENANCEPLANCALLNUMBER MntPlan Call No. Measure NUMBEROFMAINTENANCEPLANCALLS No. of MPlanCalls Measure NROFMRKDFORDELTNMAINTPLANS MarkedForDeletion Measure NROFINACTIVEMAINTENANCEPLANS Inactive Measure NROFSCHEDULEDMAINTENANCEPLANS Scheduled Measure NROFCREATEDMAINTENANCEPLANS Created Measure NROFFIXEDMAINTENANCEPLANCALLS SchedulingFixed Measure NROFSKIPPEDMAINTPLANCALLS SchedulingSkipped Measure NROFMNLLYCALLEDMAINTPLNCALLS SchedgCldManually Measure NROFCALLEDMAINTENANCEPLANCALLS SchedulingCalled Measure NROFCOMPLETEDMAINTPLANCALLS SchedulingCompleted Measure NROFONHOLDMAINTENANCEPLANCALLS SchedulingOnHold Measure NROFINACTIVEMAINTPLANCALLS SchedgInactive Measure AUTHORIZATIONGROUP AuthorizGroup Attribute COSTCENTER Cost Center Attribute BUSINESSAREA Business Area Attribute ORGANIZATIONDIVISION Division Attribute SALESORGANIZATION Sales Organization Attribute DISTRIBUTIONCHANNEL Distribution Channel Attribute CONTROLLINGAREA Controlling Area Attribute MATERIAL Material Attribute EQUIPMENT Equipment Attribute COMPANYCODE Company Code Attribute FUNCTIONALLOCATION Functional Location Attribute MAINTENANCEPLANSORTFIELD Sort field Attribute ASSEMBLY Assembly Attribute CONSTRUCTIONMATERIAL Construction Type Attribute MAINTENANCEPLAN Maintenance Plan Attribute STANDINGORDERNUMBER Standing Order Attribute MASTERFIXEDASSET Asset Attribute MAINTENANCENOTIFICATION Notification Attribute MAINTENANCESTRATEGY Maintenance Strategy Attribute TASKLISTTYPE Task List Type Attribute NOTIFICATIONTYPE Notification Type Attribute MAINTENANCEPLANCATEGORY Maint. plan cat. Attribute EQUIPMENTOBJECTTYPE Equipment Obj Type Attribute ASSETLOCATION Location Attribute FUNCTIONALLOCATIONOBJECTTYPE FuncLocn Object Type Attribute MAINTENANCEPLANNERGROUP Maint. Planner Group Attribute PLANTSECTION Plant Section Attribute MAINTENANCEACTIVITYTYPE MaintActivityType Attribute MAINTENANCEOR
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_MaintPlanSchedulingOverview | P_MaintPlanSchedulingOverview | from |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMPSCHEDGOVWC | view | |
| EndUserText.label | Maint Plan Scheduling Overview - Cube | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.representativeKey | MaintenancePlanCallNumber | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Analytics.dataCategory | #CUBE | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_CUBE | view | |
| Analytics.internalName | #LOCAL | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (93)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenancePlan | MaintenancePlan | MaintenancePlan | |
| KEY | MaintenancePlanCallNumber | MaintenancePlanCallNumber | ||
| KEY | MaintenanceItem | MaintenanceItem | MaintItem | |
| MaintenanceOrder | MaintenanceOrder | Order | ||
| MaintenanceNotification | MaintenanceNotification | Notification | ||
| MaintCallHorizonIsNotReached | MaintCallHorizonIsNotReached | |||
| PlannedStartDate | PlannedStartDate | Latest Planned Start | ||
| LatestAcceptableCompletionDate | LatestAcceptableCompletionDate | Final Due Date | ||
| ReleasedByUserName | ReleasedByUserName | Description | ||
| ServiceOrder | ServiceOrder | Transaction ID | ||
| CompletionDate | CompletionDate | Completion Date | ||
| CompletionTime | CompletionTime | Completion Time | ||
| RevisionNumber | RevisionNumber | Revision Number | ||
| MaintenancePlanCategory | MaintenancePlanCategory | |||
| MaintenanceStrategy | MaintenanceStrategy | |||
| MaintenanceCallNextPlannedDate | MaintenanceCallNextPlannedDate | |||
| MaintenanceCallDate | MaintenanceCallDate | |||
| MaintPlanLastScheduledDate | MaintPlanLastScheduledDate | |||
| MaintenancePlanCallStatus | MaintenancePlanCallStatus | |||
| MaintenancePlanSortField | MaintenancePlanSortField | |||
| MaintenancePlanCycle | MaintenancePlanCycle | |||
| MeasuringPoint | MeasuringPoint | |||
| MaintPlanActiveSystemStatus | MaintPlanActiveSystemStatus | |||
| MaintenanceItemDescription | MaintenanceItemDescription | MaintItem text | ||
| MaintenancePlanType | MaintenancePlanType | |||
| FunctionalLocation | FunctionalLocation | Object ID | ||
| FunctionalLocationObjectType | FunctionalLocationObjectType | |||
| ConstructionMaterial | ConstructionMaterial | ConstType | ||
| Equipment | Equipment | Equipment check | ||
| EquipmentObjectType | EquipmentObjectType | |||
| Class | Class | User Group | ||
| Assembly | Assembly | Pegged Reqmt | ||
| Material | Material | Vehicle Model | ||
| SerialNumber | SerialNumber | Serial Number | ||
| MaintItemHasObjectList | MaintItemHasObjectList | Maint Item has Object List | ||
| MaintenancePlannerGroup | MaintenancePlannerGroup | Planner Group | ||
| MaintenancePlanningPlant | MaintenancePlanningPlant | Planning Plant | ||
| BusinessArea | BusinessArea | Business Area | ||
| MaintenanceOrderType | MaintenanceOrderType | Order Type | ||
| NotificationType | NotificationType | Notifictn Type | ||
| MaintenanceActivityType | MaintenanceActivityType | MaintActivType | ||
| MainWorkCenterInternalID | MainWorkCenterInternalID | Work Center | ||
| MainWorkCenter | MainWorkCenter | Work Center | ||
| TaskListType | TaskListType | Task List Type | ||
| TaskListGroup | TaskListGroup | Group | ||
| TaskListGroupCounter | TaskListGroupCounter | Group Counter | ||
| PurchaseOrder | PurchaseOrder | Purchasing Document | ||
| PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item | ||
| ServiceEntrySheet | ServiceEntrySheet | Service Entry Sheet | ||
| MaintenancePlant | MaintenancePlant | Plant | ||
| AssetLocation | AssetLocation | Location | ||
| AssetRoom | AssetRoom | Room | ||
| PlantSection | PlantSection | Plant Section | ||
| WorkCenter | WorkCenter | Work Center | ||
| ABCIndicator | ABCIndicator | ABC Indicator | ||
| MaintObjectFreeDefinedAttrib | MaintObjectFreeDefinedAttrib | Sort Field | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| MasterFixedAsset | MasterFixedAsset | Fixed Asset | ||
| FixedAsset | FixedAsset | Sub-number | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| CostCenter | CostCenter | Cost Center | ||
| WBSElementExternalID | WBSElementExternalID | WBS Element External ID | ||
| StandingOrderNumber | StandingOrderNumber | StandgOrder | ||
| SalesDocument | SalesDocument | SD Document | ||
| SalesDocumentItem | SalesDocumentItem | Sales Document Item | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| AuthorizationGroup | AuthorizationGroup | AuthorizGroup | ||
| NumberOfMaintenancePlanCalls | ||||
| NrOfMrkdForDeltnMaintPlans | ||||
| NrOfInactiveMaintenancePlans | ||||
| NrOfScheduledMaintenancePlans | ||||
| NrOfCreatedMaintenancePlans | ||||
| NrOfFixedMaintenancePlanCalls | ||||
| NrOfSkippedMaintPlanCalls | ||||
| NrOfMnllyCalledMaintPlnCalls | ||||
| NrOfCalledMaintenancePlanCalls | ||||
| NrOfCompletedMaintPlanCalls | ||||
| NrOfOnHoldMaintenancePlanCalls | ||||
| NrOfInactiveMaintPlanCalls | ||||
| _MaintenancePlan | _MaintenancePlan | |||
| _MaintenanceItem | _MaintenanceItem | |||
| _MaintenanceNotification | _MaintenanceNotification | |||
| _MaintPlanCallHistory | _MaintPlanCallHistory | |||
| _Equipment | _Equipment | |||
| _FunctionalLocation | _FunctionalLocation | |||
| _TaskListGroup_2 | _TaskListGroup_2 | |||
| _TaskListGroupCounter_2 | _TaskListGroupCounter_2 | |||
| _MaintenancePlanCatParam | _MaintenancePlanCatParam | |||
| _MaintenancePlanType | _MaintenancePlanType | |||
| _MaintenancePlanCallStatus | _MaintenancePlanCallStatus | |||
| _MaintPlanActiveSystemStatus | _MaintPlanActiveSystemStatus |
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_MaintPlanSchedgOverviewCube.
-- 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: IMPSCHEDGOVWC
CREATE VIEW I_MaintPlanSchedgOverviewCube AS
SELECT
MaintenancePlan,
MaintenancePlanCallNumber,
MaintenanceItem,
MaintenanceOrder,
MaintenanceNotification,
MaintCallHorizonIsNotReached,
PlannedStartDate,
LatestAcceptableCompletionDate,
ReleasedByUserName,
ServiceOrder,
CompletionDate,
CompletionTime,
RevisionNumber,
MaintenancePlanCategory,
MaintenanceStrategy,
MaintenanceCallNextPlannedDate,
MaintenanceCallDate,
MaintPlanLastScheduledDate,
MaintenancePlanCallStatus,
MaintenancePlanSortField,
MaintenancePlanCycle,
MeasuringPoint,
MaintPlanActiveSystemStatus,
MaintenanceItemDescription,
MaintenancePlanType,
FunctionalLocation,
FunctionalLocationObjectType,
ConstructionMaterial,
Equipment,
EquipmentObjectType,
Class,
Assembly,
Material,
SerialNumber,
MaintItemHasObjectList,
MaintenancePlannerGroup,
MaintenancePlanningPlant,
BusinessArea,
MaintenanceOrderType,
NotificationType,
MaintenanceActivityType,
MainWorkCenterInternalID,
MainWorkCenter,
TaskListType,
TaskListGroup,
TaskListGroupCounter,
PurchaseOrder,
PurchaseOrderItem,
ServiceEntrySheet,
MaintenancePlant,
AssetLocation,
AssetRoom,
PlantSection,
WorkCenter,
ABCIndicator,
MaintObjectFreeDefinedAttrib,
CompanyCode,
MasterFixedAsset,
FixedAsset,
ControllingArea,
CostCenter,
WBSElementExternalID,
StandingOrderNumber,
SalesDocument,
SalesDocumentItem,
SalesOrganization,
DistributionChannel,
OrganizationDivision,
AuthorizationGroup,
cast( 1 as eam_num_mplan_calls ) AS NumberOfMaintenancePlanCalls,
cast ( case when MaintPlanActiveSystemStatus = 'DELFLAG' then 1 else 0 end as eam_num_mplan_markdfordeletion ) AS NrOfMrkdForDeltnMaintPlans,
cast ( case when MaintPlanActiveSystemStatus = 'INACTIVE' then 1 else 0 end as eam_num_mplan_inactive ) AS NrOfInactiveMaintenancePlans,
cast ( case when MaintPlanActiveSystemStatus = 'SCHEDULED' then 1 else 0 end as eam_num_mplan_scheduled ) AS NrOfScheduledMaintenancePlans,
cast ( case when MaintPlanActiveSystemStatus = 'CREATED' then 1 else 0 end as eam_num_mplan_created ) AS NrOfCreatedMaintenancePlans,
cast ( case when MaintenancePlanCallStatus = 'FIXED' then 1 else 0 end as eam_num_mplan_fixed ) AS NrOfFixedMaintenancePlanCalls,
cast ( case when MaintenancePlanCallStatus = 'SKIPPED' then 1 else 0 end as eam_num_mplan_skipped ) AS NrOfSkippedMaintPlanCalls,
cast ( case when MaintenancePlanCallStatus = 'MANUALCL' then 1 else 0 end as eam_num_mplan_cldmanually ) AS NrOfMnllyCalledMaintPlnCalls,
cast ( case when MaintenancePlanCallStatus = 'CALLED' then 1 else 0 end as eam_num_mplan_called ) AS NrOfCalledMaintenancePlanCalls,
cast ( case when MaintenancePlanCallStatus = 'COMPLETED' then 1 else 0 end as eam_num_mplan_completed ) AS NrOfCompletedMaintPlanCalls,
cast ( case when MaintenancePlanCallStatus = 'HOLD' then 1 else 0 end as eam_num_mplan_hold ) AS NrOfOnHoldMaintenancePlanCalls,
cast ( case when MaintenancePlanCallStatus = 'INACTIVE' then 1 else 0 end as eam_num_mplan_schd_inactive) AS NrOfInactiveMaintPlanCalls
FROM P_MaintPlanSchedulingOverview
;
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