OData service - An OData service(Open Data Protocol) is a standard web protocol that allows you to read/write data from SAP using standard URLs and HTTP methods. It acts as a bridge between the SAP system and external applications.
Select the required trigger or action. If you select a trigger, click Next.
If there are existing SAP S/4HANA connections in your account, click Connect. Otherwise, click +New.
Enter a connection name.
Check the App is installed on-premises box if SAP S/4HANA is accessible within a closed network or intranet. Leave it unchecked if it is accessible over the internet.
Note: For a cloud database, you need to allow-list Zoho Flow's IP addresses in your inbound rule.
For an on-prem setup, choose an On-Prem agent from the dropdown to create a Zoho Flow connection with your local machine. If you don't already have an agent installed, click +New.
Configure the following fields to create the connection:
Once configured, click Authorize.
Note: To register an API service in SAP S/4HANA, you need to go through the SAP Gateway to activate and register theOData service.

Prerequisites
You have access to the SAP GUI and /IWFND/MAINT_SERVICE transaction.
You have SAP_ALL or relevant roles to access OData and Gateway services.
Login to SAP GUI.
Run the transaction code: /IWFND/MAINT_SERVICE.
When the Activate and Maintain Services screen appears, click Add Service.
In the Add Selected Services screen,
Enter the System Alias (typically LOCAL for embedded deployments).
Click Enter.
Search for your OData service name under the Technical Service Name section. You can also leave it blank to show all services.
Once located, select your service, then click Add Selected Services.
In the following dialogue box that appears,
Assign a Technical Service Name.
Assign a Package: choose $TMP for temporary local object, if this is for testing.
Maintain versioning and metadata settings, if required.
Click Continue to register the service to the system.
After registration, ensure that the service appears in the list on the /IWFND/MAINT_SERVICE screen.
Triggers
Business partner created - Use this trigger when a new business partner is created
Business partner updated - Use this trigger when a business partner is updated
Customer created - Use this trigger when a new customer is created
Maintenance order created - Use this trigger when a new maintenance order is created
Product created or updated - Use this trigger when a product is created or updated
Purchase contract created or updated - Use this trigger when a product contract is created or updated
Purchase order created or updated - Use this trigger when a purchase order is created or updated
Sales contract created or updated - Use this trigger when a sales contract is created or updated
Sales order BOM created or updated - Use this trigger when a sales order's bill of material is created or updated
Sales order created or updated - Use this trigger when a sales order is created or updated
Sales quotation created or updated - Use this trigger when a sales quotation is created or updated
Supplier created - Use this trigger when a new supplier is created
Supplier invoice created - Use this trigger when a new supplier invoice is created
Actions
Create business partner - Use this action to create a new business partner
Create business partner address - Use this action to create a business partner address
Create lead - Use this action to create a new lead is created
Fetch business partner - Use this action to fetch business partner details
Fetch customer - Use this action to fetch customer details
Fetch lead - Use this action to fetch lead details
Fetch product - Use this action to fetch product details
Fetch purchase order - Use this action to fetch purchase order details
Fetch sales order - Use this action to fetch sales order details
Fetch supplier - Use this action to fetch supplier details