You are on page 1of 3

Post Code: FIR006

Tags: Fiori, Fiori Elements, CDS with Fiori Elements

Category: Fiori Elements

Adding count of records in Fiori List Report header

If not must, it is nice to have functionality to display the number of records displayed in the list report.
We can achieve this by certain annotation from the CDS view as explained in this blog.

Before making any changes to CDS view, current version of CDS view is as shown below.

With this CDS view, Fiori list report looks like as shown below. Here we can see that count of records is
not displayed in the List report header.
To achieve this, below highlighted code needs to be added in the CDS view.

New line added is highlighted in yellow. This annotation will make label appear in this List report Header
with count of number of records available in the list report as shown below.

You might also like