Everything Fiori Notification
July 28, 2023

Index

Introduction

Notification is an efficient way of alerting the user about tasks that require prompt action or attention such as workflow tasks.
In SAP Fiori Launchpad you can click on the Bell icon to access Notifications.

  • You can Close or Dismiss, Navigate to the Action item (e.g. My Inbox for Workflow Task), or perform Action (e.g. Approve, Reject, etc).
  • Notifications are grouped by Date, Type, and Priority.
  • Notification List Items have properties:
    • Image, Priority, Title, Action, Operation, Subtitle, Author/Source, Timestamp, Show/Hide (Show More, Show Less)

Source

<< To Top

Notification Channel Concept

The Notification channel is a framework that helps applications push/send notifications to end users.

There are three concepts to understand when activating notifications:

  • Notification Center – the area in the Fiori Launchpad where notifications are displayed
  • Notification Hub – Collects notifications to be shown in the Notification Center
  • Notification Provider – Provides notification content to the Notification Hub
Notification Channel Architecture (Source)

<< To Top

Setup Notification

<< To Top

Custom Notification (For Scenarios other than SAP Workflow)

Refer to Our Open Source Project

Automatic Fiori Notification for Application Logs Error

General Steps Involved

  • Step 1 Create Custom Provider Class with Interface ‘/IWNGW/IF_NOTIF_PROVIDER’
  • Step 2 Create & Activate Custom Notification Provider
  • Step 3 At the point of the trigger as per business requirement, Create a Notification using Notification API ‘/IWNGW/CL_NOTIFICATION_API’

<< To Top

Demo Program

/IWNGW/R_BEP_DEMO_CREATE_NOTIF

<< To Top

<< To Top

Important Transactions

NameDescription
/IWNGW/BEP_DEMOGenerate demo notifications – DEMO
/IWNGW/BEP_NPREGRegister Notification Provider
/IWNGW/BEP_SET_ALIASEnter the SAP Backend System Alias
/IWNGW/BEP_SET_HUB_DEnter the SAP Gateway Hub RFC dest
/IWNGW/HUB_SAP_ALIASManage SAP System Alias
/IWNGW/H_CACHE_SDATASet storing sensitive data on Hub
/IWNGW/H_CLEAR_CACHEClear the hub’s cache
/IWNGW/H_CLEAR_NOTIFClear the notifications for a user
/IWNGW/H_CLOUD_DESTMaintain Connectivity for SAP Cloud
/IWNGW/H_SMP_DESTRegister SMP Destination
/IWNGW/SYS_ALIASNC: System Alias for SAP Origin
/IWNGW/VB_REGNotification provider registry maint
/IWNGW/VB_REG_PNotif. provider activation maint
/IWNGW/VNPUSHPPush channel activation maint
/IWNGW/VNPUSHRPush channel maintenance screen

<< To Top

Important Tables

NameDescription
/IWNGW/B_REGBEP Configuration – Registry of notification providers
/IWNGW/B_REG_PBEP Configuration – Activation of notification providers
/IWNGW/B_REG_TBEP Configuration – Notification provider text
/IWNGW/C_DFSYALNC: Customizing table “System Alias”  for “SAP Origin”
/IWNGW/C_DFSYALTNC:Customizing table “System Alias”  for “SAP Origin” – Text
/IWNGW/GENERALConfiguration – General settings
/IWNGW/NACTIONHUB Metadata – Notification Type Action
/IWNGW/NACTION_THUB Metadata – Notification Type Action Texts
/IWNGW/NENCSTOREHUB Transactional – Encrypted Sensitive Notif. properties
/IWNGW/NLOG_LVLSAP Notification Channel Log Level for Application Log
/IWNGW/NNAV_PARAHUB Transactional – Notification Navigation Parameter
/IWNGW/NOTIFHUB Transactional –  Notification Instance
/IWNGW/NPROPHUB Transactional – Notif. properties applied to templates
/IWNGW/NPUSHPHUB Configuration – Published push channel
/IWNGW/NPUSHRHUB Configuration – Push channel of notification gateway
/IWNGW/NPUSHR_THUB Configuration – Push channel text
/IWNGW/NRECIPHUB Transactional – Notification Recipients
/IWNGW/NTYPEHUB Metadata – Notification Type Cache
/IWNGW/NTYPE_TTHUB Metadata – Notification Type Text Template
/IWNGW/NTYP_SETNHUB Metadata – Notification Type Personalization

<< To Top