Skip to Content
Author's profile photo Raja Prasad Gupta

How to Manage Alerts in Smart Business Service

In my previous articles, I explained Smart Business Service and how to subscribe it in HANA Cloud Platform.

In this article, we will learn how to create and manage alerts in Smart Business Service.

How to Create and Manage Smart Business Alert

Below section will explain how to create alert and how to use it. Make sure you have configured BusinessSystem and OAuth Client as described in section “Register Smart Business as OAuth Client with OAuth Service”.

 

  1. Create a KPI based using BusinessSystem00. Use Purchase entity and WeightedAverageRating measure.


2. Create an evaluation using the KPI and provide a threshold values.

3. Create and publish tile for this KPI and evaluation.

4. Go to Workspace and select the KPI à Evaluation. Click on Subscribe Alert.

5. Provide alert description, alert owner and alert recipient email ids.

6. Click on Save and you will see the Alert in pending state as below.

7. The alert owner will get an email which will provide details of the alert and link to approve the alert.

8. Alert owner can click on the link to approve the alert.

9. It redirect to OAuth authorization page. Click on Approve to approve the alert.

10. Finally the alert will be approved and will be seen as in Active state.

11. In case the KPI value breaches the threshold, all recipients will get an alert email as below.

 

Note: A complete implementation guide on Smart Business Service is also available at SAP-Press.

Assigned Tags

      11 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Nice blog. In step 4 "Go to Workspace and select the KPI à Evaluation. Click on Subscribe Alert. " I am able to see the Subscribe alert button. When I click on that I do not see anything happening.

      Author's profile photo Lucky Jindal
      Lucky Jindal

      Hi Wesley,

      In the official Help document "https://help.hana.ondemand.com/ssb_service/frameset.htm" , please check the last 2 sections in Subscription and Configuration . This is about setting up of oAuth. Please confirm if you have already done these steps. If you still face same issue, please send us the error (in developer trace). You can also directly reach us by sending the mail at the mail address proivided at the end of the blog.

      Regards,

      Lucky

      Author's profile photo Dirk Neumann
      Dirk Neumann

      Hi,

       

      I have a trouble to approve the alert.

      Any advice ?

      Thanks...

      Author's profile photo Former Member
      Former Member

      Hi Dirk,

       

      Kindly let us know what is the error that you faced.

      Also what is the exact flow you followed that you encountered the error.

      You can email us on : smartbusiness@sap.com

       

      Thanks & regards,
      Ruchita Kasliwal

      Author's profile photo c reddy yarragudi
      c reddy yarragudi

      Hi Prasad,

      Nice blog.

      can you please write on configuring authorization provider, taken provider destinations and oauth client creation for smart  business service. Also on configuring the business systems for alert subscription.

       

      Regards,

      Chandra

      Author's profile photo Raghavi H S
      Raghavi H S

      Hi Chandra,

      Access Configure Business System app from: SCP Cockpit –> Services –> Smart Business Service –> Configure Service, now select Configure Business System tile.

      Information needs to be maintained for accessing Alert feature in Configure Business System:

      Provide Client ID (generated in Step 1 in  below section), Authorization & Token Provider destinations. These destination has to be configured in SCP Cockpit. Corresponding URLs to be used can be taken from Security –> OAuth –> Branding –> OAuth URLs.

       

      Steps to get Client ID:

       

      1. Cliend ID: In SCP Cockpit, Go to Security–> oAuth and then select Clients tab if you have registered already. Otherwise click on the button Register New Client, new Client ID will be generated.
      2. Make sure that redirect url is maintained in the below format in the section under the Clients Table.

      Format of re-direct url to be maintained:

      url https://flpabc -<account id>.us2.hana.ondemand.com/ssbservice/ssb/services/OAuthCallback

      Note: Manage SB Alerts app must be available in the default site of the Fiori Launchpad  for the redirect url to work properly

       

      Hope this answered your question.

       

      Regards,

      Raghavi

       

      Author's profile photo Former Member
      Former Member

      Hello ?

       

      I have a problem while trying to registrate the SB as an OAuth Client for a trial account.

      Using the following Redirect URL https://flpportal-(accountID).dispatcher.hanatrial.ondemand.com/sites#SMBAAS-alertSubscriptions?sitePresent=false  gives me an incorrect URL error.

      Do you have any suggestions?

      Author's profile photo Raghavi H S
      Raghavi H S

      Hello,

      Please make sure that “Manage SB Alerts” app is available in the default site of the Fiori Launchpad for the redirect-url to work properly.

      Kindly create an incident on SAP Support PortalInformation published on SAP site with the  components: CA-GTF-SB-HCP, in case if the issue still exist.

       

      Regards,

      Raghavi

       

      Author's profile photo Former Member
      Former Member

      Hello,

      I followed all the steps mentioned in this blog. Though i see an alert in the app "Manage SB Alerts" i didn't receive any emails for subscription. Can someone please help me?

      Thanks,

      Sankeerth

      Author's profile photo Former Member
      Former Member

      Hello,

      In step 5, after specifying the alert owner email and alert recipients I am trying to save it. When I select save, it shows the below error dialog.

      When I click on OK, busy indicator is displayed. When I go back to the Manage Smart Business Alerts app, I see the alert created as shown below.

      But I am not receiving any email. Could you please help me to resolve this issue.

       

      Thank you,

      Sankeerth.

       

      Author's profile photo Chandu 17
      Chandu 17

      Hello All,

       

      Is this alert configuration same in 1809 on-premise system also.

      I have given owner name,email id in evaluation tile and once tile configuration and drill down is done i have subscribed as well but i dont get any emails.Is there any workflow tasks o activites needed to be performed.Request your help and suggestions

      Regards,

      Chandu