Skip to Content
author's profile photo Former Member
Former Member

SAPUI5 Odata with multiple parameters


i am having trouble getting a odata service to work correctly.

My service hast a entity set width many entities and for every entity there is another enitity set. To get to the last set of information my service looks something like this:

OBJ_SRV/OBJSet(Key1='val1', Key2='val2' ,Key3='val3', Key4='val4',Key5='val5')/SECONDSet

If i test my odata service with a browser, everything works exactly as it should. The key/val pairs get the exact entity i want and the SECONTSet containts the information i want.

My problem is that i can't bind a url like that with SAPUI5. Everytime i try, i get an error message that says that there should be a "," insteat of the first number or character from the first value (val1). This is of course the same problem, if i just want to bind the entity itself and not the SECONDSet.

Btw.: Binding the first set to a list or table is no problem an works as it should.

Could someboy explain to me how i bind this or does anyone have the same problem? Maybe i there is another way of doing this? I couldn't find a solution to this on this community or somewhere else.

Add comment
10|10000 characters needed characters exceeded

0 Answers