Connect SAP S/4HANA, ECC and SuccessFactors from Python. Read and write business partners, sales orders, employees and any other entity over OData, with CSRF tokens, OAuth2, paging and serialization all handled by the platform.
Query SAP and Microsoft systems from Python - the protocol that SAP connections speak under the hood
Learn how to design and build scalable, real-world, production-ready API integrations in Python
Test your SAP integrations without access to a real SAP system
Gateway service roots, OData V2 and V4 paths, the sap-client parameter and CSRF token handling
API server addresses, OAuth2, the employee entity model and server-driven paging
Filter, select, expand, sort and page through SAP entity sets from Python
Basic Auth, Bearer tokens and OAuth2 client credentials, with X-CSRF-Token exchanges handled automatically
Unit-test services with mocked SAP responses and run live tests against an in-process test server that simulates SAP
Define SAP connections declaratively with enmasse and deploy them across environments
Map SAP entities to Python dataclasses for typed access and OpenAPI generation
Where to keep environment-specific settings - system addresses, clients and credentials
SAP is the backbone of enterprise operations across manufacturing, retail, logistics and finance - S/4HANA and ECC for ERP, SuccessFactors for HR. All of them expose their business data through OData services, which is exactly what Zato's outgoing SAP connections speak. With Zato, you configure a connection once - address, OData version, credentials - and every Python service can then read and write business partners, sales orders, employees or any other entity, orchestrating SAP with databases, message queues and the rest of your integration landscape.
S/4HANA and ECC through Gateway OData services and SuccessFactors through its OData API. See the S/4HANA and ECC and SuccessFactors chapters for the address and auth settings of each.
Basic Auth, Bearer tokens or OAuth2 client credentials, with tokens cached and refreshed automatically. Details are in the SAP security chapter.
SAP Gateway requires an X-CSRF-Token for writes - Zato fetches, caches and refreshes the token automatically, as described in the security chapter.
Obtain a client with self.sap and call .read, .get or .iter - entities arrive as plain Python dicts, with paging followed transparently.
Yes - .create, .update and .delete cover the full CRUD range against any entity set your SAP user is authorized for.
Yes - OData is the API layer that SAP publishes and supports for S/4HANA and SuccessFactors, and Zato's SAP connections build on it, with no SAP client libraries to install.
Mock SAP responses in unit tests or run live tests against the in-process OData test server that simulates SAP auth and validation behavior.
Yes - define connections in YAML with enmasse and import them per environment, with secrets read from environment variables.
Get started with Zato and connect SAP to your enterprise systems in minutes.