SAP S/4HANA® Cloud OData v2.0
SAP S/4HANA® Cloud enables create, read, update, query, and delete operations on supported entities through its OData-based REST interface.
Actions
-
updateStatisticalKeyFigure: Update a StatisticalKeyFigure
-
deleteStatisticalKeyFigure: Delete a StatisticalKeyFigure
-
queryStatisticalKeyFigureTexts: Retrieve StatisticalKeyFigureTexts
-
queryStatisticalKeyFigure: Retrieve StatisticalKeyFigures
-
createStatisticalKeyFigure: Create a StatisticalKeyFigure
-
deleteStatisticalKeyFigureText: Delete a StatisticalKeyFigureText
-
updateStatisticalKeyFigureText: Update a StatisticalKeyFigureText
-
readStatisticalKeyFigure: Retrieve a StatisticalKeyFigure
-
createStatisticalKeyFigureText: Create a StatisticalKeyFigureText
-
readStatisticalKeyFigureText: Retrieve a StatisticalKeyFigureText
-
createPurchaseOrder: Create a purchase order
-
updatePurchaseOrder: Update a purchase order
-
queryPurchaseOrder: Retrieve all purchase order
-
readPurchaseOrder: Retrieve a single purchase order
Custom Actions
You can use this connector to create your own custom actions for performing specific tasks. The actions that you create look and work exactly like the other actions do.
Learn more about how to create custom actions.
- To use a custom endpoint or service that is not included in the standard connector service list,
use the specific connection parameter, Service Name, when defining a connection. For
example, to use a custom endpoint like
https://host:port-api.s4hana.ondemand.com/sap/opu/odata/sap/<function_Name>, populate the following connection configuration fields -- Server URL -
https://host:port-api.s4hana.ondemand.com/sap/opu/odata - Service Name -
sap/<function_Name>
- Server URL -
- Save and close the connection.
- When configuring a cloud connector service, select Custom Service from the service list to access operations on the specified endpoint within the connection. Choose the Entity and required fields from the available options.
- Each new custom endpoint or service requires a separate connection, allowing operations solely on the specified endpoint. The Custom Service function will only work with a connection that has explicitly defined the Service Name.
- Not all entity operations (Query, Update, Delete, Create, and Read) visible in the connector may be enabled for the custom endpoint. Ensure that you choose the permissible operations that are allowed in your backend service definitions.
- Ensure accurate entry of the Service Name in the connection, as connection validation is not enabled. Custom endpoint validation is not performed while saving the connection.
-
Remember: Do not use the standard service definition where the Service Name is populated in the connection configuration and is intended to be used with a custom endpoint or service.
-
Remember: Do not populate the Service Name value in the connection configuration when using a standard functional area or service.
Usage notes and limitations
- The Create with deep insert operation enables the creation of an entity along with its related nested entities in a single request, supporting up to five levels of depth.
- If a field is left blank, it is automatically omitted from the request payload.
- This operation extends the functionality of the standard Create operation, offering additional capabilities for complex entity creation.
- The Create operation may be deprecated in a future release. For all new implementations, use the Create with deep insert operation.