R_MaintNotificationTaskTP

DDL: R_MAINTNOTIFICATIONTASKTP SQL: RNOTIFTASK Type: view_entity TRANSACTIONAL Package: RAP_EAM_NTF

Maintenance Notification Task

R_MaintNotificationTaskTP is a Transactional CDS View that provides data about "Maintenance Notification Task" in SAP S/4HANA. It reads from 1 data source (I_MaintenanceNotificationTask) and exposes 43 fields with key fields MaintenanceNotification, MaintenanceNotificationTask. Part of development package RAP_EAM_NTF.

Data Sources (1)

SourceAliasJoin Type
I_MaintenanceNotificationTask I_MaintenanceNotificationTask from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Maintenance Notification Task view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fields (43)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceNotification MaintenanceNotification Notification
KEY MaintenanceNotificationTask MaintenanceNotificationTask Task
MaintenanceNotificationItem MaintenanceNotificationItem Number of days
MaintNotifTaskTxt MaintNotifTaskTxt Task Text
MaintNotifTaskCodeCatalog MaintNotifTaskCodeCatalog Catalog type
MaintNotifTaskCodeGroup MaintNotifTaskCodeGroup Code Group
MaintNotifTaskCode MaintNotifTaskCode Task Code
PlannedStartDate PlannedStartDate Latest Planned Start
PlannedStartTime PlannedStartTime
PlannedEndDate PlannedEndDate Ltst Planned Finish
PlannedEndTime PlannedEndTime
CompletedByUser CompletedByUser Completed By
CompletionDate CompletionDate Completion Date
CompletionTime CompletionTime Completion Time
ResponsiblePersonFunctionCode Task Processor
MaintNotifPersonResponsible ResponsiblePerson Processor
IsDeleted IsDeleted TRUE
LastChangeDateTime LastChangeDateTime Timestamp
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
LastChangedByUser LastChangedByUser User Name
LastChangeDate LastChangeDate Time Stamp
CreationTime CreationTime Time of Change
LastChangeTime LastChangeTime Time changed
MaintNotifTaskPlndStrtDateTime
MaintNotifTaskPlndEndDateTime
MaintNotifTaskCompltnDateTime
MaintNotifTaskCreationDateTime
MaintNotifTaskChangedDateTime
_Notif _Notif
_MaintenanceNotification _MaintenanceNotification
_MaintenanceNotificationItem _MaintenanceNotificationItem
_MaintNotificationTaskCode _MaintNotificationTaskCode
_MaintNotifTaskCodeGroup _MaintNotifTaskCodeGroup
_IsDeleted _IsDeleted
_PartnerFunction _PartnerFunction
_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 R_MaintNotificationTaskTP.
-- 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: RNOTIFTASK

CREATE VIEW R_MaintNotificationTaskTP AS
SELECT
  MaintenanceNotification,
  MaintenanceNotificationTask,
  MaintenanceNotificationItem,
  MaintNotifTaskTxt,
  MaintNotifTaskCodeCatalog,
  MaintNotifTaskCodeGroup,
  MaintNotifTaskCode,
  PlannedStartDate,
  PlannedStartTime,
  PlannedEndDate,
  PlannedEndTime,
  CompletedByUser,
  CompletionDate,
  CompletionTime,
  cast( ResponsiblePersonFunctionCode as parvw_unv preserving type ) AS ResponsiblePersonFunctionCode,
  ResponsiblePerson AS MaintNotifPersonResponsible,
  IsDeleted,
  LastChangeDateTime,
  CreatedByUser,
  CreationDate,
  LastChangedByUser,
  LastChangeDate,
  CreationTime,
  LastChangeTime,
  cast (dats_tims_to_tstmp( PlannedStartDate, PlannedStartTime, I_MaintenanceNotificationTask._MaintenanceNotification.NotificationTimeZone , $session.client, 'NULL') as tzntstmps preserving type ) AS MaintNotifTaskPlndStrtDateTime,
  cast (dats_tims_to_tstmp( PlannedEndDate, PlannedEndTime, I_MaintenanceNotificationTask._MaintenanceNotification.NotificationTimeZone , $session.client, 'NULL') as tzntstmps preserving type ) AS MaintNotifTaskPlndEndDateTime,
  cast (dats_tims_to_tstmp( CompletionDate, CompletionTime, I_MaintenanceNotificationTask._MaintenanceNotification.NotificationTimeZone , $session.client, 'NULL') as tzntstmps preserving type ) AS MaintNotifTaskCompltnDateTime,
  cast (dats_tims_to_tstmp( CreationDate, CreationTime, abap_system_timezone( $session.client,'NULL' ) , $session.client, 'NULL') as tzntstmps preserving type ) AS MaintNotifTaskCreationDateTime,
  cast (dats_tims_to_tstmp( LastChangeDate, LastChangeTime, abap_system_timezone( $session.client,'NULL' ) , $session.client, 'NULL') as tzntstmps preserving type ) AS MaintNotifTaskChangedDateTime
FROM I_MaintenanceNotificationTask
;