I_NotificationCause

DDL: I_NOTIFICATIONCAUSE Type: view_entity BASIC Package: VDM_QM_NOTIFICATION

Notification Cause

I_NotificationCause is a Basic CDS View that provides data about "Notification Cause" in SAP S/4HANA. It reads from 1 data source (qmur) and exposes 26 fields with key fields Notification, NotificationItem, NotificationCauseID. It has 9 associations to related views. Part of development package VDM_QM_NOTIFICATION.

Data Sources (1)

SourceAliasJoin Type
qmur qmur from

Associations (9)

CardinalityTargetAliasCondition
[1..1] I_Notification _Notification $projection.Notification = _Notification.Notification
[1..1] I_NotificationItem _NotificationItem $projection.Notification = _NotificationItem.Notification and $projection.NotificationItem = _NotificationItem.NotificationItem
[0..1] I_UserContactCard _CreatedByUserContactCard $projection.CreatedByUser = _CreatedByUserContactCard.ContactCardID
[0..1] I_UserContactCard _LastChangedByUserContactCard $projection.LastChangedByUser = _LastChangedByUserContactCard.ContactCardID
[0..1] I_NotifCauseCodeCatalog _NotifCauseCodeCatalog $projection.NotificationCauseCodeCatalog = _NotifCauseCodeCatalog.NotificationCauseCodeCatalog
[0..1] I_NotifCauseCodeGroup _NotifCauseCodeGroup $projection.NotificationCauseCodeCatalog = _NotifCauseCodeGroup.NotificationCauseCodeCatalog and $projection.NotificationCauseCodeGroup = _NotifCauseCodeGroup.NotificationCauseCodeGroup
[0..1] I_NotifCauseCode _NotifCauseCode $projection.NotificationCauseCodeCatalog = _NotifCauseCode.NotificationCauseCodeCatalog and $projection.NotificationCauseCodeGroup = _NotifCauseCode.NotificationCauseCodeGroup and $projection.NotificationCauseCode = _NotifCauseCode.NotificationCauseCode
[0..1] I_NotificationRootCause _NotificationRootCause $projection.NotificationRootCause = _NotificationRootCause.NotificationRootCause
[1..1] E_NotificationCause _Extension $projection.Notification = _Extension.Notification and $projection.NotificationItem = _Extension.NotificationItem and $projection.NotificationCauseID = _Extension.NotificationCauseID

Annotations (9)

NameValueLevelField
EndUserText.label Notification Cause view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.representativeKey NotificationCauseID view
Analytics.technicalName INOTIFCAUSE view

Fields (26)

KeyFieldSource TableSource FieldDescription
KEY Notification qmur qmnum Notification
KEY NotificationItem qmur fenum Number of days
KEY NotificationCauseID qmur urnum Cause
NotificationCauseSortNumber qmur qurnum Sort number
CreatedByUser qmur ernam User Name
CreationDate qmur erdat Entered On
CreationTime qmur erzeit Time created
LastChangedByUser qmur aenam User Name
LastChangeDate qmur aedat Obsolete
LastChangeTime qmur aezeit Time changed
NotificationCauseText qmur urtxt Cause Text
NotificationCauseCodeCatalog qmur urkat Catalog type
NotificationCauseCodeGroup qmur urgrp Field Is No Longer Used
NotificationCauseCode qmur urcod Cause Code
MasterLanguage
IsDeleted qmur kzloesch Delete
NotificationRootCause
IsBusinessPurposeCompleted _Notification IsBusinessPurposeCompleted Purpose Completed
_Notification _Notification
_NotificationItem _NotificationItem
_CreatedByUserContactCard _CreatedByUserContactCard
_LastChangedByUserContactCard _LastChangedByUserContactCard
_NotifCauseCodeCatalog _NotifCauseCodeCatalog
_NotifCauseCodeGroup _NotifCauseCodeGroup
_NotifCauseCode _NotifCauseCode
_NotificationRootCause _NotificationRootCause

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_NotificationCause.
-- 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.

CREATE VIEW I_NotificationCause AS
SELECT
  qmur.qmnum AS Notification,
  qmur.fenum AS NotificationItem,
  qmur.urnum AS NotificationCauseID,
  qmur.qurnum AS NotificationCauseSortNumber,
  qmur.ernam AS CreatedByUser,
  qmur.erdat AS CreationDate,
  qmur.erzeit AS CreationTime,
  qmur.aenam AS LastChangedByUser,
  qmur.aedat AS LastChangeDate,
  qmur.aezeit AS LastChangeTime,
  qmur.urtxt AS NotificationCauseText,
  qmur.urkat AS NotificationCauseCodeCatalog,
  qmur.urgrp AS NotificationCauseCodeGroup,
  qmur.urcod AS NotificationCauseCode,
  cast(qmur.kzmla as vdm_j_masterlanguage ) AS MasterLanguage,
  qmur.kzloesch AS IsDeleted,
  cast( qmur.rootcause as vdm_notificationrootcause preserving type ) AS NotificationRootCause,
  _Notification.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted
FROM qmur
LEFT OUTER JOIN I_Notification AS _Notification ON Notification = _Notification.Notification  -- association [1..1]
LEFT OUTER JOIN I_NotificationItem AS _NotificationItem ON Notification = _NotificationItem.Notification AND NotificationItem = _NotificationItem.NotificationItem  -- association [1..1]
LEFT OUTER JOIN I_UserContactCard AS _CreatedByUserContactCard ON CreatedByUser = _CreatedByUserContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _LastChangedByUserContactCard ON LastChangedByUser = _LastChangedByUserContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_NotifCauseCodeCatalog AS _NotifCauseCodeCatalog ON NotificationCauseCodeCatalog = _NotifCauseCodeCatalog.NotificationCauseCodeCatalog  -- association [0..1]
LEFT OUTER JOIN I_NotifCauseCodeGroup AS _NotifCauseCodeGroup ON NotificationCauseCodeCatalog = _NotifCauseCodeGroup.NotificationCauseCodeCatalog AND NotificationCauseCodeGroup = _NotifCauseCodeGroup.NotificationCauseCodeGroup  -- association [0..1]
LEFT OUTER JOIN I_NotifCauseCode AS _NotifCauseCode ON NotificationCauseCodeCatalog = _NotifCauseCode.NotificationCauseCodeCatalog AND NotificationCauseCodeGroup = _NotifCauseCode.NotificationCauseCodeGroup AND NotificationCauseCode = _NotifCauseCode.NotificationCauseCode  -- association [0..1]
LEFT OUTER JOIN I_NotificationRootCause AS _NotificationRootCause ON NotificationRootCause = _NotificationRootCause.NotificationRootCause  -- association [0..1]
LEFT OUTER JOIN E_NotificationCause AS _Extension ON Notification = _Extension.Notification AND NotificationItem = _Extension.NotificationItem AND NotificationCauseID = _Extension.NotificationCauseID  -- association [1..1]
;