on 2017 Jan 13 8:35 AM
Dear SCN-Community,
I´m trying to create some calculations within a CDS view and have some trouble with error messages. I defined two views and want to use the annotation "@DefaultAggregation" within the query view. If I use "#FORMULA" and define a formula calculation everything works fine.
Anybody have some suggestions?


Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi Andre,
You cannot use @Default aggregation annotation in Consumption Views hence you are facing the error. Default aggregation should be used in Composite views, in consumption you can exception aggregations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Even I am undergoing the same problem, anybody have a solution for it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 22 | |
| 10 | |
| 9 | |
| 5 | |
| 5 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.