Skip to Content

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

odata call with filter

Hi,

I am using odata to display data in a UI5 table like below:

var oModel= new sap.ui.model.odata.ODataModel( ".../customer_at.xsodata/", false);

oTable.bindRows("/_customer_at?$filter=ACTIVE_FLAG eq 'Y'");

Data is being displayed as expected in the table.

But when I try to filter on any of the fields in the table, no data is being displayed.

In other words, the problem is - if I use a filter in the odata call, I can't filter on any field in the table.

Appreciate any thoughts on this.

Thank you

Tags:
Not what you were looking for? View more on this topic or Ask a question