C_QltyNotificationTaskFDP

DDL: C_QLTYNOTIFICATIONTASKFDP SQL: CQNOTIFTSKFDP Type: view CONSUMPTION

Task Data of Quality Notification

C_QltyNotificationTaskFDP is a Consumption CDS View that provides data about "Task Data of Quality Notification" in SAP S/4HANA. It reads from 1 data source (I_NotificationTask) and exposes 47 fields with key fields QualityNotification, NotificationTask. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_NotificationTask I_NotificationTask from

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_QltyNotification _Notification $projection.QualityNotification = _Notification.QualityNotification
[0..1] I_UserContactCard _ResponsiblePersonContactCard $projection.ResponsiblePerson = _ResponsiblePersonContactCard.ContactCardID
[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
[1..1] E_NotificationTask _Extension $projection.QualityNotification = _Extension.Notification and $projection.NotificationTask = _Extension.NotificationTask

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CQNOTIFTSKFDP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Task Data of Quality Notification view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.representativeKey NotificationTask view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view

Fields (47)

KeyFieldSource TableSource FieldDescription
KEY QualityNotification Notification
KEY NotificationTask NotificationTask
QualityTaskOrigin QualityTaskOrigin
NotificationTaskText NotificationTaskText
IsDeleted IsDeleted
NotifProcessingPhase _Notification NotifProcessingPhase
NotifTaskPlannedStartDate NotifTaskPlannedStartDate
NotifTaskPlannedStartTime NotifTaskPlannedStartTime
NotifTaskPlannedEndDate NotifTaskPlannedEndDate
NotifTaskPlannedEndTime NotifTaskPlannedEndTime
StatusObject StatusObject
NotifTaskTimeZone NotifTaskTimeZone
NotifTaskCompletedByUser NotifTaskCompletedByUser
NotifTaskCompletionDate NotifTaskCompletionDate
NotifTaskCompletionTime NotifTaskCompletionTime
NotifTaskResubmissionDate NotifTaskResubmissionDate
NotifTaskResubmissionTime NotifTaskResubmissionTime
ResponsiblePersonFunctionCode ResponsiblePersonFunctionCode
ResponsiblePerson ResponsiblePerson
NotificationTaskSortNumber NotificationTaskSortNumber
NotificationItem NotificationItem
NotificationType _Notification NotificationType
Plant _Notification Plant
IsBusinessPurposeCompleted _Notification IsBusinessPurposeCompleted
QualityTaskCodeCatalog I_NotificationTask NotificationTaskCatalog
QualityTaskCodeGroup I_NotificationTask NotificationTaskCodeGroup
QualityTaskCode I_NotificationTask NotificationTaskCode
ChangedDateTime ChangedDateTime
CreatedByUser CreatedByUser
CreationDate CreationDate
CreationTime CreationTime
LastChangedByUser LastChangedByUser
LastChangeDate LastChangeDate
LastChangeTime LastChangeTime
_ContactPerson _ContactPerson
_CreatedByUserContactCard _CreatedByUserContactCard
_Customer _Customer
_Employee _Employee
_ResponsiblePersonContactCard _ResponsiblePersonContactCard
_LastChangedByUserContactCard _LastChangedByUserContactCard
_Notification _Notification
_PartnerFunction _PartnerFunction
_QltyNotificationTaskLongText _QltyNotificationTaskLongText
_QltyTskCode _QltyTskCode
_QltyTskCodeGroup _QltyTskCodeGroup
_QualityTaskOrigin _QualityTaskOrigin
_Supplier _Supplier
@AbapCatalog.sqlViewName: 'CQNOTIFTSKFDP'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #REQUIRED
@AccessControl.privilegedAssociations: ['_CreatedByUserContactCard', '_LastChangedByUserContactCard', '_StsObjConcatActiveStsILL' ]
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Task Data of Quality Notification'
@VDM: {
    viewType: #CONSUMPTION,
    lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@ObjectModel: {
    representativeKey: 'NotificationTask',
    supportedCapabilities: [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #OUTPUT_FORM_DATA_PROVIDER ],
    usageType: {
        dataClass: #TRANSACTIONAL,
        sizeCategory: #L,
        serviceQuality: #C }
}

define view C_QltyNotificationTaskFDP
  as select from I_NotificationTask

  association [0..1] to I_QltyNotification             as _Notification                 on  $projection.QualityNotification = _Notification.QualityNotification
  association [0..1] to I_UserContactCard              as _ResponsiblePersonContactCard on  $projection.ResponsiblePerson = _ResponsiblePersonContactCard.ContactCardID
  association [0..1] to I_QltyTskCodeGroup             as _QltyTskCodeGroup             on  $projection.QualityTaskCodeGroup = _QltyTskCodeGroup.QualityTaskCodeGroup
  association [0..1] to I_QltyTskCode                  as _QltyTskCode                  on  $projection.QualityTaskCodeGroup = _QltyTskCode.QualityTaskCodeGroup
                                                                                        and $projection.QualityTaskCode      = _QltyTskCode.QualityTaskCode

  association [0..*] to I_QltyNotificationTaskLongText as _QltyNotificationTaskLongText on  $projection.QualityNotification = _QltyNotificationTaskLongText.QualityNotification
                                                                                        and $projection.NotificationTask    = _QltyNotificationTaskLongText.NotificationTask

// === Extension

    association [1..1] to E_NotificationTask           as _Extension                    on  $projection.QualityNotification  = _Extension.Notification
                                                                                        and $projection.NotificationTask     = _Extension.NotificationTask


{
  key Notification                                 as QualityNotification,
  key NotificationTask,
      QualityTaskOrigin,
      NotificationTaskText,
      IsDeleted,
      _Notification.NotifProcessingPhase,
      NotifTaskPlannedStartDate,
      NotifTaskPlannedStartTime,
      NotifTaskPlannedEndDate,
      NotifTaskPlannedEndTime,
      StatusObject,
      NotifTaskTimeZone,
      NotifTaskCompletedByUser,
      NotifTaskCompletionDate,
      NotifTaskCompletionTime,
      NotifTaskResubmissionDate,
      NotifTaskResubmissionTime,
      ResponsiblePersonFunctionCode,
      ResponsiblePerson,
      NotificationTaskSortNumber,
      NotificationItem,
      _Notification.NotificationType,
      _Notification.Plant,
      _Notification.IsBusinessPurposeCompleted,
      I_NotificationTask.NotificationTaskCatalog   as QualityTaskCodeCatalog,
      @ObjectModel.foreignKey.association: '_QltyTskCodeGroup'
      I_NotificationTask.NotificationTaskCodeGroup as QualityTaskCodeGroup,
      @ObjectModel.foreignKey.association: '_QltyTskCode'
      I_NotificationTask.NotificationTaskCode      as QualityTaskCode,
      ChangedDateTime,
      CreatedByUser,
      CreationDate,
      CreationTime,
      LastChangedByUser,
      LastChangeDate,
      LastChangeTime,

      case _PartnerFunction.SDDocumentPartnerType
      when 'AP' then concat( _ContactPerson.FirstName, _ContactPerson.LastName)
      when 'KU' then _Customer.CustomerFullName
      when 'LI' then _Supplier.SupplierFullName
      when 'PE' then _Employee.PersonFullName
      when 'US' then _ResponsiblePersonContactCard.UserDescription
      else '' end                                  as ResponsibleFullName,

      /* Associations */
      _ContactPerson,
      _CreatedByUserContactCard,
      _Customer,
      _Employee,
      _ResponsiblePersonContactCard,
      _LastChangedByUserContactCard,
      _Notification,
      _PartnerFunction,
      _QltyNotificationTaskLongText,
      _QltyTskCode,
      _QltyTskCodeGroup,
      _QualityTaskOrigin,
      _StsObjConcatActiveStsILL,
      _Supplier

}