cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori invalid filter expression bug (oData)

moppedip
Explorer
0 Kudos
185

Hi,

I am using a basic filter when sending a GET-request to oData service. This works fine in Development, but for some reason it doesn't work in Test-launchpad.

Code Below:

new Filter('Land1', sap.ui.model.FilterOperator.EQ, selectedLand)
I have tried to modify this line with multiple different various, but still the same issue keeps happening.
new Filter('Land1', sap.ui.model.FilterOperator.EQ, selectedLand.toString())
new Filter('Land1', sap.ui.model.FilterOperator.EQ, ""+selectedLand)

Using chrome dev tools, I can see that in the Request Payload development launchpad has %27 in the end of the filter, while it's missing in the Test-launchpad.
How could I resolve this issue? Thank you.

Accepted Solutions (0)

Answers (0)