A table section can be added either on the section node or inside the group on the subsection node.
To add a table section, perform the following steps:
-
Click the Object/Form Entry Page to open the Page Editor.
-
Navigate to the section node in the outline and click the ➕ (Add) icon.
As a result, a dropdown menu displaying the supported section types appears.
-
Select Add Table Section from the dropdown list.
A pop-up window Add Table Section appears.
-
Enter a title in the Label text box.
-
Then, enter Value Source Entity to define the table data source and click Add.
As a result, you can see the following changes applied:
- A new
UI.LineItem
with empty collection and a new reference facet with anannotationPath
pointing to the createdUI.LineItem
is added to the existingUI.Facets
. - If not yet available, a new
UI.Facets
annotation is created under the entity associated with that Object Page. - If
UI.Facets
exists on an underlying layer, the annotation in the underlying layer will be overridden. - For CAP CDS, a using statement is added to the overridden file if not yet there.
The user can change the order of the sections created in the application. By using the drag-and-drop functionality, drag the required section to a different position within its application:
-
When dropped, the records in the
UI.Facets
collection are reordered. -
When SAP Fiori application is rendered, sections are displayed based on the records sequence in the
UI.Facets
annotation.
Move multiple sections
Annotation Library supports mass moving of the sections. To move the multiple sections to another position, perform the following steps:
- Use the [Ctrl] + [Click] combination to select more than one section.
- Drag the selected section to a different position with your pointer/mouse.
To delete the section in the application, perform the following steps:
- Navigate to the section layer.
- Click the 🗑️ (Delete) icon to open the Delete Confirmation popup window.
- Click Delete to confirm the action.
This action deletes the referenced facet record from
UI.Facets
of the section in the Appendix.
To clean up the orphaned
UI.LineItem
annotation, you need to explicitly run the cleanup procedure that deletes the unreferenced annotation.
To change the section label, perform the following steps:
-
Select the required section and navigate to the properties pane area.
-
Enter a new name in the Label text box. This field defines the text to be displayed at a section label.
As a result, the section is renamed both in the Page Editor and in the application preview.
See Label Maintenance for more information.
See Internationalization (i18n) for translation if not yet there.
Hidden
See, Hidden
Related Information