Skip to main content

Pre-Built Tooling


Objects Supported

Alloy Automation supports interacting with SAP S/4HANA via OData services. The connector provides access to:
  • Custom OData Services - Access any exposed OData endpoint in your SAP S/4HANA instance
  • Standard SAP Objects - Accounts, Sales Orders, Purchase Orders, Invoices, Materials, etc.
  • Custom Actions - Execute custom OData operations defined in your SAP system

Set Up Guide

Trial Access


Authentication (Basic Auth)

SAP S/4HANA uses Basic Authentication with a communication user for API access.

Use Cases

1) Real-time order synchronization

Sync sales orders between SAP S/4HANA and e-commerce platforms, keeping order status, pricing, and inventory levels updated across systems in real-time.

2) Master data management

Automatically create and update customer master data, material master records, and vendor information between SAP S/4HANA and CRM or external data sources.

3) Financial data integration

Extract financial documents (invoices, payment records, general ledger entries) from SAP S/4HANA for reporting, analytics, or integration with third-party financial systems.

4) Procurement automation

Automate purchase requisition creation, purchase order processing, and goods receipt posting by integrating SAP S/4HANA with procurement platforms and supplier portals.

5) Inventory and warehouse management

Connect SAP S/4HANA with warehouse management systems to synchronize stock levels, trigger replenishment workflows, and track inventory movements across locations.

API Gotchas

  • OData Service Activation Required: Not all SAP objects are exposed via OData by default. You must explicitly activate OData services in transaction /IWFND/MAINT_SERVICE before they can be accessed via the API.
  • Authorization Objects: SAP uses granular authorization objects (e.g., S_SERVICE for OData services). Ensure your communication user has proper authorizations assigned, or API calls will fail with 403 Forbidden errors.
  • Complex Data Types: SAP S/4HANA OData services often return deeply nested XML or JSON structures. Field names may be in German or use SAP-specific abbreviations (e.g., BUKRS for company code, VBELN for sales document number).
  • CSRF Token Requirement: For POST, PUT, PATCH, and DELETE operations, SAP S/4HANA requires an X-CSRF-Token. You must first make a GET request with x-csrf-token: fetch header to obtain a token, then include it in subsequent write operations.
  • Connection Limits: SAP systems have connection pooling limits. If you’re running high-volume integrations, monitor RFC connection usage and work with your SAP Basis team to adjust connection settings if needed.
For questions or troubleshooting, contact support@runalloy.com.