on 02-26-2018 6:27 AM
Hi All,
I have a requirement wherein there will be a list/table report in the first screen after applying the search criteria. Then I will be selecting multiple records from this list and I need to navigate to the second screen, where all these records are to be shown in edit mode and I need to select multiple records in this report and update all these records.
Can you please suggest a smart template or standard control suitable for this App?
Do I need to look for freestyle App?
Thanks & Regards
Sunil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vaibhav/Hunter,
Thanks for the quick reply.
Can you please guide me on how to navigate from multiple records in one screen to another screen?
Regards
Sunil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunil,
In addition to Vaibhav's suggestion, you may want to look into using the master/detail template since that would allow you to easily swap between records, and control which fields are editable. If all fields associated with an individual record need to be editable, then perhaps using the sap.m.Table in edit mode would be your best choice.
Best Regards,
Hunter Young
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Sunil,
sap.m.Table should be best suited for our requirement.
Please refer the following link for more details :
https://sapui5.hana.ondemand.com/#/entity/sap.m.Table
Editable Scenario - https://sapui5.hana.ondemand.com/#/sample/sap.m.sample.TableEditable/preview
Thanks,
Vaibhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Sunil,
There are various way to do it. One of the possible ways is as follows:
You can read the selected records from the table on an event...say click of a Button.
Store those records in a named model and set the model at component level.
Eg :
var selectedRecords = table.getSelectedItems();
this.getOwnerComponent().setModel(selectedRecords, "selectedData")
Then once you navigate to next view, you can read the named model and bind it to the table.
this.getOwnerComponent().getModel("selectedData");
Thanks,
Vaibhav
User | Count |
---|---|
70 | |
26 | |
9 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.