cancel
Showing results for 
Search instead for 
Did you mean: 

$count in XSODATA

Murali_Shanmu
Active Contributor
0 Kudos

Hi,

How do I get the count of all the records which my XSOData service is returning ?

For example, I used the below link to list all the records provided by my OData service.

https://<path>/MyOdataService.xsodata;o=HANA/MyEntityNameParameters(P_SAPClient='110')/Results?

I am looking to get the number of records it provided by using https://<path>/MyOdataService.xsodata;o=HANA/MyEntityNameParameters(P_SAPClient='110')/Results?$count

Do I need to implement the logic myself ?

Thanks,

Murali

Accepted Solutions (1)

Accepted Solutions (1)

sreehari_vpillai
Active Contributor
0 Kudos

Did you try

/Results/$count

sree

Answers (0)