This is the simplest way to test APIs and the easiest tool for functional to test the API and validate the API data. SAP gives provision to configure your own S4C system as well in the API Hub .
You can filter the APIs based on solution like SAP S/4HANA Cloud and find the API for your requirement example I am looking for API to return Billing header and item information. By default, SAP also Provides Sandbox which can be used to test API. And you can configure your own system to test the API with your data.
Once you click on Configure Environment ; fill in below details to configure your own S/4HANA Cloud system.
Once you have configured your S/4HANA Cloud system ;then in API environment drop down select your configured system and then you can try out any entities of the API to see the data.
Click on the Try out option as shown below for the entity you want to test.
In response you can see the data of API as well ; this helps to figure out which fields hold data for your case.For more details on using SAP API Business Hub you can refer here.
You can also use the Postman tool to test the APIs if the Communication arrangement is in place. This tool is very helpful from developer perspective as they can test the APIs. Mostly its used by Middle ware teams to test the calls and checking metadata etc.
You can also call the APIs from CBO Logic / from Custom field and logic app by writing the logic to check the setup of Communication arrangement and then calling the REST API. For this we need to have the Outbound Communication arrangement set up in place. This we have seen in my last blog post as well.
Summary: In this we covered how Technical and Functional teams can test the APIs while working on S/4HANA Cloud system. In my next post we will see my learnings /observations while working with new Custom CDS View Fiori app in Cloud 2008,refer SAP S/4HANA Cloud: Key Takeaways on CDS Views
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |