P_OpenMaintNotifForEquipment

DDL: P_OPENMAINTNOTIFFOREQUIPMENT SQL: PNUMOPENNTFBYEQ Type: view COMPOSITE

Number of Open Notifs by Equipment

P_OpenMaintNotifForEquipment is a Composite CDS View that provides data about "Number of Open Notifs by Equipment" in SAP S/4HANA. It reads from 1 data source (I_MaintNotificationTechObj) and exposes 2 fields with key field Equipment.

Data Sources (1)

SourceAliasJoin Type
I_MaintNotificationTechObj I_MaintNotificationTechObj from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PNUMOPENNTFBYEQ view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.private true view
EndUserText.label Number of Open Notifs by Equipment view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY Equipment Equipment
NmbrOfOpenMaintNotifications
@AbapCatalog.sqlViewName: 'PNUMOPENNTFBYEQ'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@AccessControl.personalData.blocking: #('TRANSACTIONAL_DATA') 
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@VDM.private: true
@EndUserText.label: 'Number of Open Notifs by Equipment'
define view P_OpenMaintNotifForEquipment as select from I_MaintNotificationTechObj
{


  key Equipment,


      cast( count( * ) as eam_open_notifications ) as NmbrOfOpenMaintNotifications


}
where
  NotifProcessingPhase = '1' // Outstanding

group by
  Equipment
having
      Equipment != ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MAINTNOTIFICATIONTECHOBJ"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/