Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member



Technical Information

Front-End System:

  • SAP NETWEAVER / 7.5 / 05 / (10/2016) / sap.com SAP NETWEAVER 7.5

  • SAP_GWFND / 750 / 0005 / SAPK-75005INSAPGWFND / SAP Gateway Foundation






The Notification Channel is a framework for the applications to deliver end-user notifications across multiple channels. It is part of the SAP_GWFND component of the Front-End Server.

The functionality includes:


  • Backend provider interface – enable / text templates / handling actions




  • Backend API – manage notification (create/delete)




  • Configuration for hub and embedded scenarios (connectivity)




  • Configuration for push channels (connectivity)




Source: http://help.sap.com/saphelp_nw75/helpdata/en/f8/a24d491bdd4876bfa5f49d3eeaa21b/content.htm

Example use case: SAP Fiori launchpad integration



 




Develop Notification Provider

The next is the general interface for the notification provider, all notification providers must implement this interface:

  • /IWNGW/IF_NOTIF_PROVIDER


Each provider has an automatically assigned ID that is used for all interaction with the notification channel, before any notification is created, the notification provider must be implemented.

Register the notification provider

Transaction:     /n/IWNGW/BEP_NPREG           - Register Notification Provider

Indicate a Provider ID, a class that has the /IWNGW/IF_NOTIF_PROVIDER interface, and a provider description:



For example:



Use the SM30 transaction with the /IWNGW/VB_REG_P view, to activate the previously defined provider:






Configure the Notification Channel

OData V4 Service:
Implement the V4   /IWNGW/NOTIFICATION_SRV  service.

All the steps for the configuration of the service are accessed from the SPRO in the route:

  • SPRO -> SAP NetWeaver -> Notification Channel







1. Enter the Notification Hub RFC Destination

A RFC connection from the front-end server to the back-end server must exist previously.

  • SPRO -> Notification Channel Provider Enablement -> Configuration -> Connection Settings -> Enter the RFC Destination Notification Hub


Select the corresponding RFC Connection and Execute to save the configuration:






2. Enter the Backend System Alias

A System Alias must be pre-configured.

  • SPRO -> Notification Channel Provider Enablement -> Configuration -> Connection Settings -> Enter the SAP Backend System Alias


Enter the indicated System Alias and Execute to save the configuration:






3. Create bgRFC Destination

This is an access to transaction SM59

  • SPRO -> Notification Channel Provider Enablement -> Configuration -> Connection Settings -> Create bgRFC Destination



  • The RFC destination to be created must strictly be called "IWNGW_BGRFC"

  • Connection Type: 3 - ABAP Connection

  • Enter a characteristic description.

  • On the Technical Settings tab, ensure that the Load Balancing option is set to YES. The Target System, Msg.Server, and IP Address fields are completed automatically.

  • In the Special Options tab, the Protocol field must be set to Classic with bgRFC.

  • Save and verify the connection, authentication and logging to the backend test.







4. Register RFC Destination for Background Processing

The Notification Channel uses output queues to reliably send information to a back-end system, these output queues use bgRFC (Background Remote Function Call) technology.

This activity allows you to register the bgRFC connection.

  • SPRO -> Notification Channel Provider Enablement -> Configuration -> Connection Settings -> Register RFC Destination for Background Processing



  • Run the activity.

  • Go to the Define Inbound Dest. tab, and select Create.

  • In the Destination Name field, enter the exact name:  IWNGW_BEP_OUT_BGRFC

  • Create the following new queue prefix: In the New Prefix section, enter Q and press the New/Add button.

  • Save all changes.







5. Create bgRFC Supervisor Destination

The Notification Channel uses output queues to reliably send information to the user, these output queues use bgRFC (Background Remote Function Call) technology.

The bgRFC can only function if a Supervisor Destination has been defined, this activity allows you to create that Supervisor Destination.

  • SPRO -> Notification Channel Provider Enablement -> Configuration -> Connection Settings -> Create bgRFC Supervisor Destination



  • Run the Create bgRFC Supervisor Destination activity.

  • Go to the Define Supervisor Dest. tab, and create the Destination Supervisor if it does not exist.

  • The RFC destination name must be exactly: BGRFC_SUPERVISOR, then you must enter a suitable User and Password.

  • The user must be a special user created specifically for the bgRFC Supervisor Destination.

  • The user must be assigned the authorization role SAP_BC_BGRFC_SUPERVISOR or the copy of the authorization role.

  • Save all changes.









6. Register Notification Providers

This activity allows you to register new notification providers that can be used as notification sources within the notification channel. The Notification Provider must be created previously as indicated in the previous points (point 5).

  • SPRO -> Notification Channel Provider Enablement -> Administration -> Notification Provider Settings -> Register Notification Providers



  • Run the Register Notification Providers activity.

  • If it does not exist, create / add the required notification provider.

  • The assigned Class Provider must be fill mandatorily with the /IWNGW/IF_NOTIF_PROVIDER   Class Interface.

  • Save all changes.







7. Manage Notification Providers

This activity allows you to manage the notification providers by enabling/disabling the previously registered notification providers.

  • SPRO -> Notification Channel Provider Enablement -> Administration -> Notification Provider Settings -> Manage Notification Providers



  • Run the Manage Notification Providers activity.

  • Add Notification Providers as needed.

  • Check or Un-Check the Activation check as appropriate.

  • Save all changes.







End.

With these procedures the Notification Channels are configured and active.



Gio RV.[CR]







 
12 Comments
Labels in this area