C_ObjPgMaintNotifWithDesc

DDL: C_OBJPGMAINTNOTIFWITHDESC Type: view_entity CONSUMPTION Package: ODATA_EAM_NTF_MAN

Maintenance Notification w/ Description

C_ObjPgMaintNotifWithDesc is a Consumption CDS View that provides data about "Maintenance Notification w/ Description" in SAP S/4HANA. It reads from 1 data source (I_MaintenanceNotification) and exposes 9 fields with key field MaintenanceNotification. It has 1 association to related views. Part of development package ODATA_EAM_NTF_MAN.

Data Sources (1)

SourceAliasJoin Type
I_MaintenanceNotification I_MaintenanceNotification from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_MaintNotifLongText _MaintNotifLongText _MaintNotifLongText.MaintenanceNotification = $projection.MaintenanceNotification

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Maintenance Notification w/ Description view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceNotification I_MaintenanceNotification MaintenanceNotification
MaintNotificationCodeGroup I_MaintenanceNotification MaintNotificationCodeGroup
MaintNotificationCodeGroupName
MaintNotificationCode I_MaintenanceNotification MaintNotificationCode
MaintNotificationCodeName
NotificationText I_MaintenanceNotification NotificationText Notification Text
MaintNotificationLongText Long Text
NotificationType I_MaintenanceNotification NotificationType
_PMNotifMaintenanceData I_MaintenanceNotification _PMNotifMaintenanceData
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #NOT_REQUIRED
@EndUserText.label: 'Maintenance Notification w/ Description'
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #MIXED
@VDM.viewType: #CONSUMPTION

/* OBSOLETE VIEW!!
In the Find Maintenance Notification application this view is not used anymore; all the attributes were moved to C_ObjPgMaintNotification*/
define view entity C_ObjPgMaintNotifWithDesc
  as select from I_MaintenanceNotification
  association [0..*] to I_MaintNotifLongText as _MaintNotifLongText on _MaintNotifLongText.MaintenanceNotification = $projection.MaintenanceNotification
{
  key I_MaintenanceNotification.MaintenanceNotification,

      @UI: { fieldGroup: [ {qualifier:'Info', position:10}] }
      @ObjectModel.text.element:  [  'MaintNotificationCodeGroupName']
      I_MaintenanceNotification.MaintNotificationCodeGroup,
      @Semantics.text: true
      I_MaintenanceNotification._MaintNotificationCodeGroup._Text[1:Language=$session.system_language].InspSpecAddlCodeGroupText                                                                                                                                                           as MaintNotificationCodeGroupName,
      @UI: { fieldGroup: [ {qualifier:'Info', position:20}] }
      @ObjectModel.text.element:  [  'MaintNotificationCodeName']
      I_MaintenanceNotification.MaintNotificationCode,
      @Semantics.text: true
      I_MaintenanceNotification._MaintNotificationCode._Text[1:Language=$session.system_language].InspectionCodeText                                                                                                                                                                       as MaintNotificationCodeName,
      @Semantics.text: true
      @UI: { fieldGroup:[{qualifier: 'Info', position: 30}] }
      @EndUserText.label: 'Notification Text'
      I_MaintenanceNotification.NotificationText,
      @Semantics.text: true
      @UI.multiLineText: true
      @UI: { fieldGroup:[{qualifier: 'Info', position: 40}] }
      @EndUserText.label: 'Long Text'
      @ObjectModel.virtualElement
      @ObjectModel.virtualElementCalculatedBy: 'CL_EAM_NTF_LTXT_EXIT'
      cast('' as eams_ltext ) as MaintNotificationLongText,  
      //_MaintNotifLongText[1:Language=$session.system_language].MaintNotificationLongText,

      
      // Technical fields for authorization

      I_MaintenanceNotification.NotificationType,
      
      /* Associations - DCL */
      I_MaintenanceNotification._PMNotifMaintenanceData                                                                                                                                                                                                                                         
}