cancel
Showing results for 
Search instead for 
Did you mean: 

Aggregation in CDS Custom entity display in RAP

sagar_ranasingh
Participant
0 Kudos
188

Hi All ,

i have developed a RAP application on top of CDS Custom Entity as the fields will be calculated . Application is working fine , however i want to display the Sum of one field(Amount) at end of the column . With Custom entity , the annotation @Aggregation.Deafult :#SUM is not working as its a custom entity .

Please guide how to handle the aggregation incase of custom entity RAP application .

Thank you .

sagar_ranasingh
Participant
0 Kudos

Hi Wolfgang ,

thank you for your reply .

sorry for typo error of Annotations.  Yes that annotation works with normal CDS , however i have the custom entity .
i am looking for any other way to have aggregation applicable for Custom entity .

View Entire Topic
WRoeckelein
Active Participant
0 Kudos

Hi,

you have mispelled the annotation,

@Aggregation.Default: #SUM

is correct, but this never worked for me outside of a analytics app.

Regards,

  Wolfgang