Skip to Content

Introducing

In this 3rd Blog of our Story:

1 How to combine SAP Leonardo IoT Foundation and SAP CEC – an PoC
2 Connect the Excavator to SAP Cloud Platform IoT Service (CF env.) and Build the Digital Twin
3 How to us SAP Smart Business Service (CF env.) with SAP Cloud Platform IoT Application Enablement – the setup (this blog)
4 Create an “IoT Freestyle” app including “Embedded Analytics”
5  SAP Cloud Platform Integration as keyplayer to interact with other applications (Cloud and non Cloud)

It´s now time to make use of SAP Smart Business Service (CF) on top of SAP Cloud Platform IoT Application Enablement.

 

In Detail we want cover the following:

  • Prerequisite and configuration
  • Access the Smart Business Modeler Apps. and define the IoT Discovery
  • Create your first Evaluation to validate the setup

 

Prerequisite and configuration

As always nothing works with a bit of configuration.

The first thing what we have to define are some destinations in the SAP Cloud Platform Neo Environment:

Name ssbruntime
Type HTTP
Description Smart Business Runtime UI Application
URL https://sapsmartbusiness-<SCP Neo Acc. ID>.dispatcher.hana.ondemand.com
Proxy Type Internet
Authentification AppToAppSSO

 

Name ssbruntime_cf
Type HTTP
Description Smart Business UI control target
URL https://sap-smartbusiness-service-ui-runtime.cfapps.eu10.hana.ondemand.com/sap/smartbusiness/ui
Proxy Type Internet
Authentification NoAuthentication
WebIDEEnabled true
WebIDEUsage plugin_repository

 

Name  ssbservice
Type  HTTP
Description Smart Business CF
URL  https://sap-smartbusiness-service-hcp-cf.cfapps.eu10.hana.ondemand.com
Proxy Type  Internet
Authentification  OAuth2SAMLBearerAssertion
Audience <part of SAP IoT AE onboarding mail>
Client Key <part of SAP IoT AE onboarding mail>
Token Service URL <part of SAP IoT AE onboarding mail>
Token Service User <part of SAP IoT AE onboarding mail>
Token Service Password <part of SAP IoT AE onboarding mail>
TLSVersion TLSv1.2
WebIDEEnabled True
WebIDEUsage odata_gen

And finally the system which alows us to connecting with the analytics OData service from SAP CP IoT (AE)

Name BusinessSystem01
Type HTTP
Description Backend system to consume data in smartbusiness
URL https://analytics-thing-sap.cfapps.eu10.hana.ondemand.com
Proxy Type Internet
Authentification  OAuth2SAMLBearerAssertion
Audience <part of SAP IoT AE onboarding mail>
Client Key <part of SAP IoT AE onboarding mail>
Token Service URL <part of SAP IoT AE onboarding mail>
Token Service User <part of SAP IoT AE onboarding mail>
Token Service Password <part of SAP IoT AE onboarding mail>
TLSVersion TLSv1.2
WebIDEEnabled True
WebIDEUsage plugin_repository

 

Access the Smart Business Modeler Apps.

To get access to the Smart Business Modere apps. u get noticed about the FLP URL.

In my case, the process works after an OSS Ticket and some days later i got the right URL provided.

Whyever in my case i got now an addition URL as my initila SAP CP IoT AE Launchpad!?

FLP #1: SCP IoT AE Apps. (CF env.):

 

FLP #2: Smart BusinesS Apps. (CF env.):

 

Configure the Business System

After we enter the corresponding tile we need to select:

Source System: BusinessSystem01

Afterwards u do not change anything, only click on the Service Discovery Type link and select “IoT Service Discovery”:

 

The final configuration should look like this:

 

….a first test

If we now validate our config, we can try to define a new Evaluation by accessing the “Create Evaluation” tile:

If we now 1st select our “Business System”:

And the then the Discovery Service:

We got now the expected result by selecting the “Thing Type(s)”:

 

Conclusion

Hopefully u can see how u config your system to make use of KPI´s and Evaluations in SAP CP IoT Enablement.

If u are interested in the analytics part, pls this blog about the usage from SAP Analytics Cloud with SAP CP IoT AE: https://blogs.sap.com/2018/03/29/how-to-connect-sap-analytics-cloud-to-sap-cloud-platform-iot-application-enablement-part-2/

In the next blog we will go in detail trough the previous step and finally we create an SAP UI5 IoT Freestyle application where we include our new SAP Smart Business Service “Evaluations and KPI’s.

 

cheers,

fabian

 

Helpful Links

Configuring Smart Business Services and Controls

Smart Business Modeler Apps

 

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