C_MaintWorkRequestDamageCodeVH

DDL: C_MAINTWORKREQUESTDAMAGECODEVH SQL: CMWRKRQCODE Type: view CONSUMPTION

C_MaintWorkRequestDamageCodeVH is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_PMNotificationType) and exposes 13 fields with key fields InspectionCatalog, InspectionCode, InspectionCodeGroup. It has 2 associations to related views. It is exposed through 2 OData services (UI_MAINTENANCEJOB_MANAGE, UI_MAINTWORKREQUESTOVERVIEW). It is used in 1 Fiori application: Perform Maintenance Jobs.

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 (12)

NameValueLevelField
AbapCatalog.sqlViewName CMWRKRQCODE view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
Search.searchable true view
ObjectModel.dataCategory #VALUE_HELP view

OData Services (2)

ServiceBindingVersionContractRelease
UI_MAINTENANCEJOB_MANAGE UI_MAINTENANCEJOB_MANAGE V2 C1 NOT_RELEASED
UI_MAINTWORKREQUESTOVERVIEW UI_MAINTWORKREQUESTOVW_V2 V2 C1 NOT_RELEASED

Fiori Apps (1)

App IDApp NameTypeDescription
F5104A Perform Maintenance Jobs Transactional Perform Maintenance Jobs app will help Maintenance Technician to see the list with all work items assigned to the him/her or to his/her team, several features like Assignment of an operation, Time recording for the Operations, create partial or final confirmations and the ability to display and change the malfunction information are possible with the app. The maintenance technician can post and return the planned components and can also record the measurement document.

Perform Maintenance Jobs

Business Role: Maintenance Technician

Technician records actual work, remaining work, confirmation text, and final confirmation for self as well as for team members working on the job.

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY InspectionCatalog I_InspectionCode InspectionCatalog
KEY InspectionCode I_InspectionCode InspectionCode Failure Mode
KEY InspectionCodeGroup I_InspectionCode InspectionCodeGroup Failure Mode Group
CatalogProfile Catalog Profile
NotificationType
InspectionCodeText Failure Mode Text
InspSpecAddlCodeGroupText Failure Mode Group Text
InspSpecAdditionalCatalogText Catalog Text
CodeIsInactive I_InspectionCode CodeIsInactive
_InspectionCodeGroupText _InspectionCodeGroupText
_InspectionCodeGroup I_InspectionCode _InspectionCodeGroup
_InspectionCatalog _InspectionCatalog
_NotificationCatalogText _NotificationCatalogText
@AbapCatalog.sqlViewName: 'CMWRKRQCODE'
@VDM.viewType: #CONSUMPTION

@AccessControl.authorizationCheck: #CHECK
@Metadata.ignorePropagatedAnnotations: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: {
  usageType: {
    serviceQuality: #C,
    sizeCategory: #M,
    dataClass: #CUSTOMIZING }
}
@AbapCatalog.preserveKey:true
@AbapCatalog.compiler.compareFilter:true
@Search.searchable: true
@ObjectModel.dataCategory: #VALUE_HELP
define view C_MaintWorkRequestDamageCodeVH
  as select distinct from I_InspectionCode
  inner join I_PMNotificationType as pmnotiftype on I_InspectionCode.InspectionCatalog = pmnotiftype.MaintNotifCodgCatalogTypeCode
  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
      @UI.lineItem: [{ position: 60 }]
      @UI.selectionField: [{ position: 10  }]
  key I_InspectionCode.InspectionCatalog,

      @Search: { defaultSearchElement: true, fuzzinessThreshold: 0.7  }
      @ObjectModel.text.element:  [ 'InspectionCodeText' ]
      @EndUserText.label: 'Failure Mode'
      @UI.lineItem: [{ position: 20 }]
      @UI.selectionField: [{ position: 30  }]
  key I_InspectionCode.InspectionCode,
      @Search: { defaultSearchElement: true, fuzzinessThreshold: 0.7  }
      //--[ GENERATED:012:GFBfhxvv7jY4hYOuhNduX0

      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'C_MaintWrkReqDamageCodeGroupVH',
                     element: 'InspectionCodeGroup' },
          additionalBinding: [{ localElement: 'InspectionCatalog',
                                element: 'InspectionCatalog' ,
                                usage: #FILTER }]
        }]
      // ]--GENERATED

      @ObjectModel.text.element: ['InspSpecAddlCodeGroupText']
      @EndUserText.label: 'Failure Mode Group'
      @UI.lineItem: [{ position: 40 }]
      @UI.selectionField: [{ position: 50  }]
  key I_InspectionCode.InspectionCodeGroup,

      @EndUserText.label: 'Catalog Profile'
      @UI.lineItem:[{ hidden: true } ]
      @ObjectModel.readOnly: true
      @ObjectModel.filter.transformedBy: 'ABAP:CL_EAM_MALF_CODE_VH_EXIT'
      @UI.selectionField: [{ position: 70  }]
      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, fuzzinessThreshold: 0.7 }
      @Semantics.text: true
      @EndUserText.label: 'Failure Mode Text'
      @UI.lineItem: [{ position: 30 }]
      @UI.selectionField: [{ position: 40  }]
      I_InspectionCode._Text[1: Language = $session.system_language ].InspectionCodeText,

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

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

      @Consumption.hidden: true
      @UI.hidden: true
      I_InspectionCode.CodeIsInactive,
      _InspectionCodeGroupText,
      I_InspectionCode._InspectionCodeGroup,
      _InspectionCatalog,
      _NotificationCatalogText

}
where
      I_InspectionCode.CodeIsInactive                           = ''
  and I_InspectionCode._InspectionCodeGroup.CodeGroupStatus     = '2' // Released

  and I_InspectionCode._InspectionCodeGroup.CodeGroupIsInactive = ''