Skip to Content

SAP Smart Business is a framework for exposing strategic (key) and operational performance indicators (KPIs, OPIs) as Analytical content(chart/tiles) without the need to write any code.

It can be used by customers, partners and SAP’s development teams for making highly aggregated analytical data embedded within any UI5 application. For more overview on smartbusiness you can check following blogs:

https://blogs.sap.com/2017/06/23/how-sap-smart-business-works/

To know more about embedded analytics feature you can follow this blog series:

https://blogs.sap.com/2017/01/24/embedded-analytics-using-smart-business-framework/

Recently SAP has released smartbusiness embedded analytical controls packaged with SAP IoT Application Enablement. To know more about SAP IoT application enablement you can go through help doc:

https://help.sap.com/viewer/p/SAP_IOT_APPLICATION_SERVICES

IoT provides analytical odata service based on data collected from sensors. IoT Application Services provide Fiorilaunchpad for each subscribed SaaS tenant. Launchpad contains application to model things(IoT) as well as smartbusiness KPI/Evaluations. URL pattern of Launchpad might look like :

https://<SaaSTenant>.flp-iot-sap.cfapps.<landscape(eu10/us10/..)>.hana.ondemand.com/sites#Shell-home

With proper authorization user can model smartbusiness entities which can be consumed as analytical content in UI5 application. Once things and KPI are configured it can be used to build application using webIDE which is provided as service in SCP neo/classic. IoT AE has released plugin with webide which provides IoT controls along with smartbusiness and few other UI5 controls. To know more details about webide integration with smartbusiness and IoT please follow:

https://help.sap.com/viewer/86ce311577794701bae493bddd753aa3/1.44.0.0/en-US/0b6c1f35d64a492d9b522702af0c15da.html

To use smartbusiness content you need to configure roles and destination.

Role configuration for smartbusiness:

Once SaaS tenant has subscribed to iot and smartbusiness, admin tool for xsuaa’s role builder will get role templates from smartbusiness under iot application(iotas)

URL pattern for admin tool :

https://<tenant>.admin.cfapps.eu10.hana.ondemand.com/index.html

 

Roles which we have created out of role template in xs-security.json are:

  1. $( XSAPPNAME)_Services_SmartBusinessModeler                                        (it’s default instance)
  2. $(XSAPPNAME)_Services_SmartBusinessAdministrator                                   (default instance)
  3. $( XSAPPNAME)_Services_SmartBusinessAlertSubscriber                            (default instance)
  4. $( XSAPPNAME)_Services_SmartBusinessDeveloper                                    (default instance)

 

Custom roles with attribute

 

  1. $( XSAPPNAME)_SmartBusiness_Administrator_Fiori_Launchpad                 attribute key :  siteGroupRoles     value : SmartBusinessAdministrator
  2. $( XSAPPNAME)_SmartBusiness_Modeler_Fiori_Launchpad                          attribute key : siteGroupRoles     value : SmartBusinessModeler
  3. $( XSAPPNAME)_SmartBusiness_AlertSubscriber_Fiori_Launchpad              attribute key : siteGroupRoles     value : SmartBusinessAlertSubscriber

 

All above 7 created roles should be added to role collection <tenant-name>-thingsuperuser.

Newly created role template should be mapped to user group and finally users can be added to user group. Once user is added to user group, he/she should be able to model KPI/evaluations.

Roles:

Role collection:

Mapping of role collection to user group:

 

Configuration of destination for webide usage.

 

The number of properties to be configured is different for reuse controls and for backend services. The following tables provide information on configuring the services and controls. Destinations must be configured in a neo account where Web IDE is used. Details about smartbusiness specific destinations.

https://help.sap.com/viewer/6a4563286d06419cb9927ef448c67432/Cloud/en-US/96e16b86c15348c4aee3b3762658b3c7.html

Once these things are done you can open webide fullstack and start consuming analytical controls in IoT context.

Preview of how smartbusiness controls look like in webide:

 

Under control section if you see: KPIs has 7 controls all providing different visualization for analytical content. And under chart, Analytical chart provides smartbusiness chart based on KPI modeled.

 

Cheers.

 

Note*:

To know more about Smart Business Service, refer to the articles

Smart Business Service

 

Note: In case you face any issue with Smart Business Service, you can create an Incident on SAP Support Portal with the  components: CA-GTF-SB-HCP. You may also contact Smart Business team at smartbusiness@sap.com.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply