Task 1: Optional: SAP Gateway OData V4
Steps
In your SAP S/4HANA system, check if ICF service /sap/opu/odata4 for OData V4 is active. If it is inactive, activate it.
Log on to your SAP system using the train-## user.
Start transaction SICF.
Choose Execute (F8).
In the ICF services tree, navigate to /sap/opu/odata4.
Note
ICF service /sap/opu/odata4 was activated by task Activate HTTP Services for NW Gateway (SICF) of task list SAP_GW_FIORI_ERP_ONE_CLNT_SETUP.Only if the ICF service is inactive (not black), perform the following steps:
- Right-click odata4.
- Choose Activate Service.
- In the popup, choose the left Yes button.
In your SAP S/4HANA system, check if service group /IWNGW/NOTIFICATION is published. If it is not published, publish it.
Continue working in your SAP system using the train-## user.
Start transaction SPRO.
Select SAP Reference IMG.
Navigate to ABAP Platform → Notification Channel → Notification Channel Hub → Configuration → Connection Settings → Publish the Notification OData Service (alternatively, start transaction /IWFND/V4_ADMIN).
Note
Service group /IWNGW/NOTIFICATION was published by the task, Publish Service Groups Foundation (/IWFND/V4_ADMIN), of the task list, SAP_FIORI_FOUNDATION_S4.Only if service group /IWNGW/NOTIFICATION is not published, perform the following steps:
- In the system function bar, choose Publish Service Groups.
- In the System Alias field, choose LOCAL.
- Choose Get Service Groups.
- Select the /IWNGW/NOTIFICATION group and choose Publish Service Groups.
- In the popup, choose Continue.
- If required, provide a Customizing request.
Result
The /IWNGW/NOTIFICATION OData V4 service group has been published.
Task 2: Push Channels
Steps
In your SAP S/4HANA system, check if the /sap/bc/apc/iwngw/notification_push_apc ICF service is active. If it is inactive, activate it.
Continue working in your SAP system using the train-## user.
Enter transaction SICF.
Choose Execute (F8).
In the ICF services tree, navigate to /sap/bc/apc/iwngw/notification_push_apc.
Only if the ICF service is inactive (not black): right-click notification_push_apc and choose Activate Service. In the pop-up, choose the left Yes button.
In your SAP S/4HANA system, maintain and activate the push channel SAP_WEBSOCKET.
Continue working in your SAP system using the train-## user.
Start transaction SPRO.
Select SAP Reference IMG.
Navigate to ABAP Platform → Notification Channel → Notification Channel Hub → Administration → Push Channel Settings → Activate and Maintain Push Channels (alternatively, enter transaction /IWNGW/VNPUSHP).
Choose New Entries.
In the Push channel ID field, choose SAP_WEBSOCKET (using the F4 help). In the Push channel sequence number field, enter 10. Select the Is Active flag.
Choose Save.
If required, provide a Customizing request.
Task 3: Optional: FLP Settings
Steps
To the client-specific FLP configuration, add the following setting:
NOTIFICATIONS_POLLING_INTERVAL = 30 (seconds)
Continue working in your SAP system using the train-## user.
Enter transaction /UI2/FLP_CUS_CONF.
Choose New Entries.
In the FLP Property ID field, select NOTIFICATIONS_POLLING_INTERVAL.
In the Property Value field, enter 30.
Choose Save.
If required, provide a Customizing request.
Task 4: SAP System Alias
Steps
In your SAP S/4HANA system, enter LOCAL for the system alias.
Continue working in your SAP system using the train-## user.
Start transaction SPRO.
Select SAP Reference IMG.
Navigate to ABAP Platform → Notification Channel → Notification Channel Provider Enablement → Configuration → Connection Settings → Enter the Backend System Alias (alternatively, enter transaction /IWNGW/BEP_SET_ALIAS).
As Backend SAP Origin (Alias), enter LOCAL.
Choose Execute (F8).
Task 5: RFC Communication
Steps
In your SAP S/4HANA system, enter NONE as SAP Gateway Hub RFC destination.
Continue working in your SAP system using the train-## user.
Enter transaction SPRO.
Select SAP Reference IMG.
Navigate to ABAP Platform → Notification Channel → Notification Channel Provider Enablement → Configuration → Connection Settings → Enter the Notification Hub RFC destination (alternatively, start transaction /IWNGW/BEP_SET_HUB_D).
As SAP Gateway Hub Dest. RFC, use the F4 help to select NONE.
Choose Execute (F8).
Task 6: Notification Providers
Steps
In your SAP S/4HANA system, check the registered notification providers. Verify that a provider with ID /IWNGW/DEMO is listed.
Note
Just open and note the list of registered notification providers – in the training environment, you do not have to change anything.Continue working in your SAP system using the train-## user.
Start transaction SPRO.
Select SAP Reference IMG.
Navigate to ABAP Platform → Notification Channel → Notification Channel Provider Enablement → Administration → Notification Provider Settings → Register Notification Providers (alternatively, start transaction /IWNGW/BEP_NPREG).
Just open and note the list of registered notification providers – among others, /IWNGW/DEMO should also be listed.
In your SAP S/4HANA system, enter and activate notification provider /IWNGW/DEMO.
Continue working in your SAP system using the train-## user.
Enter transaction SPRO.
Select SAP Reference IMG.
Navigate to ABAP Platform → Notification Channel → Notification Channel Provider Enablement → Administration → Notification Provider Settings → Manage Notification Providers (alternatively, start transaction /IWNGW/VB_REG_P).
Only in case notification provider /IWNGW/DEMO is not listed, perform the following five steps.
Choose New Entries.
As Notification Provider ID, use the F4 help to choose /IWNGW/DEMO.
Select the Is Active? flag.
Choose Save.
If required, provide or create a customizing request.
Task 7: Test Notification
Steps
In your SAP S/4HANA system, create a test notification of type Leave Request using transaction /IWNGW/BEP_DEMO. Make sure to use Provider ID/IWNGW/DEMO.
Continue working in your SAP system using the train-## user.
Enter transaction /IWNGW/BEP_DEMO.
Ensure that the Provider ID is set to /IWNGW/DEMO.
Keep all other settings unchanged and choose Execute (F8).
Task 8: Notifications Center
Steps
Launch the FLP in your SAP S/4HANA system and note the Notifications Center.
Open the FLP in your SAP system, for example:
A new notification indicator is displayed. Choose the notifications icon in the upper-right area.
As this is a demo notification: feel free to Approve or Deny it.