I_MaintenanceNotificationItem

DDL: I_MAINTENANCENOTIFICATIONITEM SQL: IMAINTNOTIFITEM Type: view BASIC Package: IWOC

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)

SourceAliasJoin Type
qmfe qmfe from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Material _Assembly $projection.Assembly = _Assembly.Material
[0..1] I_DefectClass _DefectClass $projection.DefectClass = _DefectClass.DefectClass

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;