Skip to Content
Author's profile photo Murali Shanmugham

Consuming APIs from Business Objects Cloud via SAP API Management

API Management on HANA Cloud Platform helps drive innovation in modern business models. It provides a unified access from new channels and diverse user interfaces by enabling developer communities to securely connect to your enterprise information and processes. Above all, it simplifies access to back-end services and complex landscapes and allows easy consumption of digital assets and at the same time protecting the systems from threats and overloaded access.

In this blog post Consuming APIs from Web IDE via SAP API Management, Holger Bruchelt walks through the process of exposing the APIs via API Management and consuming it in SAP Web IDE. In this blog, I am going to take a similar approach, but going to demonstrate how you could create a rich visualization in HANA Cloud Platform based on APIs which are exposed from API Management. Last month Business Object Cloud (BOC) announced the support of OData by providing adapters which can read from any OData source. As you all might be aware by now, SAP is making OData as the default way of exposing business information from their on-premise and cloud solutions. API Management plays a crucial role in ensuring these OData APIs are securely exposed to outside world or even to another department within the same organization.


  • Access a trial landscape, you need to have a developer account first. If you still need to create a developer account, you can start from here: Signing Up for a Developer Account.
  • Setup your API Management service by registering an ES4 System. I have documented this earlier in this blog.
  • Access to Cloud for Analytics account, to register you can start from here: Discover Cloud For Analytics.

Assuming you have created an API based on ES4 ABAP system, open the API to view the policies. To keep things simple, I have just added policies to hard code my ES4 logon credentials.

Navigate to the Resources Tab and click on the SalesOrderCollection link.

This will open a new browser window and display the results.

Launch your Business Objects Cloud tenant and create a model which refers to the Sales Order Collection.

Select “Get data from an app” and choose “OData Services”.

Create a new connection pointing to the OData API exposed from API Management.

Create a new Query by referring to the Sales Order entity set which is available in the OData API.

In the Query builder, drag and drop the fields which are required for reporting purposes.

Give a name for your model and save the model. With this you are now ready to build stories in BOC which can display rich charts consuming the exposed APIs.

Navigate to the Stories menu to create a Story with charts.

Assign the previously created model to this story by clicking on “Add data”.

Select the model created earlier – “SalesOrderModel”

This will take you to the story designer where you can add your charts and map the X and Y coordinates with the measures and dimensions.

Below is my final output which displays Sales Order details available in ES4 backend system through the APIs which are exposed via API Management on HANA Cloud Platform.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Elijah Martinez
      Elijah Martinez

      Very cool! Great to see more cross-product interaction. Thank you again Murali 🙂



      Author's profile photo Murali Shanmugham
      Murali Shanmugham
      Blog Post Author

      Hi Elijah, Thanks for the feedback.

      Author's profile photo Former Member
      Former Member


      I'm not able to create the connection. The error is:

      The URL which contain JSON has some prefix and suffix. I think that's the issue. Can u please help me?

      Author's profile photo Former Member
      Former Member

      Thanks Murali, it was a great article, I was looking to connect all this with chatbots and voice bots for making queries. Can it be done directly from Business Objects Cloud API's or do i need API Management to do so?

      Author's profile photo Murali Shanmugham
      Murali Shanmugham
      Blog Post Author

      Thanks Rohit. If you are looking to expose your business information and make them available via Chatbots/Voice bots, I would recommend to use API Management as a layer to protect your backend systems.