P_MaintNotifOutStdgReldTaskCnt
P_MaintNotifOutStdgReldTaskCnt 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 | PMAINTNTFOTSKCNT | 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 | |
| NrOfMaintNotifActiveTasks | Tasks | |||
| _MaintenanceNotification | _MaintenanceNotification |
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.sqlViewName: 'PMAINTNTFOTSKCNT'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
//Number of Tasks with Status 'Outstanding' or 'Released' for Maintenance Notification
@ObjectModel.representativeKey: 'MaintenanceNotification'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@VDM.viewType: #COMPOSITE
@VDM.private: true
define view P_MaintNotifOutStdgReldTaskCnt
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 NrOfMaintNotifActiveTasks,
// Associations - locally defined
_MaintenanceNotification
}
where IsDeleted != 'X' and
((_StatusObjectStatus[1: StatusCode = 'I0154'].StatusCode is not null and
_StatusObjectStatus[1: StatusCode = 'I0154'].StatusIsInactive <> 'X') or
( _StatusObjectStatus[1: StatusCode = 'I0155'].StatusCode is not null and
_StatusObjectStatus[1: StatusCode = 'I0155'].StatusIsInactive <> 'X'))
group by
MaintenanceNotification
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MAINTENANCENOTIFICATIONTASK",
"I_STATUSOBJECTSTATUS"
],
"ASSOCIATED":
[
"I_MAINTENANCENOTIFICATION"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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