Hi, welcome back to our video tutorial series about developing applications with SAP Ariba
APIs.
I am Denys van Kempen from the Digital Partner Engineering team of SAP’s global partner
organisation.
In previous videos of this series, we looked at the SAP Ariba developer portal, in some
detail, and showcased the Analytics APIs.
For this video, there is another resource I would like to bring to your attention, the
SAP API Business Hub.
Time of recording is December 2019.
For updates, please check the SAP Ariba API playlist on our YouTube channel.
okay - I am connected here to api.sap.com and here we find all the APIs of the different
SAP solutions, S/4HANA, SuccessFactors, Concur, and Ariba of course, plus some additional
material.
Now, we could do a whole video tutorial series about the API Business Hub - but that is not
our goal here, I will just focus on SAP Ariba.
So far, I have not connect yet to the Hub and this is different from the SAP Ariba Developer
Portal, where - you may recall - we first need to sign up, we first need an account,
and that’s not self-service, your organization will need to be a licensed SAP Ariba customer.
Period.
The SAP API Business Hub, on the contrary, is freely accessible.
If we zoom in on SAP Ariba, we can see that there are tiles or sections with integration
content for SAP ERP, S/4HANA via CIG (cig), the Cloud Integration Gateway, and one for
SAP Ariba APIs, with 21 APIs listed.
Select it to get a listing.
Here is our list and here we find our Analysis Reporting APIs
back again, Job Results, Job Submission, Synchronous, View Management
if you have followed along, you will be familiar with these.
The Details tab was last modified on June 2018, time of recording, and it shows, as
we only have links to three of the seven, by now, supported regions, and the developer
guide does not point to an online resource but to an old version of the guide - so this
is all not to useful.
However, if we return to our APIs, and select, say, View Management,
we get the same Swagger documented view of the API and we talked about and showed Swagger
in a previous video - but here we can get code snippets, which shows
us how we can implement the API in JavaScript, for example
We define a couple of variables We set the API endpoint
Then the header and the API key and send (data) to execute.
Same for Java, for Swift - that would be for native iOS,
for Apple devices the CURL command, for test scripts
for ABAP, of course and also a sample of ABAP using SAP Cloud
Platform.
Quit useful.
We can also try them out here, but for this we need to log on first.
Regular SAP ID account, same as for sap.com - no need to buy anything first.
Here we have view template we could use - realm does not mater
Execute and here we have the response
which you could download response body
response header There is a bit more information and we do
not have to generate an API key, work with OAuth tokens and secrets, and all that
so, if you are in a very early phase, discovery mode, this might be a bit easier to use.
One more thing, we can also download the Java SDK here.
It is a zip file here we have it in Finder
and if we open it in Terminal
you can run ‘mvn install’
or ‘gradle build’
and maybe use Eclipse to develop and work with the Ariba APIs
okay - that’s it for using the SAP API Business Hub.
In the next video we will start with the SAP Ariba Network APIs.
Thank you for watching