I_QltyNotificationTask

DDL: I_QLTYNOTIFICATIONTASK SQL: IQNOTIFTSK Type: view COMPOSITE

Quality Notification Task

I_QltyNotificationTask (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Manufacturing

I_QltyNotificationTask is a Composite CDS View that provides data about "Quality Notification Task" in SAP S/4HANA. It reads from 2 data sources (I_NotificationTask, I_QltyNotification) and exposes 52 fields with key fields QualityNotification, NotificationTask. It has 6 associations to related views.

SAP Help Documentation

CategoryCDS Views for Quality Improvement
Data CategoryTransactional
StatusReleased
Purpose
This CDS view provides access to quality notification task data. This CDS view provides the prerequisites for answering the following business questions: Which tasks were defined for the processing of a quality notification?

Prerequisites
Users who want to run reports using this CDS view in SAP S/4HANA (on-premise) must have the authorization to display the following data: Quality Notifications The following authorization objects are required: Quality Notification Type (Q_QMEL)

Structure
Object Types This view relates to the following SAP object types: QualityNotification Measures and attributes Some important measures and attributes are: QualityNotification Internal identifier of the quality notification NotificationTask Internal counter of a task in a quality notification NotificationItem Internal counter of an item to which task data refers. For header tasks it is initial.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentQM-QN
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides access to quality notification task data.</p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>Which tasks were defined for the processing of a quality notification?</p></li> </ul>

Documentation

Data Sources (2)

SourceAliasJoin Type
I_NotificationTask I_NotificationTask from
I_QltyNotification I_QltyNotification inner

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_QltyNotification _Notification $projection.QualityNotification = _Notification.QualityNotification
[0..1] I_QltyTskCodeGroup _QltyTskCodeGroup $projection.QualityTaskCodeGroup = _QltyTskCodeGroup.QualityTaskCodeGroup
[0..1] I_QltyTskCode _QltyTskCode $projection.QualityTaskCodeGroup = _QltyTskCode.QualityTaskCodeGroup and $projection.QualityTaskCode = _QltyTskCode.QualityTaskCode
[0..*] I_QltyNotificationTaskLongText _QltyNotificationTaskLongText $projection.QualityNotification = _QltyNotificationTaskLongText.QualityNotification and $projection.NotificationTask = _QltyNotificationTaskLongText.NotificationTask
[0..1] I_UnitOfMeasure _QltyTskProcTimeUnit $projection.QltyTaskTimeBasedEffortUoM = _QltyTskProcTimeUnit.UnitOfMeasure and _QltyTskProcTimeUnit.UnitOfMeasureDimension = 'TIME'
[1..1] E_NotificationTask _Extension $projection.QualityNotification = _Extension.Notification and $projection.NotificationTask = _Extension.NotificationTask

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IQNOTIFTSK view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Quality Notification Task view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey NotificationTask view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #A view
Metadata.ignorePropagatedAnnotations true view

Fields (52)

KeyFieldSource TableSource FieldDescription
KEY QualityNotification I_NotificationTask Notification Notification Number
KEY NotificationTask I_NotificationTask NotificationTask Sequential Task Number
NotificationTaskendasQualityTask
QualityTaskOrigin I_NotificationTask QualityTaskOrigin Quality Task Origin
NotificationTaskText I_NotificationTask NotificationTaskText Short Text for Task
IsDeleted I_NotificationTask IsDeleted Delete Data Record
NotifProcessingPhase I_QltyNotification NotifProcessingPhase Notification Processing Phase
NotifTaskPlannedStartDate I_NotificationTask NotifTaskPlannedStartDate Planned Start Date
NotifTaskPlannedStartTime I_NotificationTask NotifTaskPlannedStartTime Planned Start Time for Task
NotifTaskPlannedEndDate I_NotificationTask NotifTaskPlannedEndDate Planned Finish Date
NotifTaskPlannedEndTime I_NotificationTask NotifTaskPlannedEndTime Planned Finish Time for Task
StatusObject I_NotificationTask StatusObject Object Number for Status Management
NotifTaskTimeZone I_NotificationTask NotifTaskTimeZone Time Zone for Task
NotifTaskCompletedByUser I_NotificationTask NotifTaskCompletedByUser Person Who Completed the Task
NotifTaskCompletionDate I_NotificationTask NotifTaskCompletionDate Date on Which the Task Was Completed
NotifTaskCompletionTime I_NotificationTask NotifTaskCompletionTime Time at Which Task Was Completed
NotifTaskResubmissionDate I_NotificationTask NotifTaskResubmissionDate Date on Which Task Was Resubmitted
NotifTaskResubmissionTime I_NotificationTask NotifTaskResubmissionTime Time at Which Task Was Resubmitted
ResponsiblePersonFunctionCode Function of Person Responsible for Task
ResponsiblePerson I_NotificationTask ResponsiblePerson Person Responsible for Task (Partner Number)
NotificationTaskSortNumber I_NotificationTask NotificationTaskSortNumber Sort Number for Task
NotificationItem I_NotificationTask NotificationItem Item Number in Item Record
NotificationCauseID I_NotificationTask NotificationCauseID Sequential Number for Cause
NotificationType I_QltyNotification NotificationType Notification Type
Plant I_QltyNotification Plant Plant for Material
IsBusinessPurposeCompleted I_QltyNotification IsBusinessPurposeCompleted Business Purpose Completed Flag
QualityTaskCodeCatalog Catalog Type - Tasks
QualityTaskCodeGroup Code Group - Tasks
QualityTaskCode I_NotificationTask NotificationTaskCode Task Code
QltyTaskTimeBasedEffort I_NotificationTask QltyTaskTimeBasedEffort Time Effort for Task
QltyTaskTimeBasedEffortUoM I_NotificationTask QltyTaskTimeBasedEffortUoM Unit for Task Effort
ChangedDateTime I_NotificationTask ChangedDateTime UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
CreatedByUser I_NotificationTask CreatedByUser Name of Person Responsible for Creating the Object
CreationDate I_NotificationTask CreationDate Record Created On
CreationTime I_NotificationTask CreationTime Time at Which Record Was Added
LastChangedByUser I_NotificationTask LastChangedByUser Name of Person Who Changed Object
LastChangeDate I_NotificationTask LastChangeDate Last Changed On
LastChangeTime I_NotificationTask LastChangeTime Time of Change
_Notification _Notification
_QualityTaskOrigin I_NotificationTask _QualityTaskOrigin
_QltyTskCodeGroup _QltyTskCodeGroup
_QltyTskCode _QltyTskCode
_Plant I_QltyNotification _Plant
_QltyNotificationTaskLongText _QltyNotificationTaskLongText
_CreatedByUserContactCard I_NotificationTask _CreatedByUserContactCard
_LastChangedByUserContactCard I_NotificationTask _LastChangedByUserContactCard
_QltyTskProcTimeUnit _QltyTskProcTimeUnit
_PartnerFunction I_NotificationTask _PartnerFunction
_ContactPerson I_NotificationTask _ContactPerson
_Employee I_NotificationTask _Employee
_Customer I_NotificationTask _Customer
_Supplier I_NotificationTask _Supplier

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_QltyNotificationTask.
-- 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: IQNOTIFTSK

CREATE VIEW I_QltyNotificationTask AS
SELECT
  I_NotificationTask.Notification AS QualityNotification,
  I_NotificationTask.NotificationTask AS NotificationTask,
  case when ( I_NotificationTask.Notification like '$%' ) then substring(I_NotificationTask.Notification,2,11) else concat(I_NotificationTask.Notification,I_NotificationTask.NotificationTask) end as QualityTask AS NotificationTaskendasQualityTask,
  I_NotificationTask.QualityTaskOrigin AS QualityTaskOrigin,
  I_NotificationTask.NotificationTaskText AS NotificationTaskText,
  I_NotificationTask.IsDeleted AS IsDeleted,
  I_QltyNotification.NotifProcessingPhase AS NotifProcessingPhase,
  I_NotificationTask.NotifTaskPlannedStartDate AS NotifTaskPlannedStartDate,
  I_NotificationTask.NotifTaskPlannedStartTime AS NotifTaskPlannedStartTime,
  I_NotificationTask.NotifTaskPlannedEndDate AS NotifTaskPlannedEndDate,
  I_NotificationTask.NotifTaskPlannedEndTime AS NotifTaskPlannedEndTime,
  I_NotificationTask.StatusObject AS StatusObject,
  I_NotificationTask.NotifTaskTimeZone AS NotifTaskTimeZone,
  I_NotificationTask.NotifTaskCompletedByUser AS NotifTaskCompletedByUser,
  I_NotificationTask.NotifTaskCompletionDate AS NotifTaskCompletionDate,
  I_NotificationTask.NotifTaskCompletionTime AS NotifTaskCompletionTime,
  I_NotificationTask.NotifTaskResubmissionDate AS NotifTaskResubmissionDate,
  I_NotificationTask.NotifTaskResubmissionTime AS NotifTaskResubmissionTime,
  cast(I_NotificationTask.ResponsiblePersonFunctionCode as qmsm_parvw preserving type ) AS ResponsiblePersonFunctionCode,
  I_NotificationTask.ResponsiblePerson AS ResponsiblePerson,
  I_NotificationTask.NotificationTaskSortNumber AS NotificationTaskSortNumber,
  I_NotificationTask.NotificationItem AS NotificationItem,
  I_NotificationTask.NotificationCauseID AS NotificationCauseID,
  I_QltyNotification.NotificationType AS NotificationType,
  I_QltyNotification.Plant AS Plant,
  I_QltyNotification.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  cast( I_NotificationTask.NotificationTaskCatalog as vdm_qn_makat preserving type ) AS QualityTaskCodeCatalog,
  cast( I_NotificationTask.NotificationTaskCodeGroup as vdm_qn_magrp preserving type ) AS QualityTaskCodeGroup,
  I_NotificationTask.NotificationTaskCode AS QualityTaskCode,
  I_NotificationTask.QltyTaskTimeBasedEffort AS QltyTaskTimeBasedEffort,
  I_NotificationTask.QltyTaskTimeBasedEffortUoM AS QltyTaskTimeBasedEffortUoM,
  I_NotificationTask.ChangedDateTime AS ChangedDateTime,
  I_NotificationTask.CreatedByUser AS CreatedByUser,
  I_NotificationTask.CreationDate AS CreationDate,
  I_NotificationTask.CreationTime AS CreationTime,
  I_NotificationTask.LastChangedByUser AS LastChangedByUser,
  I_NotificationTask.LastChangeDate AS LastChangeDate,
  I_NotificationTask.LastChangeTime AS LastChangeTime,
  I_NotificationTask._QualityTaskOrigin AS _QualityTaskOrigin,
  I_QltyNotification._Plant AS _Plant,
  I_NotificationTask._CreatedByUserContactCard AS _CreatedByUserContactCard,
  I_NotificationTask._LastChangedByUserContactCard AS _LastChangedByUserContactCard,
  I_NotificationTask._PartnerFunction AS _PartnerFunction,
  I_NotificationTask._ContactPerson AS _ContactPerson,
  I_NotificationTask._Employee AS _Employee,
  I_NotificationTask._Customer AS _Customer,
  I_NotificationTask._Supplier AS _Supplier
FROM I_NotificationTask
INNER JOIN I_QltyNotification ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_QltyNotification AS _Notification ON QualityNotification = _Notification.QualityNotification  -- association [0..1]
LEFT OUTER JOIN I_QltyTskCodeGroup AS _QltyTskCodeGroup ON QualityTaskCodeGroup = _QltyTskCodeGroup.QualityTaskCodeGroup  -- association [0..1]
LEFT OUTER JOIN I_QltyTskCode AS _QltyTskCode ON QualityTaskCodeGroup = _QltyTskCode.QualityTaskCodeGroup AND QualityTaskCode = _QltyTskCode.QualityTaskCode  -- association [0..1]
LEFT OUTER JOIN I_QltyNotificationTaskLongText AS _QltyNotificationTaskLongText ON QualityNotification = _QltyNotificationTaskLongText.QualityNotification AND NotificationTask = _QltyNotificationTaskLongText.NotificationTask  -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasure AS _QltyTskProcTimeUnit ON QltyTaskTimeBasedEffortUoM = _QltyTskProcTimeUnit.UnitOfMeasure AND _QltyTskProcTimeUnit.UnitOfMeasureDimension = 'TIME'  -- association [0..1]
LEFT OUTER JOIN E_NotificationTask AS _Extension ON QualityNotification = _Extension.Notification AND NotificationTask = _Extension.NotificationTask  -- association [1..1]
;