SAP Fiori : how to update an Application Title with Dynamic Content

As you may know, SAP Fiori applications are created to be simple so they are designed to be used by normal end-users. However at the client I am currently working for, they want to use CATS (Cross-Application Timesheet, My Timesheet version 2) and give this application to a Time administrator who will fill in the timesheet of their assigned employees. Next to a dozen other required modifications, one of them is quite easy to achieve and will be the topic of this post:  Updating the header title of the application with dynamic content.

The title is usually set in the manifest with a hardcoded value that links to a description in the i18n files as shown here:

The standard Fiori application for CATS has “My Timesheet” as title which is shown in the image below:

As the administrators won’t be filling in their timesheet but the timesheet of one of the employee they selected in the previous screen, they want to have the employee’s name in the title.


After some searching on the web, a touch of OData extension, some trial and error and some praying, it was achieved in the following (reasonably easy) way:

  1. Include the shell service in the manifest file
  2. Update the title in an overwritten method of the view (method initializeView in my case)

The result is shown like this (along with the modification of the standard legend colors which was a different requirement):

The standard Fiori application for CATS has “My Timesheet” as title which is shown in the image below:

Enjoy trying it out yourself and feel free to post questions in case of problems or questions.  Contact me at

Print Friendly, PDF & Email

Related posts

Adessa Group was founded in 2005 as a specialised, pan-European Human Resources service provider. The company was founded with the vision of supplying sustainable computer solutions through the development of an international network of subsidiaries, close to their customers and with the aim of growing organically. This vision was translated through the values that shaped Adessa’s corporate culture.   You can follow us on LinkedIn by clicking here.