cancel
Showing results for 
Search instead for 
Did you mean: 

Need logic for Ranking function in CDS view

former_member592065
Discoverer
0 Kudos

having plant and no of errors per plant data and i want to display the data in rank wise, like top 5 error plant etc..

Please suggest some method or annotations to implement ranking function in CDS view.

pfefferf
Active Contributor
0 Kudos

In what area you are working (HANA CDS, ABAP CDS, ...)?

Accepted Solutions (0)

Answers (1)

Answers (1)

giselle_lin
Active Participant
0 Kudos

Hi Prmiga,

This feature can be achieved by define condition in the query. So far query defined in CDS view has no annotation for condition. Therefore you can build a BW query with condition on the CDS provider.
See https://wiki.scn.sap.com/wiki/x/Qxd7H