cancel
Showing results for 
Search instead for 
Did you mean: 

Redefined method for CDS-view $count problem

former_member186746
Active Contributor
0 Kudos

Hi,

I created a service from a CDS view and extended the method to do some additional filtering (mainly on system date which to my understanding is still in development for CDS views).

Now the problem is that if I question the service with a /$count that it returns an incorrect number.

Is my understanding correct that for a $count I need to do a full select on the CDS view, do my logic and then change the count value in ES_RESPONSE_CONTEXT?

Kind regards, Rob Dielemans

Accepted Solutions (1)

Accepted Solutions (1)

AshwinDutt
Active Contributor
0 Kudos

Hello Rob,

Yes actual count can be set explicitly using ES_RESPONSE_CONTEXT.

Regards,

Ashwin

Answers (0)