Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

$count in XSODATA

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

Tags:
replied

Did you try

/Results/$count

sree

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question