C_QltyNotificationFDP

DDL: C_QLTYNOTIFICATIONFDP SQL: CQLTYNOTIFFDP Type: view CONSUMPTION

Header Data of Quality Notification

C_QltyNotificationFDP is a Consumption CDS View that provides data about "Header Data of Quality Notification" in SAP S/4HANA. It reads from 1 data source (I_QltyNotification) and exposes 96 fields with key field QualityNotification. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_QltyNotification I_QltyNotification from

Associations (4)

CardinalityTargetAliasCondition
[0..*] C_QltyNotificationTaskFDP _QltyNotificationTaskFDP $projection.QualityNotification = _QltyNotificationTaskFDP.QualityNotification
[0..*] C_QltyNotificationTaskFDP _QltyNotificationHdrTaskFDP $projection.QualityNotification = _QltyNotificationHdrTaskFDP.QualityNotification and _QltyNotificationHdrTaskFDP.NotificationItem is initial
[0..*] C_QltyNotificationItemFDP _QltyNotificationItemFDP $projection.QualityNotification = _QltyNotificationItemFDP.QualityNotification
[1..1] E_QualityNotification _Extension $projection.QualityNotification = _Extension.QualityNotification

Annotations (12)

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

Fields (96)

KeyFieldSource TableSource FieldDescription
KEY QualityNotification QualityNotification
MasterLanguage MasterLanguage
NotificationOrigin NotificationOrigin
NotificationType NotificationType
NotifProcessingPhase NotifProcessingPhase
NotificationText NotificationText
NotificationPriorityType NotificationPriorityType
NotificationPriority NotificationPriority
NotificationStatusObject NotificationStatusObject
IsBusinessPurposeCompleted IsBusinessPurposeCompleted
IsDeleted IsDeleted
CreatedByUser CreatedByUser
LastChangedByUser LastChangedByUser
NotificationCatalog NotificationCatalog
NotificationCodeGroup NotificationCodeGroup
NotificationCodeID NotificationCodeID
NotificationComplaintQuantity NotificationComplaintQuantity
NotificationInternalQuantity NotificationInternalQuantity
NotificationExternalQty NotificationExternalQty
NotificationQuantityUnit NotificationQuantityUnit
NotificationReferenceQuantity NotificationReferenceQuantity
NotifReturnDeliveryQuantity NotifReturnDeliveryQuantity
CreationDate CreationDate
LastChangedDate LastChangedDate
NotificationCreationTime NotificationCreationTime
NotificationReportingDate NotificationReportingDate
NotificationCompletionDate NotificationCompletionDate
NotificationRequiredStartDate NotificationRequiredStartDate
NotificationRequiredStartTime NotificationRequiredStartTime
NotificationRequiredEndDate NotificationRequiredEndDate
NotificationRequiredEndTime NotificationRequiredEndTime
CustomerPurchaseOrderDate CustomerPurchaseOrderDate
NotificationReturnDeliveryDate NotificationReturnDeliveryDate
Supplier Supplier
Customer Customer
ReportedByUser ReportedByUser
Material Material
MaterialGroup MaterialGroup
Plant Plant
ProductionOrder ProductionOrder
MfgOrderInternalID MfgOrderInternalID
ProductionVersion ProductionVersion
PurchasingDocument PurchasingDocument
PurchasingDocumentItem PurchasingDocumentItem
PurchasingOrganization PurchasingOrganization
PurchasingGroup PurchasingGroup
ActiveDivision ActiveDivision
SalesOrganization SalesOrganization
DistributionChannel DistributionChannel
WBSElementInternalID WBSElementInternalID
WorkCenterTypeCode WorkCenterTypeCode
MainWorkCenterInternalID MainWorkCenterInternalID
MainWorkCenterPlant MainWorkCenterPlant
InspectionLot InspectionLot
OrderOperationInternalID OrderOperationInternalID
Batch Batch
Manufacturer Manufacturer
MaterialDocumentYear MaterialDocumentYear
MaterialDocument MaterialDocument
MaterialDocumentItem MaterialDocumentItem
AdditionalDeviceData AdditionalDeviceData
NotificationLinkedNotification NotificationLinkedNotification
NotificationExtReferenceNumber NotificationExtReferenceNumber
OrderDocument OrderDocument
DeliveryDocument DeliveryDocument
DeliveryDocumentItem DeliveryDocumentItem
PurchaseOrderByCustomer PurchaseOrderByCustomer
OperationTextelseendasOperationText
_CreatedByUserContactCard _CreatedByUserContactCard
_Customer _Customer
_InspectionLot _InspectionLot
_LastChangedByUserContactCard _LastChangedByUserContactCard
_NotificationCatalog _NotificationCatalog
_NotificationCode _NotificationCode
_NotificationCodeGroup _NotificationCodeGroup
_NotificationItem _NotificationItem
_NotificationPriority _NotificationPriority
_NotificationQuantityUnit _NotificationQuantityUnit
_NotificationType _NotificationType
_NotifProcessingPhase _NotifProcessingPhase
_Plant _Plant
_Product _Product
_ProductGroup _ProductGroup
_ProductGroup_2 _ProductGroup_2
_PurchasingDocument _PurchasingDocument
_QltyNotificationActivity _QltyNotificationActivity
_QltyNotificationHdrActivity _QltyNotificationHdrActivity
_QltyNotificationHdrTaskFDP _QltyNotificationHdrTaskFDP
_QltyNotificationLongText _QltyNotificationLongText
_QltyNotificationTaskFDP _QltyNotificationTaskFDP
_QltyNotificationItemFDP _QltyNotificationItemFDP
_QualityNotificationPartner _QualityNotificationPartner
_Supplier _Supplier
_InspectionOperation _InspectionOperation
_OrderOperationBasic _OrderOperationBasic
_WBSElement _WBSElement
@AbapCatalog.sqlViewName: 'CQLTYNOTIFFDP'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #REQUIRED
@AccessControl.privilegedAssociations: ['_CreatedByUserContactCard', '_LastChangedByUserContactCard', '_StsObjConcatActiveStsILL']
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Header Data of Quality Notification'
@VDM: {
    viewType: #CONSUMPTION,
    lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@ObjectModel: {
  representativeKey: 'QualityNotification',
  supportedCapabilities: [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #OUTPUT_FORM_DATA_PROVIDER ],
    usageType: {
    dataClass: #TRANSACTIONAL,
    sizeCategory: #L,
    serviceQuality: #C
    }
}

define view C_QltyNotificationFDP
  as select from I_QltyNotification
  association [0..*] to C_QltyNotificationTaskFDP as _QltyNotificationTaskFDP    on  $projection.QualityNotification = _QltyNotificationTaskFDP.QualityNotification
  association [0..*] to C_QltyNotificationTaskFDP as _QltyNotificationHdrTaskFDP on  $projection.QualityNotification              = _QltyNotificationHdrTaskFDP.QualityNotification
                                                                                 and _QltyNotificationHdrTaskFDP.NotificationItem is initial
  association [0..*] to C_QltyNotificationItemFDP as _QltyNotificationItemFDP    on  $projection.QualityNotification = _QltyNotificationItemFDP.QualityNotification
 //Extension

  association [1..1] to E_QualityNotification        as _Extension                   on $projection.QualityNotification = _Extension.QualityNotification


{

  key QualityNotification,
      MasterLanguage,
      NotificationOrigin,
      NotificationType,
      NotifProcessingPhase,
      NotificationText,
      NotificationPriorityType,
      NotificationPriority,
      NotificationStatusObject,
      IsBusinessPurposeCompleted,
      IsDeleted,
      CreatedByUser,
      LastChangedByUser,
      NotificationCatalog,
      NotificationCodeGroup,
      NotificationCodeID,
      NotificationComplaintQuantity,
      NotificationInternalQuantity,
      NotificationExternalQty,
      NotificationQuantityUnit,
      NotificationReferenceQuantity,
      NotifReturnDeliveryQuantity,
      CreationDate,
      LastChangedDate,
      NotificationCreationTime,
      NotificationReportingDate,
      NotificationCompletionDate,
      NotificationRequiredStartDate,
      NotificationRequiredStartTime,
      NotificationRequiredEndDate,
      NotificationRequiredEndTime,
      CustomerPurchaseOrderDate,
      NotificationReturnDeliveryDate,
      Supplier,
      Customer,
      ReportedByUser,
      Material,
      MaterialGroup,
      Plant,
      ProductionOrder,
      MfgOrderInternalID,
      ProductionVersion,
      PurchasingDocument,
      PurchasingDocumentItem,
      PurchasingOrganization,
      PurchasingGroup,
      ActiveDivision,
      SalesOrganization,
      DistributionChannel,
      WBSElementInternalID,
      WorkCenterTypeCode,
      MainWorkCenterInternalID,
      MainWorkCenterPlant,
      InspectionLot,
      OrderOperationInternalID,
      Batch,
      Manufacturer,
      MaterialDocumentYear,
      MaterialDocument,
      MaterialDocumentItem,
      AdditionalDeviceData,
      NotificationLinkedNotification,
      NotificationExtReferenceNumber,
      OrderDocument,
      DeliveryDocument,
      DeliveryDocumentItem,
      PurchaseOrderByCustomer,

      case
      when InspectionLot is not initial and OrderOperationInternalID is not initial
        then cast( _InspectionOperation.InspectionOperation as vdm_vornr preserving type )
      when InspectionLot is not initial and MfgOrderInternalID is not initial
        then cast( _OrderOperationBasic.Operation as vdm_vornr preserving type )
      else cast( '    ' as vdm_vornr preserving type ) end as OrderOperation,

      case
      when InspectionLot is not initial and OrderOperationInternalID is not initial
        then _InspectionOperation.OperationText
      when InspectionLot is not initial and MfgOrderInternalID is not initial
        then _OrderOperationBasic.OperationText
      else '' end as OperationText,

      /* Associations */
      _CreatedByUserContactCard,
      _Customer,
      _InspectionLot,
      _LastChangedByUserContactCard,
      _NotificationCatalog,
      _NotificationCode,
      _NotificationCodeGroup,
      _NotificationItem,
      _NotificationPriority,
      _NotificationQuantityUnit,
      _NotificationType,
      _NotifProcessingPhase,
      _Plant,
      _Product,
      _ProductGroup,
      _ProductGroup_2,
      _PurchasingDocument,
      _QltyNotificationActivity,
      _QltyNotificationHdrActivity,
      _QltyNotificationHdrTaskFDP,
      _QltyNotificationLongText,
      _QltyNotificationTaskFDP,
      _QltyNotificationItemFDP,
      _QualityNotificationPartner,
      _StsObjConcatActiveStsILL,
      _Supplier,
      _InspectionOperation,
      _OrderOperationBasic,
      _WBSElement
}