I_QltyNotificationCube

DDL: I_QLTYNOTIFICATIONCUBE SQL: IQLTYNOTIFC Type: view COMPOSITE

Quality Notification Cube

I_QltyNotificationCube is a Composite CDS View (Cube) that provides data about "Quality Notification Cube" in SAP S/4HANA. It reads from 1 data source (I_QltyNotification) and exposes 25 fields with key field QualityNotification. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_QltyNotification I_QltyNotification from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_QltyNotificationWithStatus _QltyNotificationWithStatus $projection.QualityNotification = _QltyNotificationWithStatus.QualityNotification

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IQLTYNOTIFC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Quality Notification Cube view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
ObjectModel.representativeKey QualityNotification view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
Analytics.dataCategory #CUBE view
Metadata.allowExtensions true view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY QualityNotification I_QltyNotification QualityNotification
NotificationOrigin I_QltyNotification NotificationOrigin
NotificationType I_QltyNotification NotificationType
NotificationPriority I_QltyNotification NotificationPriority
IsBusinessPurposeCompleted I_QltyNotification IsBusinessPurposeCompleted
CreationDate I_QltyNotification CreationDate
NotificationReportingDate I_QltyNotification NotificationReportingDate
NotificationCompletionDate I_QltyNotification NotificationCompletionDate
NotificationIsCompleted _QltyNotificationWithStatus NotificationIsCompleted
NotificationIsDeleted _QltyNotificationWithStatus NotificationIsDeleted
NotificationIsExtCaused _QltyNotificationWithStatus NotificationIsExtCaused
Supplier I_QltyNotification Supplier
Material I_QltyNotification Material
Plant I_QltyNotification Plant
PurchasingDocument I_QltyNotification PurchasingDocument
PurchasingDocumentItem I_QltyNotification PurchasingDocumentItem
PurchasingOrganization I_QltyNotification PurchasingOrganization
QualityNotificationCount
NotificationExternalQty I_QltyNotification NotificationExternalQty
NotificationQuantityUnit I_QltyNotification NotificationQuantityUnit
_Product I_QltyNotification _Product
_Plant I_QltyNotification _Plant
_Supplier I_QltyNotification _Supplier
_PurchasingDocument I_QltyNotification _PurchasingDocument
_NotificationQuantityUnit I_QltyNotification _NotificationQuantityUnit
@AbapCatalog.sqlViewName: 'IQLTYNOTIFC'
@AbapCatalog.compiler.compareFilter: true

@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED

@EndUserText.label: 'Quality Notification Cube'
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #COMPOSITE

@ObjectModel.representativeKey: 'QualityNotification'
@ObjectModel.usageType: {
    dataClass: #TRANSACTIONAL,
    sizeCategory: #L,
    serviceQuality: #D
}

@Analytics.dataCategory: #CUBE
@Metadata.allowExtensions: true

define view I_QltyNotificationCube as select from I_QltyNotification 
  
  //=== Association to status view

  association [1..1] to I_QltyNotificationWithStatus as _QltyNotificationWithStatus on $projection.QualityNotification = _QltyNotificationWithStatus.QualityNotification

{

//=== Key Fields

  key I_QltyNotification.QualityNotification,

//=== Common Fields

      I_QltyNotification.NotificationOrigin,
      I_QltyNotification.NotificationType,
      I_QltyNotification.NotificationPriority,
      I_QltyNotification.IsBusinessPurposeCompleted,

//=== Date Fields

      @Semantics.systemDate.createdAt: true
      I_QltyNotification.CreationDate,
      I_QltyNotification.NotificationReportingDate,
      I_QltyNotification.NotificationCompletionDate,

//=== Status Fields

      _QltyNotificationWithStatus.NotificationIsCompleted,
      _QltyNotificationWithStatus.NotificationIsDeleted,
      _QltyNotificationWithStatus.NotificationIsExtCaused,

//=== Partner Fields

      @ObjectModel.foreignKey.association: '_Supplier'
      I_QltyNotification.Supplier,
      
//=== Reference Object Fields

      @ObjectModel.foreignKey.association: '_Product'
      I_QltyNotification.Material,
      @ObjectModel.foreignKey.association: '_Plant'
      I_QltyNotification.Plant,
      @ObjectModel.foreignKey.association: '_PurchasingDocument'
      I_QltyNotification.PurchasingDocument,
      I_QltyNotification.PurchasingDocumentItem,
      I_QltyNotification.PurchasingOrganization,
     
//=== Aggregates

      @DefaultAggregation: #SUM
      cast ('1' as vdm_qltynotificationcount)                          as QualityNotificationCount,
      @DefaultAggregation: #SUM
      @Semantics.quantity.unitOfMeasure: 'NotificationQuantityUnit'
      I_QltyNotification.NotificationExternalQty,
      @ObjectModel.foreignKey.association: '_NotificationQuantityUnit'
      @Semantics.unitOfMeasure:true
      I_QltyNotification.NotificationQuantityUnit,
    
//=== Associations

      I_QltyNotification._Product,
      I_QltyNotification._Plant,
      I_QltyNotification._Supplier,
      I_QltyNotification._PurchasingDocument,
      I_QltyNotification._NotificationQuantityUnit
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_QLTYNOTIFICATION",
"I_QLTYNOTIFICATIONWITHSTATUS"
],
"ASSOCIATED":
[
"I_PLANT",
"I_PRODUCT",
"I_PURCHASINGDOCUMENT",
"I_QLTYNOTIFICATIONWITHSTATUS",
"I_SUPPLIER",
"I_UNITOFMEASURE"
],
"BASE":
[
"I_QLTYNOTIFICATION"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/