on 2024 Oct 09 6:39 AM
Hi, I am trying to expand data in my fiori app. I am using example from
https://www.techippo.com/2017/09/bind-expand-sapui5-xml-view.html
As we can see, in example we have a full list of all flights:
items="{path : '/FlightSet' , parameters:{expand : 'ToFlightSchedules,ToFlightBooking'}
I need to get data about only one selected flight. I can not use something like this:
items="{path : '/FlightSet('id_of_something')' , parameters:{expand : 'ToFlightSchedules,ToFlightBooking'}
because I have error (to many apostrophes 😉 ).
Of course, I have prepared getaway on backend, which gives me correct data, for example:
/PracownicySet?$expand=toSzkolenia - it returns me expanded data for all records
/PracownicySet('00744272')?$expand=toSzkolenia,toHistoriaStanowisk - it returns me expanded data only for record with id 00744272.
What should I do to display expanded data just for one, selected record?
Request clarification before answering.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.