cancel
Showing results for 
Search instead for 
Did you mean: 

Aggregation in CDS Custom entity display in RAP

sagar_ranasingh
Participant
0 Kudos
552

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 .

inesmartins
Participant
0 Kudos

Hello,

Did you find the solution?

Thanks,
Inês Martins

Deb91
Newcomer
0 Kudos
We have run into a same problem .It seems that you cannot deploy a custom CDS entity as an ANalytical App. The aggregation works only if you deploy the application as an Analytical app.

Accepted Solutions (0)

Answers (1)

Answers (1)

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