I_MaintenanceNotificationItem
Maintenance Notification Item
I_MaintenanceNotificationItem is a Basic CDS View (Dimension) that provides data about "Maintenance Notification Item" in SAP S/4HANA. It reads from 1 data source (qmfe) and exposes 32 fields with key fields MaintenanceNotificationItem, MaintenanceNotification. It has 2 associations to related views. Part of development package IWOC.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| qmfe | qmfe | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Material | _Assembly | $projection.Assembly = _Assembly.Material |
| [0..1] | I_DefectClass | _DefectClass | $projection.DefectClass = _DefectClass.DefectClass |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Maintenance Notification Item | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | IMAINTNOTIFITEM | view | |
| ObjectModel.representativeKey | MaintenanceNotificationItem | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceNotificationItem | qmfe | fenum | Number of days |
| KEY | MaintenanceNotification | qmfe | qmnum | Notification |
| MaintNotifItemText | qmfe | fetxt | Text | |
| MaintNotifDamageCodeCatalog | ||||
| MaintNotificationDamageCode | ||||
| MaintNotifDamageCodeGroup | ||||
| MaintNotifObjPrtCode | ||||
| MaintNotifObjPrtCodeGroup | ||||
| MaintNotifObjPrtCodeCatalog | ||||
| DefectClass | qmfe | feqklas | Defect Class | |
| Assembly | qmfe | bautl | Cause Assembly | |
| NumberOfDefects | qmfe | anzfehler | No. of Defects | |
| ObjectKey | ||||
| LastChangeDateTime | qmfe | changeddatetime | Time Stamp | |
| IsDeleted | qmfe | kzloesch | Delete | |
| erdatendasCreationDate | ||||
| erzeitendasCreationTime | ||||
| aedatendasLastChangeDate | ||||
| aezeitendasLastChangeTime | ||||
| _MaintenanceNotification | _MaintenanceNotification | |||
| _MaintNotifDamageCodeCatalog | _MaintNotifDamageCodeCatalog | |||
| _MaintNotifDamageCodeGroup | _MaintNotifDamageCodeGroup | |||
| _MaintNotificationDamageCode | _MaintNotificationDamageCode | |||
| _MaintNotifObjPrtCodeCatalog | _MaintNotifObjPrtCodeCatalog | |||
| _MaintNotifObjPrtCodeGroup | _MaintNotifObjPrtCodeGroup | |||
| _MaintNotifObjPrtCode | _MaintNotifObjPrtCode | |||
| _MaintenanceNotificationCause | _MaintenanceNotificationCause | |||
| _MaintNotificationActivity | _MaintNotificationActivity | |||
| _MaintenanceNotificationTask | _MaintenanceNotificationTask | |||
| _IsDeleted | _IsDeleted | |||
| _Assembly | _Assembly | |||
| _DefectClass | _DefectClass |
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_MaintenanceNotificationItem.
-- 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: IMAINTNOTIFITEM
CREATE VIEW I_MaintenanceNotificationItem AS
SELECT
qmfe.fenum AS MaintenanceNotificationItem,
qmfe.qmnum AS MaintenanceNotification,
qmfe.fetxt AS MaintNotifItemText,
cast( qmfe.fekat as eam_damage_code_catalog ) AS MaintNotifDamageCodeCatalog,
cast( qmfe.fecod as eam_damage_code ) AS MaintNotificationDamageCode,
cast( qmfe.fegrp as eam_damage_code_group ) AS MaintNotifDamageCodeGroup,
cast( qmfe.oteil as eam_object_part_code ) AS MaintNotifObjPrtCode,
cast( qmfe.otgrp as eam_object_part_code_group ) AS MaintNotifObjPrtCodeGroup,
cast( qmfe.otkat as eam_object_part_code_catalog ) AS MaintNotifObjPrtCodeCatalog,
qmfe.feqklas AS DefectClass,
qmfe.bautl AS Assembly,
qmfe.anzfehler AS NumberOfDefects,
concat(qmfe.qmnum, qmfe.fenum) AS ObjectKey,
qmfe.changeddatetime AS LastChangeDateTime,
qmfe.kzloesch AS IsDeleted,
case qmfe.erzeit when '240000' then dats_add_days(qmfe.erdat,1,'NULL') else qmfe.erdat end as CreationDate AS erdatendasCreationDate,
case qmfe.erzeit when '240000' then '000000' else qmfe.erzeit end as CreationTime AS erzeitendasCreationTime,
case qmfe.aezeit when '240000' then dats_add_days(qmfe.aedat,1,'NULL') else qmfe.aedat end as LastChangeDate AS aedatendasLastChangeDate,
case qmfe.aezeit when '240000' then '000000' else qmfe.aezeit end as LastChangeTime AS aezeitendasLastChangeTime
FROM qmfe
LEFT OUTER JOIN I_Material AS _Assembly ON Assembly = _Assembly.Material -- association [0..1]
LEFT OUTER JOIN I_DefectClass AS _DefectClass ON DefectClass = _DefectClass.DefectClass -- 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