on 03-09-2017 10:45 PM
Hello,
I hope you are well.
Could you please provide some guidance on how to have data binding on fields from two different Data Sets (tables) on one column list item?
For example the “name” and “cs” data fields are in my “HCT_CSSet” data set, while the “price” and “priceInd” data fields are in my “HCT_CSONSet” data set. I want to have the name, cs, price and priceInd fields shown on one column list item, but WebIDE’s data binding seems to only allow one data set per item.
Could you please point me towards any information on how I may have databinding on a few different data fields from a few different datasets on one control/item? Please see screenshots below for clarification.
2. I would like to have all 4 fields display in the same cell/column list item.
3. But the price and priceind fields are in a different data set, “HCT_CSSet”.
4.
5. The Price and priceInd fields do not show when the app is run.
You would need to have a relationship between the two data sets. Odata allows you to call related data sets using the $expand function which UI5 supports as detailed at
https://openui5beta.hana.ondemand.com/#docs/guide/84100bcfd5b34f62858bdd6f67976b4a.html
I believe in Web IDE the layout editor only allows you to reference a single data set so you would need to add the expanded fields in the code. If you have no relationship between the data you would have to build this into the odata service.
Regards,
Jamie
SAP - Technology RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.