on ‎2023 Jan 16 8:57 PM
Hi,
I am developing Fiori screens using RAP and CDS annotations.
I am showing the header information in the list page and line items in the object page.
Currently, I can only select one line item at a time. My requirement is to be able to select multiple line items
and click on a custom button to process them further. Please let me know if multiple selection of the line items
is possible, if yes, appreciate if you could provide any examples you may have.
Request clarification before answering.
Hello.
You can do it on the front-end side, in the manifest.json file.
You just need to find the following hierarchy there and use the "multiSelect" property:
"sap.ui.generic.app": {
"pages": {
"ListReport|...": {
"component": {
"settings": {
"tableSettings": {
"multiSelect": true
}
}
}
}
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, you need #CHANGE_SET property in UI annotation, in case your custom button will be defined as abap rap action(which is defined in behavior pool of root entity object)
@UI.lineitem{ position: 10, type: #FORACTION, label: 'customtext', dataAction: 'behaviorpoolabaprapaction', invocationGrouping: #CHANGE_SET }
Hi rameshputta
Please have look to below Post talking about #CHANGE_SET as suggested by marek_lukac
https://blogs.sap.com/2023/01/19/abap-restful-application-programming-model-change_set/
Thanks-
Abhishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 7 | |
| 7 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.