When we talk about SAP S/4HANA Cloud integration with other SAP or non SAP products, SAP S/4HANA Cloud API plays a major role in exchanging data between two systems. The APIs provide the capability to process input and output for a business object.
Note
- By default, the APIs are not accessible in your SAP S/4HANA Cloud tenant. Before you can use an API, you need to activate the API and define one or more (SAP S/4HANA Cloud) users with permission to use the APIs.
- Before you can activate an API, you need to identify a related communication scenario. The communication scenario is a logical object that bundles a number of inbound and outbound communication design-time artifacts.
- Every API can be bound to one or more communication scenarios.
For a particular example of an SAP S/4HANA Cloud API, please visit this link: Product Master - Replicate from SAP S/4HANA Cloud to Client. In this sample, the information can be found inside the SAP API Business Hub, within the API specific page. When searching for a specific communication scenario in the SAP API Business Hub, you can find the list of the APIs that relate to a specific communication scenario.
The APIs provide the capability to process data input and output for a business object. You need to perform these tasks:
- To expose an API of SAP S/4HANA Cloud system to an external system, a key user needs to create and activate a Communication Arrangement for a corresponding communication scenario.
- To consume an API of SAP S/4HANA Cloud system, an external system needs to authenticate to it. A technical Communication User is needed to enable certificate-based and basic (user-name and password) authentication types.
For more information, please visit Setting up Communication Management in SAP S/4HANA Cloudin SAP Community.
Tasks to enable an SAP S/4HANA Cloud API
To enable an SAP S/4HANA Cloud API, use Fiori apps to configure the following steps.
- Create Communication Users for inbound communication using the Maintain Communication Users App.
You can use this app to create and edit Communication Users. These users are used by solutions to authenticate themselves to be able to post data. This app allows you to manage these users for integrating with other solutions. Key features of this app include creating or editing these Communication Users, and displaying Communication Systems/Arrangements.
- Create a Communication System using the app to transfer data to a secondary system.
This app allows you to create Communication Systems to establish Communication Arrangements. You can register different systems in the app to enable communication between them. The system represents the communication partner in a communication. For inbound communication, this system calls services while for outbound it provides them.
- Assign users to the Communication System. If the selected scenario contains inbound services, select the user for inbound communication created earlier. If the selected scenario contains outbound services, create a new user for outbound communication.
- Create a Communication Arrangement
This app allows you to create and edit Communication Arrangements for inbound and outbound communication with your company's partners. You can set up how business documents are received and sent, along with authorizations and authentication methods required for the communication.
- Activate the Arrangement to Enable the Communication, and then save.
Refer to this link in the SAP Community that gives a detailed outlook of the steps discussed earlier: Setting up Communication Management in SAP S/4HANA Cloud