How to setup Notifications in SAP Fiori 2.0 [Part1]

0
468

Dear SAPLearners, in this blog post we will learn how to setup notifications in SAP Fiori 2.0 Launchpad.

Introduction

Notifications are effective way to make users aware of situations that require their timely action or attention. For example in workflow scenario, such as approval of purchase orders etc..

All notifications are displayed in Notification Center. It can be enabled per user in the SAP Fiori Launchpad. Each notification can offer quick actions and are able to start a suitable app showing the details for the notification topic.

To set-up notifications in Fiori 2.0, configuration steps need to be performed both in Front-end(Gateway) server and Back-end server(S/4 HANA)

Step-by-Step Configuration Steps

Below are the configuration steps on the front-end system(Gateway)

  • Activate ICF service for OData V4 ( /sap/opu/odata4 )
  • Publish Service Group ( /IWNGW/NOTIFICATION )
  • Activate ICF service for Push Channels( /sap/bc/apc/iwngw/notification_push_apc )
  • Maintain and Activate Push Channels ( SAP_WEBSOCKET )
  • Enable notifications via catalog ( /UI2/CONFIG_NOTIFICATION )

Lets get started.

Log-on to front-end system and proceed with below steps

1. Go to SICF transaction and provide the service path /sap/opu/odata4

2. Right-click on the ICF node to active the service.

3. Go to transaction /IWFND/V4_ADMIN.Add publish service group /IWNGW/NOTIFICATION with system alias LOCAL.

Note: Add “/n” in-front of the transaction while accessing the transaction code.

To add a publish service group, hit “Publish Service Groups” button in the application bar.

4. Notifications are built on ABAP Push Channel(APC) framework. To enable underlying APC websocket protocol, activate the ICF service /sap/bc/apc/iwngw/notification_push_apc using transaction SICF(similar to step-1)

5. Launch transaction SPRO and navigate to below path

6. Maintain and activate the push channel ID SAP_WEBSOCKET like below.

Finally its time to enable the notification center to the user.

SAP provided a predefined catalog: /UI2/CONFIG_NOTIFICATION which contains the target mapping to enable notifications in SAP Fiori Launchpad.

7. Add the catalog to a PFCG role and assign the role to the user.

After all these configurations steps, notification button will appear like below in SAP Fiori Launchpad.

Congrats!! you have successfully performed the configurations steps in front-end server.

In our next blog we will continue the configuration steps in back-end server.

Here are the links for both configuration steps both in front-end and back-end systems.

http://www.saplearners.com/how-to-setup-notifications-in-sap-fiori-2-0-part1/
http://www.saplearners.com/how-to-setup-notifications-in-sap-fiori-2-0-part2/

Please feel free to comment and let us know your feedback. Subscribe for more updates

If you liked it, please share it! Thanks!

WordPress database error: [Table 'saplearn_wp1.wp_nsex_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_nsex_comments.comment_ID FROM wp_nsex_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 4285 AND comment_parent = 0 ORDER BY wp_nsex_comments.comment_date_gmt ASC, wp_nsex_comments.comment_ID ASC