P_MaintNotificationSearch

DDL: P_MAINTNOTIFICATIONSEARCH SQL: PNOTIFSEARCH Type: view BASIC Package: BSESH_PM

Maintenance Notification anchor view for CDS search model

P_MaintNotificationSearch is a Basic CDS View that provides data about "Maintenance Notification anchor view for CDS search model" in SAP S/4HANA. It reads from 1 data source (I_MaintenanceNotification) and exposes 67 fields with key field MaintenanceNotification. It has 1 association to related views. Part of development package BSESH_PM.

Data Sources (1)

SourceAliasJoin Type
I_MaintenanceNotification I_MaintenanceNotification from

Parameters (1)

NameTypeDefault
P_Language abap.lang

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_TextObjectPlainLongText _LongText $projection.MaintenanceNotification = _LongText.TextObjectKey and _LongText.TextObjectCategory = 'QMEL' and _LongText.TextObjectType = 'LTXT'

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PNOTIFSEARCH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #BASIC view
ObjectModel.representativeKey MaintenanceNotification view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (67)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceNotification MaintenanceNotification
MaintPriority MaintPriority
MaintPriorityType MaintPriorityType
NotificationType NotificationType
NotifProcessingPhase I_MaintenanceNotification NotifProcessingPhase
CreatedByUser CreatedByUser
LastChangedByUser LastChangedByUser
ReportedByUser ReportedByUser
CreationDate CreationDate
LastChangeTime LastChangeTime
LastChangeDate LastChangeDate
CreationTime CreationTime
CreationDateTime CreationDateTime
NotificationText NotificationText
MaintenanceOrder MaintenanceOrder
RequiredStartDate RequiredStartDate
RequiredStartTime RequiredStartTime
RequiredEndDate RequiredEndDate
RequiredEndTime RequiredEndTime
NotificationCreationDate NotificationCreationDate
NotificationCreationTime NotificationCreationTime
NotificationReferenceDate NotificationReferenceDate
NotificationHasLongText NotificationHasLongText
MaintNotifInternalID MaintNotifInternalID
NotificationTimeZone NotificationTimeZone
NotificationReferenceTime NotificationReferenceTime
NotificationCompletionDate NotificationCompletionDate
NotificationCompletionTime NotificationCompletionTime
WorkCenterInternalID WorkCenterInternalID
WorkCenterTypeCode WorkCenterTypeCode
MaintenanceWorkCenterPlant MaintenanceWorkCenterPlant
MaintNotificationCatalog MaintNotificationCatalog
MaintNotificationCode MaintNotificationCode
MaintNotificationCodeGroup MaintNotificationCodeGroup
CatalogProfile CatalogProfile
NotificationOrigin NotificationOrigin
IsDeleted IsDeleted
IsCompleted IsCompleted
LastChangeDateTime LastChangeDateTime
LatestAcceptableCompletionDate _PMNotifMaintenanceData LatestAcceptableCompletionDate
_CreatedByUser _CreatedByUser
_IsCompleted _IsCompleted
_IsDeleted _IsDeleted
_LastChangedByUser _LastChangedByUser
_LinearAssetManagementData _LinearAssetManagementData
_MaintenanceNotificationItem _MaintenanceNotificationItem
_Maintenancenotificationtask _Maintenancenotificationtask
_MaintenanceOrder _MaintenanceOrder
_MaintenancePartner _MaintenancePartner
_MaintenanceWorkCenterPlant _MaintenanceWorkCenterPlant
_MaintNotificationActivity _MaintNotificationActivity
_MaintNotificationCatalog _MaintNotificationCatalog
_MaintNotificationCode _MaintNotificationCode
_MaintNotificationCodeGroup _MaintNotificationCodeGroup
_MainWorkCenter _MainWorkCenter
_NotificationHasLongText _NotificationHasLongText
_PMNotificationPhase _PMNotificationPhase
_PMNotificationPriority _PMNotificationPriority
_PMNotificationPriorityType _PMNotificationPriorityType
_PMNotificationType _PMNotificationType
_PMNotifMaintenanceData _PMNotifMaintenanceData
_ReportedByUser _ReportedByUser
_StatusObject _StatusObject
_StatusObjectActiveStatus _StatusObjectActiveStatus
_TechnicalObjectCodeCatalog _TechnicalObjectCodeCatalog
_WorkCenterType _WorkCenterType
_LongText _LongText
//Maintenance Notification anchor view for CDS search model

@AbapCatalog.sqlViewName: 'PNOTIFSEARCH'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.privilegedAssociations: ['_LongText']
@VDM.private: true
@VDM.viewType: #BASIC
@ObjectModel.representativeKey: 'MaintenanceNotification'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory : #L
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_MaintNotificationSearch
  with parameters
    @Consumption.hidden: true
    @Environment.systemField: #SYSTEM_LANGUAGE
    P_Language : abap.lang
  as select from I_MaintenanceNotification
  association [0..*] to I_TextObjectPlainLongText as _LongText on  $projection.MaintenanceNotification = _LongText.TextObjectKey
                                                               and _LongText.TextObjectCategory        = 'QMEL'
                                                               and _LongText.TextObjectType            = 'LTXT'
{
      //I_MaintenanceNotification

  key MaintenanceNotification,
      MaintPriority,
      MaintPriorityType,
      NotificationType,
      I_MaintenanceNotification.NotifProcessingPhase,
      CreatedByUser,
      LastChangedByUser,
      ReportedByUser,
      CreationDate,
      LastChangeTime,
      LastChangeDate,
      CreationTime,
      CreationDateTime,
      NotificationText,
      MaintenanceOrder,
      RequiredStartDate,
      RequiredStartTime,
      RequiredEndDate,
      RequiredEndTime,
      NotificationCreationDate,
      NotificationCreationTime,
      NotificationReferenceDate,
      NotificationHasLongText,
      MaintNotifInternalID,
      NotificationTimeZone,
      NotificationReferenceTime,
      NotificationCompletionDate,
      NotificationCompletionTime,
      WorkCenterInternalID,
      WorkCenterTypeCode,
      MaintenanceWorkCenterPlant,
      MaintNotificationCatalog,
      MaintNotificationCode,
      MaintNotificationCodeGroup,
      CatalogProfile,
      NotificationOrigin,
      IsDeleted,
      IsCompleted,
      LastChangeDateTime,
      _PMNotifMaintenanceData.LatestAcceptableCompletionDate,
      /* Associations */
      //I_MaintenanceNotification

      _CreatedByUser,
      _IsCompleted,
      _IsDeleted,
      _LastChangedByUser,
      _LinearAssetManagementData,
      _MaintenanceNotificationItem,
      _Maintenancenotificationtask,
      _MaintenanceOrder,
      _MaintenancePartner,
      _MaintenanceWorkCenterPlant,
      _MaintNotificationActivity,
      _MaintNotificationCatalog,
      _MaintNotificationCode,
      _MaintNotificationCodeGroup,
      _MainWorkCenter,
      _NotificationHasLongText,
      _PMNotificationPhase,
      _PMNotificationPriority,
      _PMNotificationPriorityType,
      _PMNotificationType,
      _PMNotifMaintenanceData,
      _ReportedByUser,
      _StatusObject,
      _StatusObjectActiveStatus,
      _TechnicalObjectCodeCatalog,
      _WorkCenterType,
      _LongText
}