@VDM.private: true
@VDM.viewType: #CONSUMPTION
@AbapCatalog.sqlViewName: 'PMNOTIFREFOBJ'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
// Helper view to access the Reference Objects of the Notification
define view P_MaintNotifRefObject as select from I_MaintenanceNotification as _MaintenanceNotification {
key _MaintenanceNotification.MaintenanceNotification,
_MaintenanceNotification.MaintNotifInternalID,
_MaintenanceNotification.NotificationText,
_MaintenanceNotification._PMNotifMaintenanceData.Equipment,
_MaintenanceNotification._PMNotifMaintenanceData._LocationAccountAssignment.FunctionalLocation
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_LOCATIONACCOUNTASSIGNMENT",
"I_MAINTENANCENOTIFICATION",
"I_PMNOTIFMAINTENANCEDATA"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/