C_MaintNotifCodeVH

DDL: C_MAINTNOTIFCODEVH SQL: CMAINTNOTIFCODE Type: view CONSUMPTION

Maintenance Notification Code

C_MaintNotifCodeVH is a Consumption CDS View that provides data about "Maintenance Notification Code" in SAP S/4HANA. It reads from 1 data source (I_InspectionCode) and exposes 9 fields with key fields InspectionCatalog, InspectionCode, InspectionCodeGroup. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_InspectionCode I_InspectionCode from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_Inspectioncodegrouptext _InspectionCodeGroupText _InspectionCodeGroupText.InspectionCatalog = $projection.InspectionCatalog and _InspectionCodeGroupText.InspectionCodeGroup = $projection.InspectionCodeGroup

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CMAINTNOTIFCODE view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
EndUserText.label Maintenance Notification Code view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
Search.searchable true view
ObjectModel.dataCategory #VALUE_HELP view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY InspectionCatalog I_InspectionCode InspectionCatalog
KEY InspectionCode I_InspectionCode InspectionCode Code
KEY InspectionCodeGroup I_InspectionCode InspectionCodeGroup Code Group
InspectionCodeText Code Text
InspSpecAddlCodeGroupText Code Group Text
CodeIsInactive I_InspectionCode CodeIsInactive
_InspectionCodeGroupText _InspectionCodeGroupText
_InspectionCodeGroup I_InspectionCode _InspectionCodeGroup
_InspectionCatalog _InspectionCatalog
@AbapCatalog.sqlViewName: 'CMAINTNOTIFCODE'
@VDM.viewType: #CONSUMPTION

@AccessControl.authorizationCheck: #CHECK
@AccessControl.privilegedAssociations: ['_InspectionCodeGroupText']
@Metadata.ignorePropagatedAnnotations: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: {
  usageType: {
    serviceQuality: #B,
    sizeCategory: #M,
    dataClass: #CUSTOMIZING }
}
@EndUserText.label: 'Maintenance Notification Code' 
@AbapCatalog.preserveKey:true
@AbapCatalog.compiler.compareFilter:true
@Search.searchable: true
@ObjectModel.dataCategory: #VALUE_HELP
define view C_MaintNotifCodeVH
  as select from I_InspectionCode
  association [0..*] to I_Inspectioncodegrouptext as _InspectionCodeGroupText on  _InspectionCodeGroupText.InspectionCatalog   = $projection.InspectionCatalog
                                                                              and _InspectionCodeGroupText.InspectionCodeGroup = $projection.InspectionCodeGroup

{
      @UI.lineItem: [{ position: 10 }]
      @Search.defaultSearchElement: true
  key I_InspectionCode.InspectionCatalog,
      @Search.defaultSearchElement: true
      @ObjectModel.text.element:  [ 'InspectionCodeText' ]
      @EndUserText.label: 'Code'
      @UI.lineItem: [{ position: 20 }]
  key I_InspectionCode.InspectionCode,
      @Search.defaultSearchElement: true
      @ObjectModel.text.element: ['InspSpecAddlCodeGroupText']
      @EndUserText.label: 'Code Group'
      @UI.lineItem: [{ position: 30 }]
  key I_InspectionCode.InspectionCodeGroup,

      @Search.defaultSearchElement: true
      @Semantics.text: true
      @EndUserText.label: 'Code Text'
      I_InspectionCode._Text[1: Language = $session.system_language ].InspectionCodeText,
      @Search.defaultSearchElement: true
      @EndUserText.label: 'Code Group Text'
      _InspectionCodeGroupText[1: Language = $session.system_language ].InspSpecAddlCodeGroupText,
      @Consumption.hidden: true
      @UI.hidden: true
      I_InspectionCode.CodeIsInactive,
      _InspectionCodeGroupText,
      I_InspectionCode._InspectionCodeGroup,
      _InspectionCatalog

}
where
  I_InspectionCode.CodeIsInactive = ''