Technical Articles
Customize the list report application generated by FIORI elements to look like a worklist application.
Hello All,
This blog post explains how to customize the list report application template to look like a worklist application.
FIORI Elements benefits :
- SAP Fiori elements provide design patterns for UI and predefined templates for commonly and frequently applications.
- We the developers can use SAP Fiori elements to create SAP Fiori applications based on OData services and annotations.
- It requires no JavaScript UI5 coding and uses predefined views and controllers.
- Create a CDS view and expose it as an OData service.
- Create a Fiori app by selecting the project from a template
- Select the List Report templet.
- Create the Fiori app with below details
- Select the OData service
- Select the annotation files
- Select the entity set and click on finish
- Now run the Fiori elements app
- It will show look like below.
- I want to have the above Fiori app like below, Without variants, Additional filters, detail page, export to Excel, change the Go Text and widths of the columns.
- To customize the Fiori list report app right-click on the Fiori app and click on SAPUI5 visual editor
- Switch to Edit mode it looks like below.
- Go to the Manifest.json file.
- Change the table type to Responsive to Grid also remove the ObjectPage as we don’t have any navigation details using the below code.
- Set the Page Title visibility property as false as we don’t require that.
- Hiding the Adapt Filters
- Change the Go button text
- Set the Use Export to Excel to True to enable the Export to Excel button.
- Hiding the Settings icon.
- Also, I have changed the column width, Final output looks like below.
There is no JavaScript UI5 coding involved in this process, the app will be ready in 1hr with the simple steps.
Thank you for getting into my blog post.
Comments are always accepted.
Thanks and Regards,
Harsha Pagadala
Hi Harsha pagadala,
Do you have any idea about the column background color in SAP Fiori List Report?
Regards,
Manivel S
Hi Manivel,
Check the below blog.
https://blogs.sap.com/2019/11/15/css-in-fiori-elements-via-webide-sapui5-visual-editor/
Thanks Harsha. Let me check it.
Regards,
Manivel S
Hi Harsha pagadala,
After deployed to fiori launchpad changes are not reflected in launchpad application ,Can anyone please help me on this.
I have not figured this out yet but there is some sort of background job that syncs this from our dev client to our sandpit client, i have tried all the cache clearing transactions and nothing can force it!
Hi,
After making changes, In webapp folder one folder got created with name "changes" and one change file got created inside changes folder.
By default it took package name as TMP in file . Change that package name with the package that you had used during deployment.
Hope it will help.
Thanks,
Mahak
Hi Harsha pagadala,
We have a similar CDS based generated list report and by default for Standard template, it shows only one column (key). Not sure how to get all the columns displayed for Standard template.
Do you have an idea about how to get it fixed ?
Thanks in advance.
Thank you so much ! Was just looking for the way to get the Excel Export button