SAP API Business Hub is a central catalog of SAP and selected partner APIs to search, discover, test and consume these APIs to build extensions or integrations using the Cloud Platform.

URL: https://api.sap.com

Developer working in Web IDE would be interested in creating an app with rich set of APIs that are listed in SAP API Business Hub.  To simplify the consumption experience, APIs from API Business Hub can be discovered and consumed easily without any additional configuration.

In Web IDE, for any of the listed template, which supports Data Source, SAP API Business Hub appears in Service Catalog and all its OData APIs could be discovered with one click experience.

API Business Hub integration is available with Web IDE Multicloud version in SAP internal, trial and productive landscape.

Steps to consume APIs from SAP API Business Hub

  • First time user, get register by clicking the Register button. Existing SAP community user  click on ‘login’
  • Create a Destination in account cockpit to run the Fiori app.(to consume APIs from SAP API Business Hub)
  • Click on Destination in right side panel

 

  • Create a new Destination. Provide below-listed details in destination

 

  • Add below-listed properties and Save it.

          WebIDEEnabled    true

          TrustAll                  true

          WebIDEUsage      apihub_sandbox

          WebIDESystem     SAP API Business Hub

 

 

  •  Once Destination is set, next step is to open Web IDE
  • Search for Web IDE service in cloud cockpit and launch it
  • Navigate to Services

 

 

  • Search for Web IDE service tile

 

  • Web IDE Multicloud version is disabled by default. Enable the service and Select the link ‘Go to Service’

  • Once Web IDE is launched, create a new project from template

 

  • Select ‘SAP Fiori Master Detail Application’ and click Next

 

  • Provide a project name (eg: SampleApp) and click Next

 

 

  • Select “SAP API Business Hub” from Service Catalog drop down.

 

 

  • Enter SAP Community user credentials and click on ‘Log in’

 

 

  • With valid credentials, OData  APIs from SAP API Business Hub will be listed. Select Next.

 

 

  • Select Type as ‘Standalone App’. Fill mandatory fields  and click Finish

 

  • Once the project is created, next step is to run the project.

 

  • Right-click the project and click Run as -> Web Application

 

 

  • Provide SAP Community user credentials.

  • Fiori app is launched

 

APIs listed in SAP API Business Hub gets discovered and consumed by following steps as mentioned in the blog. It’s an ongoing journey to delight the end user with the consumption experience and we are committed in this direction. More features and scenarios as and when available will be updated on my blog. Stay tuned!!

 

 

 

 

 

 

 

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