Skip to Content
0
Jul 26, 2016 at 12:09 PM

Read mehod of sap.ui.model.odata.ODataModel object with filters not working

1092 Views

Hi experts,

I'm trying to read data from oData model ( type sap.ui.model.odata.ODataModel ) object.

the code is working fine and the success function is executed just the number of rows in the odata alwayes the same as all of the rows return from service.

Means the filtering are agnord. what could be the problem?

See the code below:

Define filters:

Bind model service:

Read with filters:

Best regards.

Attachments

Bind_models.png (26.2 kB)
Set_data.png (27.0 kB)