I_MaintWorkItemInterruption
Maintenance Work Item Interruption
I_MaintWorkItemInterruption is a Composite CDS View that provides data about "Maintenance Work Item Interruption" in SAP S/4HANA. It reads from 1 data source (P_MaintWorkItemProcessingLog) and exposes 8 fields with key fields StatusObject, EAMOverallObjectStatusLgEntry. It has 4 associations to related views. Part of development package IOCF.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_MaintWorkItemProcessingLog | P_MaintWorkItemProcessingLog | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_EAMObjectOverallStatusLg | _JobInterruptingLogEntry | _JobInterruptingLogEntry.StatusObject = P_MaintWorkItemProcessingLog.StatusObject and _JobInterruptingLogEntry.EAMOverallObjectStatusLgEntry = P_MaintWorkItemProcessingLog.EAMOvrlStsObjIntrrptgLgEntry |
| [0..1] | I_EAMObjectOverallStatusLg | _JobInProcessLogEntry | _JobInProcessLogEntry.StatusObject = P_MaintWorkItemProcessingLog.StatusObject and _JobInProcessLogEntry.EAMOverallObjectStatusLgEntry = P_MaintWorkItemProcessingLog.EAMOverallObjectStatusLgEntry |
| [0..*] | I_EAMOverallObjectStatusReason | _Reason | _Reason.StatusObject = $projection.StatusObject and _Reason.EAMOverallObjectStatusLgEntry = $projection.EAMOverallObjectStatusLgEntry |
| [0..1] | I_MaintenanceOrderOperation | _MaintenanceOrderOperation | _MaintenanceOrderOperation.MaintOrderOperationInternalID = $projection.StatusObject |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Maintenance Work Item Interruption | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.sqlViewName | IMTWKITMINTERR | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | StatusObject | P_MaintWorkItemProcessingLog | StatusObject | Status Object |
| KEY | EAMOverallObjectStatusLgEntry | P_MaintWorkItemProcessingLog | EAMOvrlStsObjIntrrptgLgEntry | |
| DurnOfInterruptionInSeconds | ||||
| MaintWrkItmProcgTimeInSeconds | ||||
| MaintenanceOrder | ||||
| _Reason | _Reason | |||
| _MaintenanceOrder | ||||
| _MaintenanceOrderOperation | _MaintenanceOrderOperation |
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_MaintWorkItemInterruption.
-- 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: IMTWKITMINTERR
CREATE VIEW I_MaintWorkItemInterruption AS
SELECT
P_MaintWorkItemProcessingLog.StatusObject AS StatusObject,
P_MaintWorkItemProcessingLog.EAMOvrlStsObjIntrrptgLgEntry AS EAMOverallObjectStatusLgEntry,
cast( tstmp_seconds_between(_JobInterruptingLogEntry.EAMOvrlObjStsOriglSetDateTime, _JobInterruptingLogEntry.EAMOvrlObjStsOriglRsetDateTime, 'INITIAL') as eam_iwoc_interruption_duration preserving type ) AS DurnOfInterruptionInSeconds,
tstmp_seconds_between(_JobInProcessLogEntry.EAMOvrlObjStsOriglSetDateTime, _JobInProcessLogEntry.EAMOvrlObjStsOriglRsetDateTime, 'INITIAL') AS MaintWrkItmProcgTimeInSeconds
FROM P_MaintWorkItemProcessingLog
LEFT OUTER JOIN I_EAMObjectOverallStatusLg AS _JobInterruptingLogEntry ON _JobInterruptingLogEntry.StatusObject = P_MaintWorkItemProcessingLog.StatusObject AND _JobInterruptingLogEntry.EAMOverallObjectStatusLgEntry = P_MaintWorkItemProcessingLog.EAMOvrlStsObjIntrrptgLgEntry -- association [0..1]
LEFT OUTER JOIN I_EAMObjectOverallStatusLg AS _JobInProcessLogEntry ON _JobInProcessLogEntry.StatusObject = P_MaintWorkItemProcessingLog.StatusObject AND _JobInProcessLogEntry.EAMOverallObjectStatusLgEntry = P_MaintWorkItemProcessingLog.EAMOverallObjectStatusLgEntry -- association [0..1]
LEFT OUTER JOIN I_EAMOverallObjectStatusReason AS _Reason ON _Reason.StatusObject = StatusObject AND _Reason.EAMOverallObjectStatusLgEntry = EAMOverallObjectStatusLgEntry -- association [0..*]
LEFT OUTER JOIN I_MaintenanceOrderOperation AS _MaintenanceOrderOperation ON _MaintenanceOrderOperation.MaintOrderOperationInternalID = StatusObject -- 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