I_QualityNotificationItem
Quality Notification Item
I_QualityNotificationItem is a Composite CDS View (Dimension) that provides data about "Quality Notification Item" in SAP S/4HANA. It reads from 2 data sources (I_NotificationItem, I_QltyNotification) and exposes 60 fields with key fields QualityNotification, NotificationItem. It has 13 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_NotificationItem | I_NotificationItem | from |
| I_QltyNotification | I_QltyNotification | inner |
Associations (13)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_QltyNotification | _QltyNotification | $projection.QualityNotification = _QltyNotification.QualityNotification |
| [1..1] | I_QltyNotification | _Notification | $projection.QualityNotification = _Notification.QualityNotification |
| [0..*] | I_QltyNotificationTask | _QltyNotificationTask | $projection.QualityNotification = _QltyNotificationTask.QualityNotification and $projection.NotificationItem = _QltyNotificationTask.NotificationItem |
| [0..*] | I_QltyNotificationCause | _QltyNotificationCause | $projection.QualityNotification = _QltyNotificationCause.QualityNotification and $projection.NotificationItem = _QltyNotificationCause.NotificationItem |
| [0..*] | I_QltyNotificationActivity | _QltyNotificationActivity | $projection.QualityNotification = _QltyNotificationActivity.QualityNotification and $projection.NotificationItem = _QltyNotificationActivity.NotificationItem |
| [0..1] | I_Defect | _ReferencedDefect | $projection.ReferencedDefect = _ReferencedDefect.DefectInternalID |
| [0..1] | I_DefectCodeGroup | _DefectCodeGroup | $projection.DefectCodeGroup = _DefectCodeGroup.DefectCodeGroup |
| [0..1] | I_DefectCode | _DefectCode | $projection.DefectCodeGroup = _DefectCode.DefectCodeGroup and $projection.DefectCode = _DefectCode.DefectCode |
| [0..1] | I_DefectLocationCatalog | _DefectLocationCatalog | $projection.NotifItmObjectPartCodeCtlg = _DefectLocationCatalog.DefectLocationCatalog |
| [0..1] | I_DefectLocationCodeGroup | _DefectLocationCodeGroup | $projection.NotifItmObjectPartCodeCtlg = _DefectLocationCodeGroup.DefectLocationCatalog and $projection.NotifItmObjectPartCodeGroup = _DefectLocationCodeGroup.DefectLocationCodeGroup |
| [0..1] | I_DefectLocationCode | _DefectLocationCode | $projection.NotifItmObjectPartCodeCtlg = _DefectLocationCode.DefectLocationCatalog and $projection.NotifItmObjectPartCodeGroup = _DefectLocationCode.DefectLocationCodeGroup and $projection.NotifItmObjectPartCode = _DefectLocationCode.DefectLocationCode |
| [0..*] | I_QltyNotifItemLongText | _QltyNotifItemLongText | $projection.QualityNotification = _QltyNotifItemLongText.QualityNotification and $projection.NotificationItem = _QltyNotifItemLongText.NotificationItem |
| [1..1] | E_NotificationItem | _Extension | $projection.QualityNotification = _Extension.Notification and $projection.NotificationItem = _Extension.NotificationItem |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IQLTYNTFITM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Quality Notification Item | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.representativeKey | NotificationItem | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (60)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | QualityNotification | I_NotificationItem | Notification | |
| KEY | NotificationItem | I_NotificationItem | NotificationItem | |
| NotifProcessingPhase | I_QltyNotification | NotifProcessingPhase | ||
| CreatedByUser | I_NotificationItem | CreatedByUser | ||
| CreationDate | I_NotificationItem | CreationDate | ||
| LastChangedByUser | I_NotificationItem | LastChangedByUser | ||
| LastChangeDate | I_NotificationItem | LastChangeDate | ||
| NotificationItemText | I_NotificationItem | NotificationItemText | ||
| DefectCodeCatalog | I_NotificationItem | DefectCodeCatalog | ||
| DefectCodeGroup | ||||
| DefectCode | ||||
| NotifItmObjectPartCodeCtlg | ||||
| NotifItmObjectPartCodeGroup | ||||
| NotifItmObjectPartCode | ||||
| Assembly | I_NotificationItem | Assembly | ||
| MasterLanguage | I_NotificationItem | MasterLanguage | ||
| CreationTime | ||||
| LastChangeTime | ||||
| DefectClass | I_NotificationItem | DefectClass | ||
| NumberOfDefects | I_NotificationItem | NumberOfDefects | ||
| InspPlanOperationInternalID | I_NotificationItem | InspPlanOperationInternalID | ||
| InspectionCharacteristic | I_NotificationItem | InspectionCharacteristic | ||
| InspectionSubsetInternalID | I_NotificationItem | InspectionSubsetInternalID | ||
| MaterialSample | I_NotificationItem | MaterialSample | ||
| DefectiveSingleUnit | I_NotificationItem | DefectiveSingleUnit | ||
| WorkCenterTypeCode | I_NotificationItem | WorkCenterTypeCode | ||
| MainWorkCenterInternalID | I_NotificationItem | MainWorkCenterInternalID | ||
| MainWorkCenter | I_NotificationItem | MainWorkCenter | ||
| MainWorkCenterPlant | I_NotificationItem | MainWorkCenterPlant | ||
| IsDeleted | I_NotificationItem | IsDeleted | ||
| NotificationItemExternalID | ||||
| DefectOrigin | I_NotificationItem | DefectOrigin | ||
| ExternalDefectiveQuantity | I_NotificationItem | ExternalDefectiveQuantity | ||
| InternalDefectiveQuantity | I_NotificationItem | InternalDefectiveQuantity | ||
| DefectiveQuantity | I_NotificationItem | DefectiveQuantity | ||
| DefectiveQuantityUnit | I_NotificationItem | DefectiveQuantityUnit | ||
| ReferencedDefect | I_NotificationItem | ReferencedDefect | ||
| ChangedDateTime | I_NotificationItem | ChangedDateTime | ||
| _QltyNotification | _QltyNotification | |||
| _Notification | _Notification | |||
| _QltyNotificationTask | _QltyNotificationTask | |||
| _QltyNotificationCause | _QltyNotificationCause | |||
| _QltyNotificationActivity | _QltyNotificationActivity | |||
| _CreatedByUserContactCard | I_NotificationItem | _CreatedByUserContactCard | ||
| _LastChangedByUserContactCard | I_NotificationItem | _LastChangedByUserContactCard | ||
| _DefectCodeCatalog | I_NotificationItem | _DefectCodeCatalog | ||
| _DefectCodeGroup | _DefectCodeGroup | |||
| _DefectCode | _DefectCode | |||
| _DefectLocationCatalog | _DefectLocationCatalog | |||
| _DefectLocationCodeGroup | _DefectLocationCodeGroup | |||
| _DefectLocationCode | _DefectLocationCode | |||
| _DefectClass | I_NotificationItem | _DefectClass | ||
| _DefectiveQtyUnitOfMeasure | I_NotificationItem | _DefectiveQtyUnitOfMeasure | ||
| _DefectiveQuantityUnit | I_NotificationItem | _DefectiveQuantityUnit | ||
| _NotifItmObjectPartCodeCtlg | I_NotificationItem | _NotifItmObjectPartCodeCtlg | ||
| _NotifItmObjectPartCodeGroup | I_NotificationItem | _NotifItmObjectPartCodeGroup | ||
| _NotifItmObjectPartCode | I_NotificationItem | _NotifItmObjectPartCode | ||
| _ReferencedDefect | _ReferencedDefect | |||
| _Assembly | I_NotificationItem | _Assembly | ||
| _QltyNotifItemLongText | _QltyNotifItemLongText |
@AbapCatalog.sqlViewName: 'IQLTYNTFITM'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Quality Notification Item'
@Analytics.dataCategory: #DIMENSION
@VDM: {
viewType: #COMPOSITE,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #REQUIRED
@AccessControl.privilegedAssociations: [ '_CreatedByUserContactCard','_LastChangedByUserContactCard' ]
@ObjectModel: {
usageType: {
dataClass: #TRANSACTIONAL,
sizeCategory: #L,
serviceQuality: #C },
representativeKey: 'NotificationItem',
supportedCapabilities: [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #ANALYTICAL_DIMENSION ],
modelingPattern: #NONE
}
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
define view I_QualityNotificationItem
as select from I_NotificationItem
inner join I_QltyNotification // inner join ensures that only items of quality notifications are selected
on I_QltyNotification.QualityNotification = I_NotificationItem.Notification
association [1..1] to I_QltyNotification as _QltyNotification on $projection.QualityNotification = _QltyNotification.QualityNotification
association [1..1] to I_QltyNotification as _Notification on $projection.QualityNotification = _Notification.QualityNotification
association [0..*] to I_QltyNotificationTask as _QltyNotificationTask on $projection.QualityNotification = _QltyNotificationTask.QualityNotification
and $projection.NotificationItem = _QltyNotificationTask.NotificationItem
association [0..*] to I_QltyNotificationCause as _QltyNotificationCause on $projection.QualityNotification = _QltyNotificationCause.QualityNotification and
$projection.NotificationItem = _QltyNotificationCause.NotificationItem
association [0..*] to I_QltyNotificationActivity as _QltyNotificationActivity on $projection.QualityNotification = _QltyNotificationActivity.QualityNotification
and $projection.NotificationItem = _QltyNotificationActivity.NotificationItem
association [0..1] to I_Defect as _ReferencedDefect on $projection.ReferencedDefect = _ReferencedDefect.DefectInternalID
association [0..1] to I_DefectCodeGroup as _DefectCodeGroup on $projection.DefectCodeGroup = _DefectCodeGroup.DefectCodeGroup
association [0..1] to I_DefectCode as _DefectCode on $projection.DefectCodeGroup = _DefectCode.DefectCodeGroup
and $projection.DefectCode = _DefectCode.DefectCode
association [0..1] to I_DefectLocationCatalog as _DefectLocationCatalog on $projection.NotifItmObjectPartCodeCtlg = _DefectLocationCatalog.DefectLocationCatalog
association [0..1] to I_DefectLocationCodeGroup as _DefectLocationCodeGroup on $projection.NotifItmObjectPartCodeCtlg = _DefectLocationCodeGroup.DefectLocationCatalog
and $projection.NotifItmObjectPartCodeGroup = _DefectLocationCodeGroup.DefectLocationCodeGroup
association [0..1] to I_DefectLocationCode as _DefectLocationCode on $projection.NotifItmObjectPartCodeCtlg = _DefectLocationCode.DefectLocationCatalog
and $projection.NotifItmObjectPartCodeGroup = _DefectLocationCode.DefectLocationCodeGroup
and $projection.NotifItmObjectPartCode = _DefectLocationCode.DefectLocationCode
association [0..*] to I_QltyNotifItemLongText as _QltyNotifItemLongText on $projection.QualityNotification = _QltyNotifItemLongText.QualityNotification
and $projection.NotificationItem = _QltyNotifItemLongText.NotificationItem
//Extension
association [1..1] to E_NotificationItem as _Extension on $projection.QualityNotification = _Extension.Notification
and $projection.NotificationItem = _Extension.NotificationItem
{
@ObjectModel: { foreignKey.association: '_Notification' }
key I_NotificationItem.Notification as QualityNotification,
key I_NotificationItem.NotificationItem,
I_QltyNotification.NotifProcessingPhase,
@Semantics.user.createdBy: true
@ObjectModel.foreignKey.association: '_CreatedByUserContactCard'
I_NotificationItem.CreatedByUser,
@Semantics.systemDate.createdAt: true
I_NotificationItem.CreationDate,
@Semantics.user.lastChangedBy: true
@ObjectModel.foreignKey.association: '_LastChangedByUserContactCard'
I_NotificationItem.LastChangedByUser,
@Semantics.systemDate.lastChangedAt: true
I_NotificationItem.LastChangeDate,
@Semantics.text: true
I_NotificationItem.NotificationItemText,
@ObjectModel.foreignKey.association: '_DefectCodeCatalog'
I_NotificationItem.DefectCodeCatalog,
@ObjectModel: { foreignKey.association: '_DefectCodeGroup' }
cast( I_NotificationItem.DefectCodeGroup as vdm_qfegrp preserving type ) as DefectCodeGroup,
@ObjectModel: { foreignKey.association: '_DefectCode' }
cast( I_NotificationItem.DefectCode as vdm_qfecod preserving type ) as DefectCode,
@ObjectModel.foreignKey.association: '_DefectLocationCatalog'
cast( I_NotificationItem.NotifItmObjectPartCodeCtlg as vdm_qfeocat preserving type ) as NotifItmObjectPartCodeCtlg,
@ObjectModel.foreignKey.association: '_DefectLocationCodeGroup'
cast( I_NotificationItem.NotifItmObjectPartCodeGroup as vdm_qfeogrp preserving type ) as NotifItmObjectPartCodeGroup,
@ObjectModel.foreignKey.association: '_DefectLocationCode'
cast( I_NotificationItem.NotifItmObjectPartCode as vdm_qfeocod preserving type ) as NotifItmObjectPartCode,
@ObjectModel.foreignKey.association: '_Assembly'
I_NotificationItem.Assembly,
I_NotificationItem.MasterLanguage,
cast( I_NotificationItem.CreationTime as vdm_qerstezeit preserving type ) as CreationTime,
cast( I_NotificationItem.LastChangeTime as vdm_qaendezeit preserving type ) as LastChangeTime,
@ObjectModel.foreignKey.association: '_DefectClass'
I_NotificationItem.DefectClass,
I_NotificationItem.NumberOfDefects,
I_NotificationItem.InspPlanOperationInternalID,
I_NotificationItem.InspectionCharacteristic,
I_NotificationItem.InspectionSubsetInternalID,
I_NotificationItem.MaterialSample,
I_NotificationItem.DefectiveSingleUnit,
// Workcenter
I_NotificationItem.WorkCenterTypeCode,
I_NotificationItem.MainWorkCenterInternalID,
I_NotificationItem.MainWorkCenter,
I_NotificationItem.MainWorkCenterPlant,
@Semantics.booleanIndicator: true
I_NotificationItem.IsDeleted,
cast( I_NotificationItem.NotificationItemExternalID as vdm_qnotifitemextid preserving type ) as NotificationItemExternalID,
I_NotificationItem.DefectOrigin,
// Quantities
@Semantics.quantity.unitOfMeasure: 'DefectiveQuantityUnit'
I_NotificationItem.ExternalDefectiveQuantity,
@Semantics.quantity.unitOfMeasure: 'DefectiveQuantityUnit'
I_NotificationItem.InternalDefectiveQuantity,
@Semantics.quantity.unitOfMeasure: 'DefectiveQuantityUnit'
I_NotificationItem.DefectiveQuantity,
@Semantics.unitOfMeasure: true
@ObjectModel.foreignKey.association: '_DefectiveQuantityUnit'
I_NotificationItem.DefectiveQuantityUnit,
@ObjectModel: { foreignKey.association: '_ReferencedDefect' }
I_NotificationItem.ReferencedDefect,
/* e-Tag */
I_NotificationItem.ChangedDateTime,
/* Associations */
_QltyNotification,
@VDM.lifecycle: { status: #DEPRECATED, successor: '_QltyNotification' }
_Notification,
_QltyNotificationTask,
_QltyNotificationCause,
_QltyNotificationActivity,
I_NotificationItem._CreatedByUserContactCard as _CreatedByUserContactCard,
I_NotificationItem._LastChangedByUserContactCard as _LastChangedByUserContactCard,
I_NotificationItem._DefectCodeCatalog,
_DefectCodeGroup,
_DefectCode,
_DefectLocationCatalog,
_DefectLocationCodeGroup,
_DefectLocationCode,
I_NotificationItem._DefectClass,
@VDM.lifecycle: { status: #DEPRECATED, successor: '_DefectiveQuantityUnit' }
I_NotificationItem._DefectiveQtyUnitOfMeasure,
I_NotificationItem._DefectiveQuantityUnit,
I_NotificationItem._NotifItmObjectPartCodeCtlg,
I_NotificationItem._NotifItmObjectPartCodeGroup,
I_NotificationItem._NotifItmObjectPartCode,
_ReferencedDefect,
I_NotificationItem._Assembly,
_QltyNotifItemLongText
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_NOTIFICATIONITEM",
"I_QLTYNOTIFICATION"
],
"ASSOCIATED":
[
"E_NOTIFICATIONITEM",
"I_DEFECT",
"I_DEFECTCLASS",
"I_DEFECTCODE",
"I_DEFECTCODEGROUP",
"I_DEFECTLOCATIONCATALOG",
"I_DEFECTLOCATIONCODE",
"I_DEFECTLOCATIONCODEGROUP",
"I_INSPECTIONCATALOG",
"I_INSPECTIONCODE",
"I_INSPECTIONCODEGROUP",
"I_PRODUCT",
"I_QLTYNOTIFICATION",
"I_QLTYNOTIFICATIONACTIVITY",
"I_QLTYNOTIFICATIONCAUSE",
"I_QLTYNOTIFICATIONTASK",
"I_QLTYNOTIFITEMLONGTEXT",
"I_UNITOFMEASURE",
"I_USERCONTACTCARD"
],
"BASE":
[
"I_NOTIFICATIONITEM"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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