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

SAPUI5 Odata with multiple parameters

Hi,

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 a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.