Show TOC

Demo ProviderLocate this document in the navigation structure

You can find a sample implementation as well as a demo report in package /IWNGW/BEP_TESTING, sample provider /IWNGW/CL_DEMO_NOTIF_PROVIDER.

Description

Two notification types are handeled in this interface: Punchase order (PO) and Leave Request (LR). To view the sample code refer Sample Provider

Testing the Demo Provider

To test the demo provider proceed as follows:

  1. Register the provider class with transaction /IWNGW/BEP_NPREG. Make sure you name the notification provider ID IWNGW_DEMO1, because the demo report works with this ID.

  2. Activate it via transaction SM30 and the view /IWNGW/VB_REG_P.

  3. Run transaction /IWNGW/BEP_DEMO and trigger a leave request, for example..

  4. Start the SAP Fiori launchpad on your frontend server and verify that the notifications have been created.

    The notification should arrive almost instantly, as the launchpad is notified via a web socket connection once the notification instances are created.