Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

oData Service Entity Set Filtering

$
0
0

Hello,

 

I built an oData service in our backend development system, and I implemented the GET_ENTITYSET method, which just selects the whole table.  I am calling the service through a separate SAP Gateway Server.  I would like to be able to filter this data in the URL call.  When I call the service in the browser, I get the entire table of results, which is to be expected.  When I add the filter parameter, I am still getting all of the results, it isn't applying the filter.  Any ideas as to why this is?  More details below:

 

Entity Set "DriversSet":

EntitySets.PNG

 

Entity Type "Drivers":

EntityType.PNG

 

GET_ENTITYSET Method:

Method.PNG

 

Request from Gateway Server (no filter, executes successfully, returns as expected):

GetRequest.PNG

 

Request from Gateway Server (added filter, executes successfully, but does not actually filter any data, returns full results again):

getRequestFilter.PNG

 

 

Thanks for your help,

Owen


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>