ERP Integration

ERP Integration Patterns: APIs, CDC and Batch Extracts

Enterprise Resource Planning (ERP) systems like SAP S/4HANA, Oracle ERP Cloud, Microsoft Dynamics 365, and NetSuite house the operational core of the modern enterprise. However, ERPs were historically

Published 10/24/2026 · Izan Technologies

Want this built for your team?

Senior engineers, your cloud, your IP.

Enterprise Resource Planning (ERP) systems like SAP S/4HANA, Oracle ERP Cloud, Microsoft Dynamics 365, and NetSuite house the operational core of the modern enterprise. However, ERPs were historically engineered as transactional fortresses rather than open analytical hubs. As modern data platforms—such as Snowflake, Databricks, AWS, and Azure—become essential for running real-time analytics and predictive machine learning models, connecting operational ERP datasets to your downstream stack is paramount. Achieving this requires selecting the right integration patterns to guarantee low latency, transactional integrity, and data freshness.

Engineers and enterprise architects often struggle when designing robust pipelines between transactional ERP systems and analytical destinations. A poorly matched extraction method can degrade ERP transactional performance, breach API rate limits, or fail to accurately track deletions. To build a resilient data infrastructure, teams must evaluate three primary ERP integration patterns: Application Programming Interfaces (APIs), Change Data Capture (CDC), and Batch Extracts.


The Modern ERP Landscape and Integration Challenges

ERPs are uniquely challenging to extract data from. Unlike greenfield microservices backed by lightweight PostgreSQL databases, ERPs rely on deeply normalized, proprietary, and historically layered database schemas. A single business concept—such as a finalized sales invoice—may span dozens of tables across header records, line items, currency adjustments, and tax schedules.

Furthermore, direct database connectivity is rarely permitted by enterprise administrators due to licensing constraints, compliance requirements, and the risk of unindexed analytical queries locking core Online Transaction Processing (OLTP) tables. Consequently, teams must decouple operational processing from analytical consumption using structured integration patterns that respect ERP governance and transactional boundaries.


Core ERP Integration Patterns

Selecting the optimal extraction pattern depends heavily on three factors: target latency, data volume, and the operational load imposed on the source ERP.

+-------------------------------------------------------------------+
|                        Source ERP System                          |
+-------------------------------------------------------------------+
       | (Transactional Log)       | (REST/OData/Webhooks)     | (Nightly Dump)
       v                           v                           v
+---------------+          +---------------+          +---------------+
|   Log-based   |          |  API / Event  |          |  Batch File   |
|      CDC      |          |  Integration  |          |    Extract    |
+---------------+          +---------------+          +---------------+
       |                           |                           |
       v (Kafka / Kinesis)         v (JSON / Payloads)         v (Parquet / S3)
+-------------------------------------------------------------------+
|               Lakehouse / Warehouse (Snowflake / Databricks)      |
+-------------------------------------------------------------------+

Pattern 1: Application Programming Interfaces (APIs)

APIs provide a managed, contract-driven interface into the ERP. Modern ERPs expose REST, SOAP, or OData endpoints (e.g., SAP NetWeaver Gateway, NetSuite SuiteTalk REST Web Services) that enforce business logic, security permissions, and schema validations at the application layer.

  • How it works: Downstream extractors query endpoints on a schedule, or the ERP emits event-driven Webhooks to an API Gateway (e.g., AWS API Gateway or Azure API Management) when entities are created or modified.
  • Payload formats: Typically JSON or XML.
  • Best use cases: Operational micro-syncs, reverse-ETL, and transactional operations (e.g., triggering downstream order fulfillment workflows when an invoice status changes to "Paid").

Key Trade-offs: While APIs protect underlying database schemas and preserve business validation rules, they are rarely designed for high-throughput analytical ingestion. Most enterprise ERPs strictly enforce rate limits (e.g., NetSuite's concurrency limit per integration record, or Salesforce/Dynamics daily API request limits). Paginating through millions of historical ledger records via paginated REST endpoints introduces significant network overhead, high serialization costs, and substantial risk of rate-limit throttling.

Pattern 2: Change Data Capture (CDC)

Change Data Capture is the gold standard for high-throughput, near-real-time ERP integration. Instead of querying the application layer, CDC intercepts row-level insert, update, and delete mutations directly from the ERP's underlying transaction logs (e.g., Oracle Redo Logs, Microsoft SQL Server Transaction Logs, or SAP Landscape Transformation Replication Server / SLT).

  • How it works: CDC engines (such as Debezium, Qlik Replicate, or native cloud connectors like AWS Database Migration Service) continuously tail the transaction log, convert log events into structured event messages (e.g., Avro or JSON), and stream them into a message broker like Apache Kafka, Azure Event Hubs, or Amazon Kinesis.
  • Downstream landing: Streaming ingest engines—such as Databricks Auto Loader or Snowflake Snowpipe Streaming—consume these events directly into target storage layers, writing to Delta Lake or Snowflake Apache Iceberg tables within seconds.
  • Best use cases: Real-time inventory tracking, continuous financial reconciliation, and machine learning models requiring intra-minute feature freshness.

Key Trade-offs: CDC places virtually zero read overhead on the ERP's operational compute engine because it reads committed transaction logs on disk. Crucially, log-based CDC accurately captures hard deletes—an operation that standard API or polling queries consistently miss unless explicit audit tables exist. However, CDC bypasses the ERP application layer, meaning you ingest raw, underlying database schemas rather than resolved business entities. Downstream data pipelines must reconstitute ERP business logic, joins, and lookup mappings inside the data warehouse or lakehouse.

Pattern 3: Batch Extracts

Batch extracts rely on exporting raw tables, operational data views, or reporting cubes as flat files (e.g., compressed CSV, Parquet) onto object storage (Amazon S3, Azure Data Lake Storage Gen2, or Google Cloud Storage).

  • How it works: Batch jobs run on a predefined schedule (e.g., hourly, nightly, or during off-peak maintenance windows) using native ERP utilities (such as SAP Data Services, NetSuite SuiteAnalytics Connect via ODBC/JDBC, or Oracle BI Publisher). Workflow orchestrators like Apache Airflow or Azure Data Factory trigger the extract, validate checksums, and trigger downstream COPY INTO or merge statements.
  • Best use cases: End-of-month financial closings, historical baseline backfills, multi-year compliance archiving, and environments where transactional data only settles once daily.

Key Trade-offs: Batch extracts are simple, reliable, and capable of moving massive historical datasets without consuming metered API quotas. However, their latency is inherently coarse—measured in hours or days. Running heavy batch extraction queries against production databases during business hours can also cause table lock contention and deplete database compute resources.


Architectural Comparison: API vs. CDC vs. Batch

The table below contrasts these three integration patterns across operational parameters:

Feature / MetricAPIs (REST / OData / SOAP)Log-Based CDCBatch File Extracts
Typical LatencySeconds to minutesSub-second to secondsHours to daily (batch windows)
Source System LoadHigh (Application CPU & memory)Extremely low (Reads log files)High (Periodic spikes on DB)
Throughput / ScalabilityLow to moderate (Throttled by rate limits)Very high (Millions of events/sec)High (Optimized for bulk disk I/O)
Capture Hard Deletes?Rarely (Requires custom soft-delete fields)Native (Logged in commit logs)Only via full-table diffs
Schema AbstractionHigh (Applies ERP business logic)Low (Exposes raw physical tables)Medium to High (Pre-joined views)
Failure RecoveryComplex (Tracking pagination state)Resilient (Offset replay in Kafka)Simple (Re-run scheduled job)
Best ForBi-directional, event-driven syncsReal-time analytics, streaming MLHistorical baselines, daily snapshots

Designing a Resilient Hybrid Architecture

Enterprise systems rarely rely on a single pattern. Production environments benefit most from a hybrid integration topology:

[ERP Core] ---> CDC (Logs) ------> Kafka --------> Databricks / Snowflake (Raw Ingestion)
     |
     +--------> APIs (REST) ------> Webhooks -----> Event Grid / Microservices (Real-time Actions)
     |
     +--------> Batch (Parquet) --> S3 / ADLS ----> Medallion Architecture (Nightly Reconciliation)
  1. Use CDC for Core Transactional Fact Tables: Direct CDC pipelines from high-churn operational tables (e.g., inventory movements, sales order lines, general ledger entries) into raw bronze/landing tables in Snowflake or Databricks.
  2. Use APIs for Low-Volume Lookups and Reverse-ETL: Query lightweight REST endpoints for slow-moving reference metadata (e.g., tax codes, cost center hierarchies). Use transactional APIs when downstream data pipelines must push cleansed master data back into the ERP.
  3. Use Batch for Initial Seeding and Validation: Execute full-table batch extracts to initialize downstream lakehouse environments. In parallel, run scheduled batch extract jobs weekly to cross-check CDC streaming state and reconcile any dropped offsets or silent drift.

At Izan Technologies, we help data and engineering leaders design and deploy these hybrid integration architectures. By engineering customized, modular pipelines across AWS, Azure, Databricks, and Snowflake, Izan Technologies eliminates integration bottlenecks while ensuring that your organization retains 100% of the intellectual property (IP) for all code, configurations, and data models delivered.


Technical Considerations: Consistency and Idempotency

When implementing any of these ERP integration patterns, your pipeline must account for three core engineering requirements:

  • Idempotency and Deduplication: Transient network errors, retry policies, and Kafka consumer rebalances will cause duplicate message delivery. Downstream staging tables should utilize deterministic primary keys and MERGE operations (such as Delta Lake MERGE INTO or Snowflake Dynamic Tables) to guarantee exactly-once processing semantics.
  • Managing Schema Evolution: ERP database schemas update during version upgrades (e.g., upgrading from SAP ECC to S/4HANA). CDC and batch pipelines must incorporate schema evolution policies—leveraging tools like AWS Glue Schema Registry or Delta Lake Schema Enforcement—to prevent silent data corruption when columns are added, renamed, or deprecated.
  • Handling Soft vs. Hard Deletes: In an API-driven extraction, deleted records often vanish without notification unless the ERP explicitly flags records with an is_deleted or deactivated_date attribute. If your downstream warehouse requires audit compliance, log-based CDC or full-table hash comparisons in batch mode must be used to preserve complete historical lineage.

How Izan Technologies Helps

Modernizing your ERP integration framework requires deep expertise across legacy transactional databases, enterprise integration patterns, and cloud-native data platforms. Izan Technologies engineers custom data pipelines, CDC frameworks, and end-to-end analytics architectures across AWS, Azure, Databricks, and Snowflake.

Unlike vendors who lock your workflows inside closed platforms, Izan Technologies works as an extension of your engineering team—ensuring you maintain complete ownership of 100% of the delivered IP.

Ready to eliminate ERP data silos and build high-performance data pipelines? Try our Smart AI DataStudio or talk to an expert to architect your modern integration strategy today.

Want this built for your team?

Senior engineers, your cloud, your IP.