Table is an essential part of the List Report page. It is based on the UI.LineItem
annotation that can be generated along with the application, unless you choose differently in the SAP Fiori application generator. For more information, see Overview. The Page Editor lets you further configure the list report table by adding columns and actions.
Currently supported elements for List Report table are:
Sorting table data is set in the Presentation Variant
property of the table. A table node in Page Editor layout tree therefore has the annotation based properties Presentation Variant
and Sort Order
..
Maintaining
Presentation Variant
andSort Order
in analytical charts is described in Analytical Chart.
Presentation Variant
property shows the UI.SelectionPresentationVariant
or UI.PresentationVariant
annotation defining the table presentation options, such as sorting or grouping. If Presentation Variant
is not yet set for the table, you can have it generated by choosing New
option in this property.
If your List Report is configured with the Analytical Chart, you can also choose to reuse the
Presentation Variant
applied for that chart. In this case, sort order will apply for both chart and table.
When the Presentation Variant
is set, you can define one or more direct properties of the entity to sort the table data by. To do this, click Add Sort Property. A new table row for the sort property is added with the Property and Direction fields. Update the default values for these fields in the table row if needed.
If you have more than one sort property, you can define in which order they apply to the table data by moving them up and down within the Sort Order property.
You can detach the Presentation Variant
generated by the Page Editor by setting it to None unless your List Report is configured with Multiple Views.
This action deletes respective
UI.SelectionPresentationVariant
from the manifest.
To remove unreferenced
UI.SelectionPresentationVariant
annotations generated by the Page Editor from the annotation file, run the cleanup procedure that deletes the unreferenced annotation. This will also remove the other unreferencedUI.SelectionPresentationVariant
andUI.PresentationVariant
annotations defined with qualifier to keep your annotation file as clean as possible.
Default filtering of the table data is set in the Selection Variant properties of the table. A table node in the Page Editor layout tree therefore provides the annotation-based properties Selection Variant: Annotation and Selection Variant: Default Filter.
The Selection Variant: Annotation property shows the UI.SelectionPresentationVariant
or UI.SelectionVariant
annotation defining the default filters in the SelectOptions
property. If the Selection Variant: Annotation is not yet set for the table, you can have it generated by choosing the New option in this property.
If your List Report is configured with the Analytical Chart, you cannot maintain the selection variant in the Page Editor.
You can detach the UI.SelectionVariant
annotation applied to the table by setting Selection Variant: Annotation to None.
To remove detached UI.SelectionPresentationVariant
annotations from the annotation file, run the cleanup procedure that deletes the unreferenced annotation. This will also remove the other unreferenced UI.SelectionPresentationVariant
and UI.SelectionVariant
annotations defined with a qualifier to keep your annotation file as clean as possible.
When the Selection Variant: Annotation is set, you can define one or more direct properties of the entity to filter the table data by default. To do this, click Add Default Filter. You will be prompted to select one of the available properties.
The properties annotated with
UI.Hidden
,UI.HiddenFilter
or set asNonFilterableProperties
withinCapabilities.FilterRestrictions
are not provided for selection as they cannot be used for filtering.
A new table row for the filtering property is added for you to choose the filtering conditions.
Note that you can define multiple filters based on the same property.
You can delete the existing default filters by clicking the the 🗑️ (Delete) icon in the respective table row.