Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Raja_Gupta
Product and Topic Expert
Product and Topic Expert
0 Kudos
3,275
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.
11 Comments
Former Member
0 Kudos
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.
0 Kudos
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
dirkneumann
Explorer
0 Kudos
Hi,

 

I have a trouble to approve the alert.

Any advice ?

Thanks...
Former Member
0 Kudos
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
0 Kudos
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
0 Kudos

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:

urlhttps://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

 

Former Member
0 Kudos

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?

0 Kudos

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

 

Former Member
0 Kudos
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
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.

 
0 Kudos
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