P_MaintNotifSuccssflTaskCount
P_MaintNotifSuccssflTaskCount is a Composite CDS View 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.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaintenanceNotificationTask | I_MaintenanceNotificationTask | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MaintenanceNotification | _MaintenanceNotification | _MaintenanceNotification.MaintenanceNotification = $projection.MaintenanceNotification |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | PMAINTNTFSTSKCNT | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceNotification | I_MaintenanceNotificationTask | MaintenanceNotification | |
| NrOfMaintNotifSuccssflTasks | Tasks | |||
| _MaintenanceNotification | _MaintenanceNotification |
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.sqlViewName: 'PMAINTNTFSTSKCNT'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
//Nmbr of Successful tasks for Maint Notif'
@ObjectModel.representativeKey: 'MaintenanceNotification'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@VDM.viewType: #COMPOSITE
@VDM.private: true
define view 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
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA