Skip to Content
0

new SAPUI5 updat to 1.42 has odata bug "Invalid Parameters..."

Dec 09, 2016 at 05:14 PM

211

avatar image

The new version of SAPUI5 1.40 or 1.42 has issue when using the filters to read data e.g.

It will return this error:

Invalid Parameter Type Used At Function ‘eq’ (Position 13)

Because of missing quotes for the filter value in the URL in the oData HTTP request:

$filter(Whsenumber eq 110 and TransOrd eq 2499125)

So if i try 2nd time read for same code without any changes it will work because the quotes get added without known reason:

$filter(Whsenumber eq '110' and TransOrd eq '2499125')

The issue happen sometimes and it is hard to know when will it happen.

Please help me it is causing many production issues?

read.png (15.1 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Momen Allouh Dec 16, 2016 at 01:18 PM
0

I FOUND WORK ARROUND THIS ISSUE

Share
10 |10000 characters needed characters left characters exceeded
Momen Allouh Dec 16, 2016 at 01:18 PM
0

THE WORK AROUND IS TO ADD HALF SECOND WAIT TIME DELAY BEFORE CALLING THE FUNCTION TO CALL ODATA GET.

Share
10 |10000 characters needed characters left characters exceeded