Introduction: This document describes that if the standard API is not available to fulfil any integration requirement, then how to create an external API using standard or custom CDS view in S/4HANA cloud so that we can get the required data via created external API
Here I will take one example where i want to fetch the address details of a supplier, the standard CDS view of supplier does not provide the address details of the supplier, it only provides the AddressID of the supplier and another CDS view can provide the address details using that AddressID as a filter in join condition.
For creating external API from custom CDS view, Let’s create custom CDS view and then create a custom communication scenario.
Consider a scenario where we need supplier address via custom CDS view.
**Standard API is available to full fill this requirement
but here I am taking this example for explaining purpose.
So, let’s start.
Login to S/4 Hana public cloud and go to Extensibility->Custom CDS View(Figure 1)
Figure 1
Click on create for a new CDS view.(Figure 2)
&nbs