C_MaintNotifEffectCodeGroupVH

DDL: C_MAINTNOTIFEFFECTCODEGROUPVH Type: view_entity CONSUMPTION

Maint Notif Failure Effect Group

C_MaintNotifEffectCodeGroupVH is a Consumption CDS View that provides data about "Maint Notif Failure Effect Group" in SAP S/4HANA. It reads from 1 data source (I_PMNotificationType) and exposes 9 fields with key fields InspectionCatalog, InspectionCodeGroup. It has 2 associations to related views. It is exposed through 1 OData service (UI_MAINTWORKREQUESTOVERVIEW).

Data Sources (1)

SourceAliasJoin Type
I_PMNotificationType pmnotiftype inner

Associations (2)

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

Annotations (9)

NameValueLevelField
EndUserText.label Maint Notif Failure Effect Group view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Search.searchable true view
ObjectModel.representativeKey InspectionCodeGroup view

OData Services (1)

ServiceBindingVersionContractRelease
UI_MAINTWORKREQUESTOVERVIEW UI_MAINTWORKREQUESTOVW_V2 V2 C1 NOT_RELEASED

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY InspectionCatalog I_InspectionCodeGroup InspectionCatalog
KEY InspectionCodeGroup I_InspectionCodeGroup InspectionCodeGroup Failure Effect Group
CodeGroupStatus I_InspectionCodeGroup CodeGroupStatus
CatalogProfile Catalog Profile
NotificationType
InspSpecAddlCodeGroupText Failure Mode Group Text
InspSpecAdditionalCatalogText Catalog Text
_InspectionCodeGroupText _InspectionCodeGroupText
_NotificationCatalogText _NotificationCatalogText
@EndUserText.label: 'Maint Notif Failure Effect Group'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #CONSUMPTION

@ObjectModel.dataCategory: #VALUE_HELP

@ObjectModel: {
  usageType: {
    serviceQuality: #C,
    sizeCategory: #M,
    dataClass: #CUSTOMIZING }
}
@Search.searchable: true
@ObjectModel.representativeKey: 'InspectionCodeGroup'

define view entity C_MaintNotifEffectCodeGroupVH
  as select distinct from I_InspectionCodeGroup
  inner join I_PMNotificationType as pmnotiftype on I_InspectionCodeGroup.InspectionCatalog = pmnotiftype.MaintNotifEffectCatalog
  association [0..*] to I_Inspectioncodegrouptext as _InspectionCodeGroupText on  _InspectionCodeGroupText.InspectionCatalog   = $projection.InspectionCatalog
                                                                              and _InspectionCodeGroupText.InspectionCodeGroup = $projection.InspectionCodeGroup

  association [0..*] to I_NotificationCatalogText as _NotificationCatalogText on  $projection.InspectionCatalog = _NotificationCatalogText.NotificationCatalog
{
      @Search: { defaultSearchElement: true , fuzzinessThreshold: 0.7}
      @UI.lineItem: [{ position: 40 }]
      @UI.selectionField: [{ position: 10  }]

      @Consumption.valueHelpDefinition: [
      { entity:  { name:    'I_Inspectioncatalog',
                     element: 'InspectionCatalog' }
                     }]
  key I_InspectionCodeGroup.InspectionCatalog,

      @Search: { defaultSearchElement: true , ranking: #HIGH, fuzzinessThreshold: 0.7 }
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_InspectionCodeGroupStdVH',
                     element: 'InspectionCodeGroup' },
          additionalBinding: [{ localElement: 'InspectionCatalog',
                                element: 'InspectionCatalog' }]
        }]
      @ObjectModel.text.element: ['InspSpecAddlCodeGroupText']
      @EndUserText.label: 'Failure Effect Group'
      @UI.lineItem: [{ position: 20 }]
      @UI.selectionField: [{ position: 30  }]
  key I_InspectionCodeGroup.InspectionCodeGroup,

      @UI.hidden: true
      I_InspectionCodeGroup.CodeGroupStatus,

      @EndUserText.label: 'Catalog Profile'
      @UI.lineItem:[{ hidden: true } ]
      @ObjectModel.readOnly: true
      @ObjectModel.filter.transformedBy: 'ABAP:CL_EAM_MALF_CODE_VH_EXIT'
      @UI.selectionField: [{ position: 50  }]
      cast ('' as rbnr)  as CatalogProfile,

      @Consumption.filter.hidden: true
      @UI.lineItem:[{ hidden: true } ]
      @ObjectModel.filter.transformedBy: 'ABAP:CL_EAM_MNTNTF_NOTIF_TYPE_EXIT'
      cast ('' as qmart) as NotificationType,

      @Search: { defaultSearchElement: true, ranking: #LOW,  fuzzinessThreshold: 0.7}
      @EndUserText.label: 'Failure Mode Group Text'
      @UI.lineItem: [{ position: 30 }]
      @Semantics.text: true
      @UI.selectionField: [{ position: 40  }]
      _InspectionCodeGroupText[1: Language = $session.system_language ].InspSpecAddlCodeGroupText,

      @Search: { defaultSearchElement: true, ranking: #LOW,  fuzzinessThreshold: 0.7}
      @EndUserText.label: 'Catalog Text'
      @UI.lineItem: [{ position: 50 }]
      @UI.selectionField: [{ position: 20  }]
      @Semantics.text: true
      _NotificationCatalogText[1: Language = $session.system_language ].InspSpecAdditionalCatalogText,

      _InspectionCodeGroupText,
      _NotificationCatalogText
}
where
      I_InspectionCodeGroup.CodeGroupStatus     = '2' // Released

  and I_InspectionCodeGroup.CodeGroupIsInactive = ''