SAP API Business Hub: Discover and Consume APIs in SAP Web IDE
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.
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
- Launch https://account.hanatrial.ondemand.com in web browser ( for productive and SAP internal landscape please refer the respective account URL)
- First time user, get register by clicking the Register button. Existing SAP community user click on ‘login’
- Navigate and click on Services in left hand section
- 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!!