I_MaintNotificationActivity
Maintenance Notification Activity
I_MaintNotificationActivity is a Basic CDS View (Dimension) that provides data about "Maintenance Notification Activity" in SAP S/4HANA. It reads from 1 data source (qmma) and exposes 29 fields with key fields MaintNotificationActivity, MaintenanceNotification. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| qmma | qmma | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_MaintenanceNotification | _MaintenanceNotification | $projection.MaintenanceNotification = _MaintenanceNotification.MaintenanceNotification |
| [0..1] | I_MaintenanceNotificationItem | _MaintenanceNotificationItem | $projection.MaintenanceNotification = _MaintenanceNotificationItem.MaintenanceNotification and $projection.MaintenanceNotificationItem = _MaintenanceNotificationItem.MaintenanceNotificationItem |
| [0..1] | I_Indicator | _IsDeleted | $projection.IsDeleted = _IsDeleted.IndicatorValue |
| [0..1] | I_Inspectioncatalog | _MaintNotifActivityCodeCatalog | $projection.MaintNotifActivityCodeCatalog = _MaintNotifActivityCodeCatalog.InspectionCatalog |
| [0..1] | I_InspectionCodeGroup | _MaintNotifActivityCodeGroup | $projection.MaintNotifActivityCodeGroup = _MaintNotifActivityCodeGroup.InspectionCodeGroup and $projection.MaintNotifActivityCodeCatalog = _MaintNotifActivityCodeGroup.InspectionCatalog |
| [0..1] | I_InspectionCode | _MaintNotificationActivityCode | $projection.MaintNotificationActivityCode = _MaintNotificationActivityCode.InspectionCode and $projection.MaintNotifActivityCodeCatalog = _MaintNotificationActivityCode.InspectionCatalog and $projection.MaintNotifActivityCodeGroup = _MaintNotificationActivityCode.InspectionCodeGroup |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Maintenance Notification Activity | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | IMAINTNOTIFACTV | view | |
| ObjectModel.representativeKey | MaintNotificationActivity | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintNotificationActivity | qmma | manum | Task |
| KEY | MaintenanceNotification | qmma | qmnum | Notification |
| MaintenanceNotificationItem | qmma | fenum | Number of days | |
| MaintNotifActyTxt | qmma | matxt | Task Text | |
| MaintNotifActivitySortNumber | qmma | qmanum | Sort Number | |
| MaintNotifActivityCodeCatalog | ||||
| MaintNotificationActivityCode | ||||
| MaintNotifActivityCodeGroup | ||||
| IsDeleted | qmma | kzloesch | Delete | |
| CreatedByUser | qmma | ernam | User Name | |
| psterendasPlannedStartDate | ||||
| psturendasPlannedStartTime | ||||
| peterendasPlannedEndDate | ||||
| peturendasPlannedEndTime | ||||
| erdatendasCreationDate | ||||
| erzeitendasCreationTime | ||||
| aedatendasLastChangeDate | ||||
| aezeitendasLastChangeTime | ||||
| MaintNotifActyQtyFactor | qmma | mngfa | Quantity Factor | |
| LastChangeDateTime | qmma | changeddatetime | Time Stamp | |
| LastChangedByUser | qmma | aenam | User Name | |
| MaintNotifActivityEndDate | qmma | peter | Planned End | |
| NotificationHasLongText | qmma | indtx | Long text | |
| _MaintenanceNotification | _MaintenanceNotification | |||
| _MaintenanceNotificationItem | _MaintenanceNotificationItem | |||
| _MaintNotifActivityCodeCatalog | _MaintNotifActivityCodeCatalog | |||
| _MaintNotifActivityCodeGroup | _MaintNotifActivityCodeGroup | |||
| _MaintNotificationActivityCode | _MaintNotificationActivityCode | |||
| _IsDeleted | _IsDeleted |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_MaintNotificationActivity.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IMAINTNOTIFACTV
CREATE VIEW I_MaintNotificationActivity AS
SELECT
qmma.manum AS MaintNotificationActivity,
qmma.qmnum AS MaintenanceNotification,
qmma.fenum AS MaintenanceNotificationItem,
qmma.matxt AS MaintNotifActyTxt,
qmma.qmanum AS MaintNotifActivitySortNumber,
cast( qmma.mnkat as eam_activity_code_catalog ) AS MaintNotifActivityCodeCatalog,
cast( qmma.mncod as eam_activity_code ) AS MaintNotificationActivityCode,
cast( qmma.mngrp as eam_activity_code_group ) AS MaintNotifActivityCodeGroup,
qmma.kzloesch AS IsDeleted,
qmma.ernam AS CreatedByUser,
case qmma.pstur when '240000' then dats_add_days(qmma.pster,1,'NULL') else qmma.pster end as PlannedStartDate AS psterendasPlannedStartDate,
case qmma.pstur when '240000' then '000000' else qmma.pstur end as PlannedStartTime AS psturendasPlannedStartTime,
case qmma.petur when '240000' then dats_add_days(qmma.peter,1,'NULL') else qmma.peter end as PlannedEndDate AS peterendasPlannedEndDate,
case qmma.petur when '240000' then '000000' else qmma.petur end as PlannedEndTime AS peturendasPlannedEndTime,
case qmma.erzeit when '240000' then dats_add_days(qmma.erdat,1,'NULL') else qmma.erdat end as CreationDate AS erdatendasCreationDate,
case qmma.erzeit when '240000' then '000000' else qmma.erzeit end as CreationTime AS erzeitendasCreationTime,
case qmma.aezeit when '240000' then dats_add_days(qmma.aedat,1,'NULL') else qmma.aedat end as LastChangeDate AS aedatendasLastChangeDate,
case qmma.aezeit when '240000' then '000000' else qmma.aezeit end as LastChangeTime AS aezeitendasLastChangeTime,
qmma.mngfa AS MaintNotifActyQtyFactor,
qmma.changeddatetime AS LastChangeDateTime,
qmma.aenam AS LastChangedByUser,
qmma.peter AS MaintNotifActivityEndDate,
qmma.indtx AS NotificationHasLongText
FROM qmma
LEFT OUTER JOIN I_MaintenanceNotification AS _MaintenanceNotification ON MaintenanceNotification = _MaintenanceNotification.MaintenanceNotification -- association [1..1]
LEFT OUTER JOIN I_MaintenanceNotificationItem AS _MaintenanceNotificationItem ON MaintenanceNotification = _MaintenanceNotificationItem.MaintenanceNotification AND MaintenanceNotificationItem = _MaintenanceNotificationItem.MaintenanceNotificationItem -- association [0..1]
LEFT OUTER JOIN I_Indicator AS _IsDeleted ON IsDeleted = _IsDeleted.IndicatorValue -- association [0..1]
LEFT OUTER JOIN I_Inspectioncatalog AS _MaintNotifActivityCodeCatalog ON MaintNotifActivityCodeCatalog = _MaintNotifActivityCodeCatalog.InspectionCatalog -- association [0..1]
LEFT OUTER JOIN I_InspectionCodeGroup AS _MaintNotifActivityCodeGroup ON MaintNotifActivityCodeGroup = _MaintNotifActivityCodeGroup.InspectionCodeGroup AND MaintNotifActivityCodeCatalog = _MaintNotifActivityCodeGroup.InspectionCatalog -- association [0..1]
LEFT OUTER JOIN I_InspectionCode AS _MaintNotificationActivityCode ON MaintNotificationActivityCode = _MaintNotificationActivityCode.InspectionCode AND MaintNotifActivityCodeCatalog = _MaintNotificationActivityCode.InspectionCatalog AND MaintNotifActivityCodeGroup = _MaintNotificationActivityCode.InspectionCodeGroup -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA