Skip to Content
Technical Articles
Author's profile photo Alan Rickayzen

Configuring Fiori Launchpad for Push Notifications (loose ends)

You may have seen how to activate Push Notifications for workflow in Jocelyn Dart’s recent and comprehensive blog. If not, here is an appetizer to help you understand what your users are missing without it. This short blog builds on Jocelyn’s blog and describes two aspects to create the perfect environment for your users you may want to go this final mile.

  1. Making the Notification Center visible in the Launchpad and
  2. Configuring the launchpad so that when users log off they are returned to the logon screen.

If both of these have already been set up on your system then you do not need to read this blog any further.

 

A.Enabling the Notification Center in the Fiori Launchpad

The Notification Center is the icon that you can see at the top corner of the Fiori Launchpad (left hand corner in right-to-left languages, right elsewhere).

To enable it you need to set the “enableNotificationsUI” parameter and then assign this setting to your users through a role. This allows you to enable the notification center for some users but not for others.

Step 1: Assigning the parameter to a Launchpad category

You can either create your own catalog with your own parameter settings or you can use the delivered catalog /UI2/CONFIG_NOTIFICATION category, but you may need to apply Note 2426480 first.

If you want to create your own catalog then read on, else skip to step 2.

Invoke the launchpad designer for your Fiori environment and create a new catalog entry,

The wizard will prompt you for a unique ID and a name for this catalog and then you can create a target mapping for for it. The target mapping must include the parameter enableNotificationsUI set to true but may include other parameters, too. In the screenshot I have specified that the polling is reduced from the standard setting of 30 seconds to 15 seconds. This target mapping will override the SAP delivered settings and switch the Notification Center on.

The Application type is SAP UI5 Fiori app and the Title and ID are arbitrary. The parameters are described in online help.

Step 2 Assign the category to the user roles that require notifications.

On the backend, invoke the role maintenance transaction pfcg to edit the required role(s).

You can now insert the category that you just created (or the SAP-delivered catalog /UI2/CONFIG_NOTIFICATION) using the menu tab.

Hint: It is a good idea to check the names of the users who will see the notification center using the User tab.

Important: After you have saved these changes in pfcg you may need to wait for up to an hour for the changes to propagate to your Fiori environment since various caches are involved.

Your users now receive notifications in their Fiori launchpad.

Step 3 (optional) Personalization

Your users can suppress notifications based on the notification type using their settings in the launchpad.

If you do not want to allow this you can set the parameter renderers/fiori2/componentData/config/enablePersonalization to false, or assign the category /UI2/CONFIG_PERS_OFF to the role of these users.

B. Redirecting the launchpad’s logoff screen to the logon screen

You can use this method to set the logoff screen to anything you like, but most installations will want logoff to return to the logon screen. If this is not the case with your installation you should invoke the service-configuration transaction sicf in your backend.

Step 1: Choose the ALIAS hierarchy type.

Step 2: Creating the logoff service.

If the logoff node has not been created already it will not be shown in the list of services. You will need to create one.

Step 3: Select the logoff target service

Select the root node, and create a node for the logoff target element by opening the branches as follows: sap -> public -> bc -> icf 

Double-click on the logoff handler to select it as the target element.

Step 4: Specify the logoff URL

Set the logoff URL to the url of the logon screen. You’ll find this setting under the Error Pages tab.

Step 5. Wait for the cache to refresh

Wait a few minutes for the cache to refresh and then the next time your users log on and logoff their browser will redirected back to the logon screen specified by you.

Previous Next

Assigned Tags

      18 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Anjan Paul
      Anjan Paul

      Thanks Alan. Its our privilege to know the new concept  from you.

       

      Author's profile photo Alan Rickayzen
      Alan Rickayzen
      Blog Post Author

      Thank you Anjan, I'm glad you agree that the Fiori push notifications are a huge asset for any customer using workflow,

      Alan

      Author's profile photo Former Member
      Former Member

      My Issue looks like resolved now. Thanks for your detailed blog.

      Regards,

      Naveen.

      Author's profile photo Former Member
      Former Member

      Hi Alan,

      Thank you for the very informative blog. In almost all the research I've done till now, the example for Fiori notifications has been shown with S/4 HANA 1610.

      We are running Fiori 2.0 on NW 7.4 with SAP_UI 751 SP01 and ECC 6.0 EHP 7 on HANA rev 97. Can we enable the notifications in our environment? or is this feature only supported with S/4 HANA?

      Look forward to your advice & help.

      Kind regards,

      Amer.

       

      Author's profile photo Alan Rickayzen
      Alan Rickayzen
      Blog Post Author

      You need NetWeaver 7.51 SP1 as the basis. Sorry.

      Author's profile photo Former Member
      Former Member

      Hi Alan,

      Thank you for your reply. Is there different documentation for our version or the blogs (yours & Jocelyn's) are enough to configure the notifications  e.g. I cannot see notifications enablement node in SPRO in our system?

      Kind regards,

      Amer.

       

      Author's profile photo Alan Rickayzen
      Alan Rickayzen
      Blog Post Author

      Hi Amer,

      I'd flown over your message too quickly (as you can see from the screenshot I sent as a PM). NW 7.4 is not up-to-date enough.

      Sorry for misleading you,

      Alan

      Author's profile photo Ibrahim Khan
      Ibrahim Khan

      Hi Alan,

      I have done all the configurations mentioned by you, but I am not able to see the "Notifications" option under the Settings in Fiori Launchpad. Can you please advice what could be the issue.

      We are using Embedded Gateway system and I have SAP_ALL Authorization.

       

      Regards

      Ibrahim

      Author's profile photo Andreas Rahe
      Andreas Rahe

      Hello Alan,

      thanks for the blog!

      I still struggle with the notifications.

      I can see the icon in the header bar, but when I open it, I don't see any notifications.

      Is there a way to find out, if the notifications are send, or if they reach my frontend server?

      The workflow is running fine, I see the items in the Fiori MyInbox.

      Regards,

      Andreas

      Author's profile photo Alan Rickayzen
      Alan Rickayzen
      Blog Post Author

      Hi Andreas,

      Thanks for the compliment and apologies for the late reply (ASUG/Sapphire).

      If you still have that problem invoke report RSWF_PUSH_NOTIF_EXECUTE_DEMO, which doesn't use workflow but should trigger a notification. That way you can identify whether it's the workflow configuration or the Fiori configuration which is incomplete.

      All the best,

      Alan

      Author's profile photo Smriti Gupta
      Smriti Gupta

      Hello Alan,

      Thankyou for such a useful blog. If in the BSP Application in FioriLaunpad.html, enabled is set to false, do we need to create our own file and override it or is there some other apporach too?

      Do we nned to check for some particular component? I can’t find the Odata service for notifications in the transaction /IWFND/V4_ADMIN.

      In the console I get error notification service forbidden.

      Also is snc certificate must for notifications?

       

       

       

      Many thanks

      smriti

       

       

      Author's profile photo Anjanikumar Dubey
      Anjanikumar Dubey

      Hi Alan,

      Notification is enable now, i can see icon , but it always show "You have no notifications".

      do i need to do any extra setting or why notification is not coming up.

       

      Thanks & Regards,

      Anjani

      Author's profile photo IBM TEAM
      IBM TEAM

      Hi alaN

      Our Version is 740, could like to know can we Configure Fiori Launchpad for Push Notifications .

      Would like to know we have create only Target Mapping OR tiles and target mapping both

      while creating target mapping, system is asking for URL.

      thank for Blog which is very useful and i am looking out for notification from very long time.

       

      Thank & Regards

      Nabil

       

      Author's profile photo Ahmed Salam
      Ahmed Salam

      i quote Alan's Reply to same question :

       

      " You need NetWeaver 7.51 SP1 as the basis. Sorry."

       

       

      Author's profile photo Ahmed Salam
      Ahmed Salam

      as per note 2430081 you need : SAP NetWeaver 7.5 in the product version area

      Author's profile photo Santasree Bhattacharya
      Santasree Bhattacharya

      Hi All,

       

      We have a similar requirement, we followed your blog and were able to enable the notifications icon. However we dont see the notifications options under the me area under settings.Any idea on this?

      Author's profile photo Michael Roger
      Michael Roger

      Hi, ist there a list about parameters which are configurable like this?

      for example

      renderers/fiori2/componentData/config/applications/shell-home/enableHideGroups

      ??

      Author's profile photo vishwanath vedula
      vishwanath vedula

      Great!