Skip to Content
avatar image
Former Member

Filter not showing up in the ODATA read request when using Filters with Expand

Hi,

When calling the odata service from the SAP Ui5, the filter parameter comes as blank; not sure what's wrong any help or suggestion would be great. Below is the code and call details.

code:

var filterme = [];

filterme.push(new sap.ui.model.Filter("Order_Num", sap.ui.model.FilterOperator.eq, entrydate));
filterme.push(new sap.ui.model.Filter("Entry_Dt", sap.ui.model.FilterOperator.eq, ord));

var mParameters = {
filters : filterme,
urlParameters:{"$expand" : "qDataNav" },
success : function (oData, oResponse) {
var data = oData.results;
}.bind(this),
error: function (oError) { }
};

this.oModel.read("/qDataHSet",mParameters);

Call Details in Network:

GET qDataHSet?$expand=qDataNav&$filter=true%20and%20true HTTP/1.1

Regards,

Narayan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers