SAP Knowledge Base Article - Public

3621095 - Enable the selectionMode "Single" using Fiori Elements

Symptom

  • Developed a List Report app using Fiori Elements through RAP 
  • Added the table setting "selectionMode" into "Single" in the manifest.json but it doesnt reflect in the app 
  • Run app and check the table's selection mode, it shows as undefined. 

Environment

Fiori elements v2

Reproducing the Issue

  1. Develop a List Report app using Fiori Elements through RAP.
  2. Add the table setting "selectionMode" into "Single" in the manifest.json.
  3. Run the app and check the table's selection mode; it shows as undefined.

Resolution

Refer to:

https://ui5.sap.com/#/topic/116b5d82e8c545e2a56e1b51b8b0a9bd

  • Single: Here, the application first checks for a custom action or UI.DataFieldForIntentBasedNavigation in the table toolbar that requires a context. In display mode, single selection of table rows is allowed if such actions are found. If not, single selection of table row isn't allowed. In edit mode, when there are no actions that require context, single selection of table row is allowed if a Delete button is available in the table toolbar.

See Also

https://ui5.sap.com/#/topic/116b5d82e8c545e2a56e1b51b8b0a9bd

Keywords

selectionMode, single, manifest.json, RAP, List Report app, SAP S/4HANA Cloud Public Edition, UI Development,Fiori Elements, enable selection mode, com.sap.vocabularies.UI.v1.LineItem , KBA , CA-UI5-ST , Fiori elements v2 , Problem

Product

SAP S/4HANA Cloud Public Edition all versions