P_MaintNotifSuccssflTaskCount

DDL: P_MAINTNOTIFSUCCSSFLTASKCOUNT Type: view_entity COMPOSITE Package: IWOC

Nmbr of Successful tasks for Maint Notif

P_MaintNotifSuccssflTaskCount is a Composite CDS View that provides data about "Nmbr of Successful tasks for Maint Notif" in SAP S/4HANA. It reads from 1 data source (I_MaintenanceNotificationTask) and exposes 3 fields with key field MaintenanceNotification. It has 1 association to related views. Part of development package IWOC.

Data Sources (1)

SourceAliasJoin Type
I_MaintenanceNotificationTask I_MaintenanceNotificationTask from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_MaintenanceNotification _MaintenanceNotification _MaintenanceNotification.MaintenanceNotification = $projection.MaintenanceNotification

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey MaintenanceNotification view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceNotification I_MaintenanceNotificationTask MaintenanceNotification
NrOfMaintNotifSuccssflTasks Tasks
_MaintenanceNotification _MaintenanceNotification
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.representativeKey: 'MaintenanceNotification'
//@Analytics.technicalName: 'PMAINTNTFSTSKCNT'

@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@VDM.viewType: #COMPOSITE
@VDM.private: true

define view entity P_MaintNotifSuccssflTaskCount
  as select from I_MaintenanceNotificationTask
  association [0..1] to I_MaintenanceNotification     as _MaintenanceNotification     on  _MaintenanceNotification.MaintenanceNotification = $projection.MaintenanceNotification
{
      @ObjectModel.foreignKey.association: '_MaintenanceNotification'
  key I_MaintenanceNotificationTask.MaintenanceNotification,
      @EndUserText.label: 'Tasks'
      count( * ) as NrOfMaintNotifSuccssflTasks,

      // Associations - locally defined

      _MaintenanceNotification
}
where IsDeleted != 'X' and
      _StatusObjectStatus[1: StatusCode = 'I0157'].StatusCode is not null and
      _StatusObjectStatus[1: StatusCode = 'I0157'].StatusIsInactive <> 'X'
group by
  MaintenanceNotification