In my previous blogs I explained what is Smart Business Service, how to enable and use it and its various use cases. I also explained how easily you can create an ABAP CDS view and OData with SAP Annotations.
In this blog I will explain how you can connect S/4HANA system to HCP and create analytic content using Smart Business Service.
Let us assume we have a CDS view and OData which provides analytics in S/4HANA system. We can configure the cloud connector and connect S/4HANA system to HCP. Further in HCP we can use destination to access the OData and create Smart Business content.
We will use the same SFLIGHT based CDS and OData created in the blog ABAP CDS view and OData with SAP Annotations.
Note: Many SAP Fiori apps are available for use and are part of S/4HANA core component. These Fiori apps are based on ABAP CDS and OData and can be used to create to create analytical apps. Refer to SAP Fiori apps reference library to more about these apps.
Smart Business can consume any OData service which provides SAP annotation. You can either create an OData or use any existing Fiori apps OData service. Here we are using SFLIGHT OData view.
The cloud connector serves as the link between on-demand applications in SAP HANA Cloud Platform and existing on-premise systems. For more details on the cloud connector, please refer to the help document.
Follow the steps below to configure S/4HANA system to cloud connector.
- Download and install Cloud Connector from https://tools.hana.ondemand.com/#cloud
- Log on to the cloud connector administration UI by invoking the URL https://localhost:8443 in a Web browser. Enter user name as “Administrator” and password as “manage”.
- Go to Account Dashboard and click on Add button. Enter Landscape Host and HCP account ID. For the User Name and Password, use your HCP account user and your HCP password.
- If the connection succeeded, you will see the Connector State with a green indicator as shown in the screenshot below.
- Navigate to the Access Control view and click on Add button. Here you can configure a physical on-premise system and map it to a virtual host and port. The virtual host and port are the names which must be used in the cloud applications in order to address the respective system. Besides this, you need to configure the protocol that shall be used to access the related system. Currently, HTTP and RFC are supported.
- After a system has been added, you can configure the resources on that system to be exposed to HCP. To add a resource, select the system in the upper table, and then click the Add button in the resources table on the lower part of the view. Enter the details as below.
- Go to HCP account and create a Business System destination.
- Go to Configure Business Systems app and configure the Business System you just created.
All the configurations are done. Now you can go ahead and create Smart Business KPI and Tiles. To know more about this, refer to this blog.
Just make sure that you are using the same Business System configured in step 2.
Finally you should be able to get tiles and drill-down like below.
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 firstname.lastname@example.org