Hi,
I am trying to develop a simple UI5 application where I need to consume a ODATA service defined in Gateway. It is the embedded deployment.
I defined FLIGHT Model in SEGW and exposed SFLIGHT entries in the GET_ENTITY and GET_ENTITYSET method.
In SAPUI5, I used the FIORI Worklist template and the first view is loaded with the all the flights available in the SFLIGHT table. Now when I try to view the detail entry, I click the lineitem and detail page should display the single record.
I am passing the CARRID, CONNID and FLDATE as a key to the ODATA service, however, it is giving me error as invalid URI segment 00:00)'.
I believe there is somehting wrong with the passing of date parameter as in my other project everything works fine if I dont pass the date parameter.
Can you please help?
Regards
Abhi
Request clarification before answering.
Not sure if you still need it but here is my reply for others who might face this issue.
The problem is because of the special character : in your URI.
Use encodeURIComponent() to encode your URI. It will replace : with %3A and it should work. It did for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.