@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: { representativeKey: 'CABusinessLockReasonEnhanced',
usageType: { serviceQuality: #A,
sizeCategory: #S,
dataClass: #CUSTOMIZING } }
@VDM.viewType: #BASIC
@VDM.private:true
define view entity P_CABusinessLockReasonMult
as select from dd07l
association [0..*] to P_CABusinessLockReasonMultText as _Text on $projection.CABusinessLockReasonEnhanced = _Text.CABusinessLockReasonEnhanced
{
@ObjectModel.text.association: '_Text'
key cast( left( domvalue_l,2 ) as lockrenh_kk preserving type ) as CABusinessLockReasonEnhanced,
_Text
}
where
domname = 'LOCKR_MULT_KK'
and as4local = 'A'
and domvalue_l = 'ML'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07L"
],
"ASSOCIATED":
[
"P_CABUSINESSLOCKREASONMULTTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/