@EndUserText.label : 'Insp. Characteristic Value Aggregate'
@Analytics.dataCategory: #FACT
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.sqlViewName : 'IINSPCHAVVLAGGR'
@ObjectModel.usageType: {
dataClass: #TRANSACTIONAL,
sizeCategory: #L,
serviceQuality: #D
}
define view I_InspCharcValidValueAggr
as select from I_InspectionResultValue
{
key InspectionLot,
key InspPlanOperationInternalID,
key InspectionCharacteristic,
count(*) as InspResultValueCount,
max(InspectionResultMeasuredValue) as InspectionResultMaximumValue,
min(InspectionResultMeasuredValue) as InspectionResultMinimumValue
}
where
I_InspectionResultValue.InspectionResultAttribute = ''
or I_InspectionResultValue.InspectionResultAttribute = '<'
or I_InspectionResultValue.InspectionResultAttribute = '>'
or I_InspectionResultValue.InspectionResultAttribute = '?'
or I_InspectionResultValue.InspectionResultAttribute = '*'
or I_InspectionResultValue.InspectionResultAttribute = '('
or I_InspectionResultValue.InspectionResultAttribute = '['
or I_InspectionResultValue.InspectionResultAttribute = '{'
or I_InspectionResultValue.InspectionResultAttribute = '~'
or I_InspectionResultValue.InspectionResultAttribute = '#'
or I_InspectionResultValue.InspectionResultAttribute = 'U'
or I_InspectionResultValue.InspectionResultAttribute = 'V'
or I_InspectionResultValue.InspectionResultAttribute = 'W'
group by
InspectionLot,
InspPlanOperationInternalID,
InspectionCharacteristic
/*+[internal] {
"BASEINFO":
{
"FROM ":
[
"I_INSPECTIONRESULTVALUE"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Depth:
1
2
3
4
5
All
Reload
I_InspCharcValidValueAggr view