Technology Blog Posts 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: 
811

Overview-

Enable publishing notifications within SAP S/4HANA to allow users to conveniently access and manage them directly from the shell header of Buildworkzone site interface. In my  case i am doing this configuration for Build workzone advanced edition.


Prerequisites-


1) SAP Task center is a prerequisite for notification enablement . Please refer my blog mentioned below .

https://community.sap.com/t5/technology-blog-posts-by-members/sap-task-center-integration-with-s-4ha...

2) Your SAP S/4HANA system is running version SAP S/4HANA OP-1909 (SAP_GWFND-754 SP06) or above.

3)A user with an assigned Subaccount Administrator role must assign the Business_Notifications_Admin role to the respective User or User Group role collections. Since this role is not included in any predefined Role Collection, the Subaccount Administrator must do one of the following

       i)Define a new Role Collection and add the Roles to it
       ii)Add the Roles in already existing Role Collection



Implementation -


1)   Go to Buildworkzone Site settings and Enable the toggle for "Show Notifications" 

Screenshot 2025-05-13 121507.png

2)  Go to Site Manager settings > Notifications tab and generate the credentials which are required for configuration

  • Host

  • OAuth 2.0 Client ID

  • Client Secret

  • Authorization Endpoint

  • Token Endpoint



Screenshot 2025-05-13 121701.png

Screenshot 2025-05-13 121805.png

3) Add the below additional properties in Runtime destination of Buildworkzone

sap-sysid - system ID of SAP S/4HANA system

sap-client - client of SAP S/4HANA system

NOTIF_SERVICEPATH - /sap/opu/odata4/iwngw/notification/default/iwngw/notification_srv/0001

Screenshot 2025-05-13 121939.png

4) Download the Trusted certificate of the notification service using the below link and import in STRUST SSL client standard certificate list

https://notifications.cfapps.us20.hana.ondemand.com/

Screenshot 2025-05-11 132251.png


Screenshot 2025-05-13 121049.png

5) Download OAUTH 2 token endpoint certificate and import in SSL client anonymous 

You can find the OAUTH token endpoint from step 2. Copy the url and paste in browser and click "cancel" on the popup

Screenshot 2025-05-13 122118.png

Screenshot 2025-05-13 122509.png
Click on export 
Screenshot 2025-05-13 122339.png

Add it in the certificate list of SSL client anonymous
Screenshot 2025-05-13 121330.png

Step 6) Restart the ICM
Screenshot 2025-05-13 122737.png


Step 7 ) Create a OAUTH client profile of Service provider type "Default"

Go to SE80 and create a package and right on the package to create a OAUTH 2.0 Client profile
Screenshot 2025-05-13 122633.png

Screenshot 2025-05-11 164742.png

Screenshot 2025-05-13 122858.png

And select the checkbox "No authorization check" for the profile.

Screenshot 2025-05-13 123103.png

Step 8 ) Enter TCODE - OA2C_CONFIG and create a new OAUTH 2.0 client

Enter the client profile created in step 7, Enter the client ID from step 2 and click on "OK"
Screenshot 2025-05-13 123235.png

Now enter the client secret, authorization endpoint, token endpoint from step 2
Screenshot 2025-05-13 123356.png

Select the client Authentication as "Basic"
Screenshot 2025-05-13 123605.png

Here in my case servers are hosted by ECS ( Rise with sap) so we need to enter the proxy host and port as below. Leave them blank if it is not in the case of yours.
Screenshot 2025-05-13 123714.png

Step 9 ) Create a RFC destination of type "G" 

Get the host details from step 2
Screenshot 2025-05-13 123909.png
on "Logon & security" tab  Click on OATH settings and select the profile created
Screenshot 2025-05-11 172358.png

Set the SSL status to active
Screenshot 2025-05-11 172747.png

Select the HTTP version as 1.1
Screenshot 2025-05-11 173035.png

Step 10 -  SPRO  configurations

i)Register  destination and OAuth profile for SAP cloud notification service

SAP NetWeaver > Notification Channel  >Notification Channel Hub  > Configuration  >Connection Settings >  Register Destination and OAuth Profile for SAP Cloud Notification Service.
Screenshot 2025-05-11 173544.png

Enter the RFC destination which craeted in step 9, enter the OAuth 2.0 client profile, Oauth 2.0 configuration and click on execute
Screenshot 2025-05-11 173825.png

Screenshot 2025-05-11 174047.png

ii) Activate and maintain push channels

SAP Netweaver >  Notification Channel > Notification Channel Hub > Administration > Push Channel Settings > Activate and Maintain Push Channels

Screenshot 2025-05-11 174205.png

   
  Choose
 New Entries to create a new record and enter SAP_CLOUD as Push channel ID
  Specify the sequence number, for example 50, as the sequence in which the push channel

Screenshot 2025-05-11 174352.png

iii) Register bgRFC destination for Cloud service

NetWeaver > Notification Channel  > Notification Channel Hub >  Configuration  > Connection Settings  > Register bgRFC Destination for Cloud Service

Screenshot 2025-05-11 175156.png

On the bgRFC Configuration screen, go to the Define Inbound Dest. tab and choose Create.
In the Inb. Dest. Name field, enter IWNGW_NOTIF_CLOUD_BGRFC.
Create one queue prefix in the Add Queue Prefix field and choose Add.
Choose Save to save the queue prefixes.
On the bgRFC Destination screen, choose Save to save your Customizing settings.

Screenshot 2025-05-11 175443.png

iv) Enable sensitive data cache on the Hub

Run transaction /IWNGW/H_CACHE_SDATA 
Screenshot 2025-05-11 175552.png

Select the check box Click one execute
Screenshot 2025-05-11 175721.png
Screenshot 2025-05-11 175819.png

v) Set application-specific SSF parameters.

Run transaction SSFA and create a new entry. In the Create dialog, choose "Notification channel secure" and save your settings.
Screenshot 2025-05-11 180053.png


vi) Maintain encryption settings.

Run transaction STRUST and change to edit mode. In the tree on the left select the entry "SSF Notification channel secure" and choose Create.

In the following dialog where you select the encryption algorithm keep the default settings, confirm and save your settings.

You will see new sub-nodes created on the left-hand side under the node. Verify that the nodes have a green indicator next to them.


Screenshot 2025-05-11 180312.png



Step 11) Testing the configuration

Run Tcode - se38 - Execute program OA2C_GENRIC_ACCESS 

Enter the Client profile and select " Access Token Request" and execute then you can see success message
Screenshot 2025-05-11 180710.png

Step 12)  Checking notifications in Buildworkzone by clicking on the Bell icon

Screenshot 2025-05-11 182352.png

1 Comment