@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.sqlViewName : 'COBJPMNTNTFCAUSE'
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label : 'Maintenance Notification Cause'
@Metadata.allowExtensions: true
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@VDM.viewType: #CONSUMPTION
//@AccessControl.privilegedAssociations: ['_MaintNotifCauseQuickVw']
define view C_ObjPgMaintNotificationCause
as select from I_MaintNotificationCauseTP
// association [0..1] to C_MaintNotifCauseQuickVw as _MaintNotifCauseQuickVw on _MaintNotifCauseQuickVw.MaintenanceNotification = $projection.MaintenanceNotification
// and _MaintNotifCauseQuickVw.MaintenanceNotificationItem = $projection.MaintenanceNotificationItem
{
@UI.hidden: true
key I_MaintNotificationCauseTP.MaintenanceNotification,
@UI: {lineItem: { position: 10, importance: #HIGH } }
@ObjectModel.text.element: [ 'MaintNotifCauseText' ]
@UI.textArrangement: #TEXT_FIRST
key I_MaintNotificationCauseTP.MaintenanceNotificationCause,
@UI.hidden: true
key I_MaintNotificationCauseTP.MaintenanceNotificationItem,
// @Consumption.semanticObject : 'MaintenanceNotificationCause'
// @ObjectModel: { foreignKey.association : '_MaintNotifCauseQuickVw', mandatory: true }
// @ObjectModel.text.element: [ 'Cause Text' ]
// @UI:{
// fieldGroup: {
// importance: #HIGH,
// groupLabel: 'Notification Cause',
// qualifier: 'Notification Cause',
// position: 40
// }
// }
@Semantics.text: true
I_MaintNotificationCauseTP.MaintNotifCauseText,
@UI: {lineItem: { position: 20, importance: #HIGH } }
@EndUserText.label : 'Cause Code Group '
@ObjectModel.text.element: [ 'MaintNotifCauseCodeGroupName' ]
@UI.textArrangement: #TEXT_FIRST
I_MaintNotificationCauseTP.MaintNotifCauseCodeGroup,
@EndUserText.label : 'Cause Code Group Name'
@Semantics.text: true
replace(I_MaintNotificationCauseTP._MaintNotifCauseCodeGroup._Text[1:Language=$session.system_language].InspSpecAddlCodeGroupText, '&', ' ') as MaintNotifCauseCodeGroupName,
@UI: {lineItem: { position: 30, importance: #HIGH } }
@EndUserText.label : 'Cause Code'
@ObjectModel.text.element: [ 'MaintNotificationCauseCodeName' ]
@UI.textArrangement: #TEXT_FIRST
I_MaintNotificationCauseTP.MaintNotificationCauseCode,
@Semantics.text: true
@EndUserText.label : 'Cause Code Name'
I_MaintNotificationCauseTP._MaintNotificationCauseCode._Text[1:Language=$session.system_language].InspectionCodeText as MaintNotificationCauseCodeName,
@UI.hidden: true
I_MaintNotificationCauseTP._MaintenanceNotification.NotificationType,
/* Associations - DCL */
I_MaintNotificationCauseTP._MaintenanceNotification
// @Consumption.filter .hidden: true
// _MaintNotifCauseQuickVw
}
/*+[internal] {
"BASEINFO":
{
"FROM ":
[
"I_INSPECTIONCODE",
"I_INSPECTIONCODEGROUP",
"I_INSPECTIONCODEGROUPTEXT",
"I_INSPECTIONCODETEXT",
"I_MAINTENANCENOTIFICATION",
"I_MAINTNOTIFICATIONCAUSETP"
],
"ASSOCIATED":
[
"I_MAINTENANCENOTIFICATION"
],
"BASE":
[
"I_MAINTNOTIFICATIONCAUSETP"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Depth:
1
2
3
4
5
All
Reload
C_ObjPgMaintNotificationCause view