cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

I have got all the data from Gateway Server to my SAPUI5 program. Now, I dont want to show all the data which I got but want to show only one particular line item. I tried putting filter but it is not working.

Can some one please help me how to use filter in OData model. Please note that I am trying to filter at client side and not at server side

0 Likes
View Entire Topic
pinakipatra
Contributor

Hi  ,


For general purpose filtering of odata you can use ?$filter = property eq 'value'

I your case you can use  abc.xsodata/TDataSet?$filter = Scid eq 'value'


This should filter your odata values as Scid  = value


You can refer :Home | OData - The Protocol for REST APIs