on 11-07-2016 6:17 AM
When we are creating a CDS abap hierarchy view, I face a problem saying that: ‘Annotations of airpto use hierarchies but airpto has no hierarchies’ . The warning message indicate that : I lost one of the essential association in my hierarchy node, but I do add the association. Please help me ! And the detailed views are attached.
@AbapCatalog.sqlViewName:'zaircoairptq2'
@AccessControl.authorizationCheck:#NOT_REQUIRED
@EndUserText.label:'query of air'
@Analytics.query:true
@VDM.viewType:#CONSUMPTION
@OData.publish:true
@Hierarchy.parentChild.name:'Hierflt'
defineview Zaircontairptq2 asselectfrom Zairconctioncube2 {
@AnalyticsDetails.query:{displayHierarchy:#ON,
//hierarchyInitialLevel: 3 ,
hierarchyBinding:[{type:#ELEMENT,value:'airto'}]}
Zairconctioncube2.airpto,
@Semantics.quantity.unitOfMeasure:'distanceunit'
@DefaultAggregation:#SUM
Zairconctioncube2.distance,
@Semantics.unitOfMeasure:true
Zairconctioncube2.distanceunit,
/* Associations */
Zairconctioncube2._airto
}
Hi,
Did you get the solution ?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Patty,
did u get solution? Can you please share info about how to create Hierarchy in CDS views?
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.