I_MaintPlanCallObject
Maintenance Plan Call Object
I_MaintPlanCallObject is a Basic CDS View that provides data about "Maintenance Plan Call Object" in SAP S/4HANA. It reads from 1 data source (mhio) and exposes 20 fields with key fields MaintenancePlan, MaintenancePlanCallNumber, MaintenanceItem. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mhio | mhio | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MaintenancePlanBasic | _MaintenancePlan | _MaintenancePlan.MaintenancePlan = $projection.MaintenancePlan |
| [0..1] | I_MaintenanceItem | _MaintenanceItem | _MaintenanceItem.MaintenanceItem = $projection.MaintenanceItem |
| [0..1] | I_MaintenanceOrder | _MaintenanceOrder | _MaintenanceOrder.MaintenanceOrder = $projection.MaintenanceOrder |
| [0..1] | I_MaintenanceNotification | _MaintenanceNotification | _MaintenanceNotification.MaintenanceNotification = $projection.MaintenanceNotification |
| [0..1] | I_ServiceDocument | _ServiceOrder | _ServiceOrder.ServiceObjectType = 'BUS2000116' and _ServiceOrder.ServiceDocument = $projection.ServiceOrder |
| [0..*] | I_MaintPlanCallHistory | _MaintPlanCallHistory | _MaintPlanCallHistory.MaintenancePlan = $projection.MaintenancePlan and _MaintPlanCallHistory.MaintenancePlanCallNumber = $projection.MaintenancePlanCallNumber |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMPLANCALLOBJ | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Maintenance Plan Call Object | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenancePlan | mhio | warpl | MaintenancePlan |
| KEY | MaintenancePlanCallNumber | mhio | abnum | Stage number |
| KEY | MaintenanceItem | mhio | wppos | MaintItem |
| MaintenanceOrder | mhio | aufnr | SettlementOrder | |
| MaintenanceNotification | mhio | qmnum | Notification | |
| MaintCallHorizonIsNotReached | mhio | tsenq | SchedStatus | |
| SchedulingStatus | mhio | tstat | Tech. Status | |
| PlannedStartDate | mhio | gstrp | Bas. Start Date | |
| ReleasedByUserName | mhio | usermod | UserSched. | |
| ServiceOrder | mhio | service_order | Transaction ID | |
| CompletionDate | mhio | addat | Reference Date | |
| CompletionTime | mhio | adtime | Completion Time | |
| ServiceEntrySheet | mhio | lblni | Entry Sheet | |
| RevisionNumber | ||||
| _ServiceOrder | _ServiceOrder | |||
| _MaintenancePlan | _MaintenancePlan | |||
| _MaintenanceItem | _MaintenanceItem | |||
| _MaintenanceOrder | _MaintenanceOrder | |||
| _MaintenanceNotification | _MaintenanceNotification | |||
| _MaintPlanCallHistory | _MaintPlanCallHistory |
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_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: IMPLANCALLOBJ
CREATE VIEW I_MaintPlanCallObject AS
SELECT
mhio.warpl AS MaintenancePlan,
mhio.abnum AS MaintenancePlanCallNumber,
mhio.wppos AS MaintenanceItem,
mhio.aufnr AS MaintenanceOrder,
mhio.qmnum AS MaintenanceNotification,
mhio.tsenq AS MaintCallHorizonIsNotReached,
mhio.tstat AS SchedulingStatus,
mhio.gstrp AS PlannedStartDate,
mhio.usermod AS ReleasedByUserName,
mhio.service_order AS ServiceOrder,
mhio.addat AS CompletionDate,
mhio.adtime AS CompletionTime,
mhio.lblni AS ServiceEntrySheet,
cast( mhio.revision_no as j_3rfinv_revno ) AS RevisionNumber
FROM mhio
LEFT OUTER JOIN I_MaintenancePlanBasic AS _MaintenancePlan ON _MaintenancePlan.MaintenancePlan = MaintenancePlan -- association [0..1]
LEFT OUTER JOIN I_MaintenanceItem AS _MaintenanceItem ON _MaintenanceItem.MaintenanceItem = MaintenanceItem -- association [0..1]
LEFT OUTER JOIN I_MaintenanceOrder AS _MaintenanceOrder ON _MaintenanceOrder.MaintenanceOrder = MaintenanceOrder -- association [0..1]
LEFT OUTER JOIN I_MaintenanceNotification AS _MaintenanceNotification ON _MaintenanceNotification.MaintenanceNotification = MaintenanceNotification -- association [0..1]
LEFT OUTER JOIN I_ServiceDocument AS _ServiceOrder ON _ServiceOrder.ServiceObjectType = 'BUS2000116' AND _ServiceOrder.ServiceDocument = ServiceOrder -- association [0..1]
LEFT OUTER JOIN I_MaintPlanCallHistory AS _MaintPlanCallHistory ON _MaintPlanCallHistory.MaintenancePlan = MaintenancePlan AND _MaintPlanCallHistory.MaintenancePlanCallNumber = MaintenancePlanCallNumber -- association [0..*]
;
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