C_MaintNotifActivityCount
Activity counter for Maintenance Notification
C_MaintNotifActivityCount is a Consumption CDS View that provides data about "Activity counter for Maintenance Notification" in SAP S/4HANA. It reads from 1 data source (I_MaintNotificationActivity) and exposes 5 fields with key fields MaintenanceNotification, MaintenanceNotificationItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaintNotificationActivity | I_MaintNotificationActivity | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMAINTNTFACTYCNT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.representativeKey | MaintenanceNotification | view | |
| EndUserText.label | Activity counter for Maintenance Notification | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceNotification | I_MaintNotificationActivity | MaintenanceNotification | |
| KEY | MaintenanceNotificationItem | I_MaintNotificationActivity | MaintenanceNotificationItem | |
| NumberOfMaintNotifActivities | Activities | |||
| _MaintenanceNotificationItem | _MaintenanceNotificationItem | |||
| _MaintenanceNotification | _MaintenanceNotification |
@AbapCatalog.sqlViewName: 'CMAINTNTFACTYCNT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #CONSUMPTION
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.representativeKey: 'MaintenanceNotification'
@EndUserText.label: 'Activity counter for Maintenance Notification'
define view C_MaintNotifActivityCount as select from I_MaintNotificationActivity
association[0..1] to I_MaintenanceNotificationItem as _MaintenanceNotificationItem on $projection.MaintenanceNotification = _MaintenanceNotificationItem.MaintenanceNotification
and $projection.MaintenanceNotificationItem = _MaintenanceNotificationItem.MaintenanceNotificationItem
association[0..1] to I_MaintenanceNotification as _MaintenanceNotification on $projection.MaintenanceNotification = _MaintenanceNotification.MaintenanceNotification
{
@ObjectModel.foreignKey.association: '_MaintenanceNotification'
key I_MaintNotificationActivity.MaintenanceNotification,
@ObjectModel.foreignKey.association: '_MaintenanceNotificationItem'
key I_MaintNotificationActivity.MaintenanceNotificationItem,
@EndUserText.label: 'Activities'
count( * ) as NumberOfMaintNotifActivities,
//Propagated associations
_MaintenanceNotificationItem,
_MaintenanceNotification
} group by MaintenanceNotification, MaintenanceNotificationItem
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MAINTNOTIFICATIONACTIVITY"
],
"ASSOCIATED":
[
"I_MAINTENANCENOTIFICATION",
"I_MAINTENANCENOTIFICATIONITEM"
],
"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