I_MaintenanceNotificationTask
Maintenance Notification Task
I_MaintenanceNotificationTask is a Basic CDS View (Dimension) that provides data about "Maintenance Notification Task" in SAP S/4HANA. It reads from 1 data source (qmsm) and exposes 47 fields with key fields MaintenanceNotificationTask, MaintenanceNotification. It has 16 associations to related views. Part of development package IWOC.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| qmsm | qmsm | from |
Associations (16)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_MaintenanceNotification | _MaintenanceNotification | $projection.MaintenanceNotification = _MaintenanceNotification.MaintenanceNotification |
| [0..1] | I_MaintenanceNotificationItem | _MaintenanceNotificationItem | _MaintenanceNotificationItem.MaintenanceNotification = $projection.MaintenanceNotification and _MaintenanceNotificationItem.MaintenanceNotificationItem = $projection.MaintenanceNotificationItem |
| [0..1] | I_StatusObject | _StatusObject | $projection.MaintNotifTaskInternalID = _StatusObject.StatusObject |
| [0..1] | I_Indicator | _IsDeleted | $projection.IsDeleted = _IsDeleted.IndicatorValue |
| [0..*] | I_StatusObjectStatus | _StatusObjectStatus | $projection.MaintNotifTaskInternalID = _StatusObjectStatus.StatusObject |
| [0..1] | I_InspectionCode | _MaintNotificationTaskCode | $projection.MaintNotifTaskCode = _MaintNotificationTaskCode.InspectionCode and $projection.MaintNotifTaskCodeCatalog = _MaintNotificationTaskCode.InspectionCatalog and $projection.MaintNotifTaskCodeGroup = _MaintNotificationTaskCode.InspectionCodeGroup |
| [0..1] | I_Inspectioncatalog | _MaintNotifTaskCodeCatalog | $projection.MaintNotifTaskCodeCatalog = _MaintNotifTaskCodeCatalog.InspectionCatalog |
| [0..1] | I_InspectionCodeGroup | _MaintNotifTaskCodeGroup | $projection.MaintNotifTaskCodeGroup = _MaintNotifTaskCodeGroup.InspectionCodeGroup and $projection.MaintNotifTaskCodeCatalog = _MaintNotifTaskCodeGroup.InspectionCatalog |
| [0..1] | I_PartnerFunction | _PartnerFunction | $projection.ResponsiblePersonFunctionCode = _PartnerFunction.PartnerFunction |
| [0..1] | I_ContactPerson | _ContactPerson | _ContactPerson.ContactPerson = $projection.ResponsiblePerson |
| [0..1] | I_Customer | _Customer | _Customer.Customer = $projection.ResponsiblePerson |
| [0..1] | I_WorkforcePerson | _Employee | _Employee.PersonExternalID = $projection.ResponsiblePerson |
| [0..1] | I_OrganizationalUnitText | _OrganizationalUnitText | _OrganizationalUnitText.OrganizationalUnit = $projection.ResponsiblePerson and _OrganizationalUnitText.Language = $session.system_language and _OrganizationalUnitText.StartDate <= $session.system_date and _OrganizationalUnitText.EndDate >= $session.system_date |
| [0..1] | I_PMPositionText | _PositionText | _PositionText.PositionID = $projection.ResponsiblePerson and _PositionText.Language = $session.system_language and _PositionText.StartDate <= $session.system_date and _PositionText.EndDate >= $session.system_date |
| [0..1] | I_Supplier | _Supplier | _Supplier.Supplier = $projection.ResponsiblePerson |
| [0..1] | I_User | _User | _User.UserID = $projection.ResponsiblePerson |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| EndUserText.label | Maintenance Notification Task | view | |
| ObjectModel.representativeKey | MaintenanceNotificationTask | view | |
| Analytics.technicalName | IMAINTNOTIFTASK | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view |
Fields (47)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceNotificationTask | qmsm | manum | Task |
| KEY | MaintenanceNotification | qmsm | qmnum | Notification |
| MaintenanceNotificationItem | qmsm | fenum | Number of days | |
| MaintenanceNotificationCause | qmsm | urnum | Cause | |
| MaintNotifTaskTxt | qmsm | matxt | Task Text | |
| MaintNotifTaskCodeCatalog | qmsm | mnkat | Catalog type | |
| MaintNotifTaskCodeGroup | qmsm | mngrp | Code Group | |
| MaintNotifTaskCode | qmsm | mncod | Task Code | |
| psterendasPlannedStartDate | ||||
| psturendasPlannedStartTime | ||||
| peterendasPlannedEndDate | ||||
| peturendasPlannedEndTime | ||||
| erdatendasCreationDate | ||||
| erzeitendasCreationTime | ||||
| aedatendasLastChangeDate | ||||
| aezeitendasLastChangeTime | ||||
| erldatendasCompletionDate | ||||
| erlzeitendasCompletionTime | ||||
| CompletedByUser | qmsm | erlnam | Completed By | |
| ResponsiblePersonFunctionCode | qmsm | parvw | Task Processor | |
| ResponsiblePerson | qmsm | parnr | Responsible | |
| MaintNotifTaskInternalID | qmsm | objnr | Val. Obj. No. | |
| IsDeleted | qmsm | kzloesch | Delete | |
| LastChangeDateTime | qmsm | changeddatetime | Time Stamp | |
| CreatedByUser | qmsm | ernam | User Name | |
| LastChangedByUser | qmsm | aenam | User Name | |
| MaintNotifTaskFollowUpAction | qmsm | folgeact | Follow-Up Actn | |
| MaintNotifTaskHasFollowUpActn | qmsm | folactprot | Follow-UpActLog | |
| MaintNotificationTaskIsDeleted | qmsm | kzloesch | Delete | |
| MaintNotifTaskResubmissionTime | qmsm | wdvzeit | Resubmission Time | |
| MaintNotifTaskSortNumber | qmsm | qsmnum | Sort Number | |
| _MaintenanceNotification | _MaintenanceNotification | |||
| _MaintenanceNotificationItem | _MaintenanceNotificationItem | |||
| _MaintNotificationTaskCode | _MaintNotificationTaskCode | |||
| _MaintNotifTaskCodeCatalog | _MaintNotifTaskCodeCatalog | |||
| _MaintNotifTaskCodeGroup | _MaintNotifTaskCodeGroup | |||
| _StatusObject | _StatusObject | |||
| _IsDeleted | _IsDeleted | |||
| _PartnerFunction | _PartnerFunction | |||
| _StatusObjectStatus | _StatusObjectStatus | |||
| _ContactPerson | _ContactPerson | |||
| _Customer | _Customer | |||
| _Employee | _Employee | |||
| _OrganizationalUnitText | _OrganizationalUnitText | |||
| _PositionText | _PositionText | |||
| _Supplier | _Supplier | |||
| _User | _User |
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_MaintenanceNotificationTask.
-- 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.
CREATE VIEW I_MaintenanceNotificationTask AS
SELECT
qmsm.manum AS MaintenanceNotificationTask,
qmsm.qmnum AS MaintenanceNotification,
qmsm.fenum AS MaintenanceNotificationItem,
qmsm.urnum AS MaintenanceNotificationCause,
qmsm.matxt AS MaintNotifTaskTxt,
qmsm.mnkat AS MaintNotifTaskCodeCatalog,
qmsm.mngrp AS MaintNotifTaskCodeGroup,
qmsm.mncod AS MaintNotifTaskCode,
case qmsm.pstur when '240000' then dats_add_days(qmsm.pster,1,'NULL') else qmsm.pster end as PlannedStartDate AS psterendasPlannedStartDate,
case qmsm.pstur when '240000' then '000000' else qmsm.pstur end as PlannedStartTime AS psturendasPlannedStartTime,
case qmsm.petur when '240000' then dats_add_days(qmsm.peter,1,'NULL') else qmsm.peter end as PlannedEndDate AS peterendasPlannedEndDate,
case qmsm.petur when '240000' then '000000' else qmsm.petur end as PlannedEndTime AS peturendasPlannedEndTime,
case qmsm.erzeit when '240000' then dats_add_days(qmsm.erdat,1,'NULL') else qmsm.erdat end as CreationDate AS erdatendasCreationDate,
case qmsm.erzeit when '240000' then '000000' else qmsm.erzeit end as CreationTime AS erzeitendasCreationTime,
case qmsm.aezeit when '240000' then dats_add_days(qmsm.aedat,1,'NULL') else qmsm.aedat end as LastChangeDate AS aedatendasLastChangeDate,
case qmsm.aezeit when '240000' then '000000' else qmsm.aezeit end as LastChangeTime AS aezeitendasLastChangeTime,
case qmsm.erlzeit when '240000' then dats_add_days(qmsm.erldat,1,'NULL') else qmsm.erldat end as CompletionDate AS erldatendasCompletionDate,
case qmsm.erlzeit when '240000' then '000000' else qmsm.erlzeit end as CompletionTime AS erlzeitendasCompletionTime,
qmsm.erlnam AS CompletedByUser,
qmsm.parvw AS ResponsiblePersonFunctionCode,
qmsm.parnr AS ResponsiblePerson,
qmsm.objnr AS MaintNotifTaskInternalID,
qmsm.kzloesch AS IsDeleted,
qmsm.changeddatetime AS LastChangeDateTime,
qmsm.ernam AS CreatedByUser,
qmsm.aenam AS LastChangedByUser,
qmsm.folgeact AS MaintNotifTaskFollowUpAction,
qmsm.folactprot AS MaintNotifTaskHasFollowUpActn,
qmsm.kzloesch AS MaintNotificationTaskIsDeleted,
qmsm.wdvzeit AS MaintNotifTaskResubmissionTime,
qmsm.qsmnum AS MaintNotifTaskSortNumber
FROM qmsm
LEFT OUTER JOIN I_MaintenanceNotification AS _MaintenanceNotification ON MaintenanceNotification = _MaintenanceNotification.MaintenanceNotification -- association [1..1]
LEFT OUTER JOIN I_MaintenanceNotificationItem AS _MaintenanceNotificationItem ON _MaintenanceNotificationItem.MaintenanceNotification = MaintenanceNotification AND _MaintenanceNotificationItem.MaintenanceNotificationItem = MaintenanceNotificationItem -- association [0..1]
LEFT OUTER JOIN I_StatusObject AS _StatusObject ON MaintNotifTaskInternalID = _StatusObject.StatusObject -- association [0..1]
LEFT OUTER JOIN I_Indicator AS _IsDeleted ON IsDeleted = _IsDeleted.IndicatorValue -- association [0..1]
LEFT OUTER JOIN I_StatusObjectStatus AS _StatusObjectStatus ON MaintNotifTaskInternalID = _StatusObjectStatus.StatusObject -- association [0..*]
LEFT OUTER JOIN I_InspectionCode AS _MaintNotificationTaskCode ON MaintNotifTaskCode = _MaintNotificationTaskCode.InspectionCode AND MaintNotifTaskCodeCatalog = _MaintNotificationTaskCode.InspectionCatalog AND MaintNotifTaskCodeGroup = _MaintNotificationTaskCode.InspectionCodeGroup -- association [0..1]
LEFT OUTER JOIN I_Inspectioncatalog AS _MaintNotifTaskCodeCatalog ON MaintNotifTaskCodeCatalog = _MaintNotifTaskCodeCatalog.InspectionCatalog -- association [0..1]
LEFT OUTER JOIN I_InspectionCodeGroup AS _MaintNotifTaskCodeGroup ON MaintNotifTaskCodeGroup = _MaintNotifTaskCodeGroup.InspectionCodeGroup AND MaintNotifTaskCodeCatalog = _MaintNotifTaskCodeGroup.InspectionCatalog -- association [0..1]
LEFT OUTER JOIN I_PartnerFunction AS _PartnerFunction ON ResponsiblePersonFunctionCode = _PartnerFunction.PartnerFunction -- association [0..1]
LEFT OUTER JOIN I_ContactPerson AS _ContactPerson ON _ContactPerson.ContactPerson = ResponsiblePerson -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON _Customer.Customer = ResponsiblePerson -- association [0..1]
LEFT OUTER JOIN I_WorkforcePerson AS _Employee ON _Employee.PersonExternalID = ResponsiblePerson -- association [0..1]
LEFT OUTER JOIN I_OrganizationalUnitText AS _OrganizationalUnitText ON _OrganizationalUnitText.OrganizationalUnit = ResponsiblePerson AND _OrganizationalUnitText.Language = $session.system_language AND _OrganizationalUnitText.StartDate <= $session.system_date AND _OrganizationalUnitText.EndDate >= $session.system_date -- association [0..1]
LEFT OUTER JOIN I_PMPositionText AS _PositionText ON _PositionText.PositionID = ResponsiblePerson AND _PositionText.Language = $session.system_language AND _PositionText.StartDate <= $session.system_date AND _PositionText.EndDate >= $session.system_date -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON _Supplier.Supplier = ResponsiblePerson -- association [0..1]
LEFT OUTER JOIN I_User AS _User ON _User.UserID = ResponsiblePerson -- 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