@AbapCatalog.sqlViewName : 'CMWRKRQCODE'
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #CHECK
@Metadata.ignorePropagatedAnnotations: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: {
usageType: {
serviceQuality: #B,
sizeCategory: #M,
dataClass: #CUSTOMIZING }
}
@AbapCatalog.preserveKey:true
@AbapCatalog.compiler.compareFilter:true
@Search.searchable: true
@ObjectModel.dataCategory: #VALUE_HELP
define view C_MaintWorkRequestDamageCodeVH 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
@Consumption.filter .defaultValue : 'D'
key I_InspectionCode.InspectionCatalog,
// @Search.defaultSearchElement: true
@Search: { defaultSearchElement: true , ranking: #HIGH, fuzzinessThreshold: 0.7 }
@ObjectModel.text.element: [ 'InspectionCodeText' ]
@EndUserText.label : 'Failure Mode'
@UI.lineItem: [{ position: 20 }]
key I_InspectionCode.InspectionCode,
@Search: { defaultSearchElement: true , ranking: #HIGH, 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: 30 }]
key I_InspectionCode.InspectionCodeGroup,
@UI.hidden: true
@ObjectModel.readOnly: true
@ObjectModel.filter .transformedBy : 'ABAP:CL_EAM_MALF_CODE_VH_EXIT'
cast ('' as rbnr) as CatalogProfile,
@Search.defaultSearchElement: true
@Semantics.text: true
@EndUserText.label : 'Failure Mode Text'
I_InspectionCode._Text[1: Language = $session.system_language ].InspectionCodeText,
@Search.defaultSearchElement: true
@EndUserText.label : 'Failure Mode 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 = ''
and I_InspectionCode._InspectionCodeGroup.CodeGroupStatus = '2' // Released
and I_InspectionCode._InspectionCodeGroup.CodeGroupIsInactive = ''
/*+[internal] {
"BASEINFO":
{
"FROM ":
[
"I_INSPECTIONCODE",
"I_INSPECTIONCODEGROUP",
"I_INSPECTIONCODEGROUPTEXT",
"I_INSPECTIONCODETEXT"
],
"ASSOCIATED":
[
"I_INSPECTIONCATALOG",
"I_INSPECTIONCODEGROUP",
"I_INSPECTIONCODEGROUPTEXT"
],
"BASE":
[
"I_INSPECTIONCODE"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Depth:
1
2
3
4
5
All
Reload
C_MaintWorkRequestDamageCodeVH view