ERPClimb logoERPClimb

SAP Architect Enterprise Integration Patterns Interview Questions

In SAP Architect rounds, enterprise integration patterns questions are where configuration knowledge meets day-to-day behaviour — what a setting does, and what breaks in a live system when it is wrong.

A foundational to advanced learning path for SAP architects covering enterprise integration patterns across ECC, S/4HANA (on-premise, private and public cloud) and BTP hybrid landscapes. Covers pattern selection, synchronous vs asynchronous design, event-driven architecture, API management, clean core integration strategy, NFRs, security, governance and migration/rollback considerations for integration decisions.

This page carries 10 reviewed SAP Architect enterprise integration patterns interview questions, each with a complete written answer and no sign-in required. The set breaks down into 3 foundational, 4 mid-level and 3 advanced questions, so you can start at the top for a first interview or skip ahead to the scenario-based items for a senior round.

Rehearse these out loud rather than reading them. If you can explain each answer in your own words, including one realistic way it goes wrong on a project, you are covering what a normal SAP Architect round on enterprise integration patterns expects.

10 Enterprise Integration Patterns questions with answers

easyEnterprise Integration Patterns

1. What are the core concepts of Enterprise Integration Patterns, and how would you explain them clearly in an SAP interview?

A foundational to advanced learning path for SAP architects covering enterprise integration patterns across ECC, S/4HANA (on-premise, private and public cloud) and BTP hybrid landscapes. Covers pattern selection, synchronous vs asynchronous design, event-driven architecture, API management, clean core integration strategy, NFRs, security, governance and migration/rollback considerations for integration decisions. Key lesson areas: Event-Driven Architecture: Choreography, Orchestration, and Idempotency in Hybrid SAP Landscapes; Foundations of Enterprise Integration Patterns in SAP Landscapes; Governance, Cost Control, and Roadmap Evolution for Enterprise Integration Landscapes; Selecting Integration Patterns: Synchronous, Asynchronous and Hybrid Trade-offs; Synchronous vs Asynchronous Integration: Choosing the Right Communication Style Analyzes advanced event-driven integration design choices — choreography versus orchestration — along with idempotency, ordering, and governance concerns when SAP and BTP-based event producers and consumers interact. Explains how to evaluate and select between synchronous, asynchronous and hybrid integration patterns based on concrete non-functional requirements and SAP deployment constraints. Explains when to use synchronous request-response versus asynchronous message-based integration between SAP and non-SAP systems, and the architectural consequences of each choice. Introduces the core integration pattern categories relevant to SAP landscapes and why choosing the right pattern early prevents costly rework later. Learn how to govern a growing enterprise integration landscape, control recurring integration cost drivers, and plan a multi-year roadmap that keeps pace with S/4HANA and BTP evolution without accumulating technical or contractual debt.
easyEnterprise Integration Patterns

2. Using this SAP project situation — An architect was brought into a program eighteen months after go-live because the client's monthly integration platform bill had tripled and nobody could explain why — explain Governance, Cost Control, and Roadmap Evolution for Enterprise Integration Landscapes. What should happen, which concepts or process steps matter, and what common mistake would you avoid?

Learn how to govern a growing enterprise integration landscape, control recurring integration cost drivers, and plan a multi-year roadmap that keeps pace with S/4HANA and BTP evolution without accumulating technical or contractual debt. Deep explanation: By the time an enterprise integration landscape has matured through several projects, the biggest architectural risk is no longer 'which pattern to use' but 'how do we keep hundreds of integration flows, APIs, and event channels coherent, secure, and affordable over time'. This lesson addresses that maturity phase, which is where architects are judged most heavily because the decisions are long-lived and expensive to reverse. Governance starts with an integration inventory and ownership model. Every interface—whether a point-to-point RFC/IDoc link inherited from ECC, an OData service exposed to a public cloud extension, or an event published to an enterprise messaging backbone—needs a documented owner, a criticality classification, and a lifecycle status (active, deprecated, candidate for decommission). Without this, organizations accumulate 'zombie interfaces' that nobody dares to touch because ownership was never assigned. A practical governance body (often an Integration Competency Center or equivalent architecture review function) should approve new integration patterns against a reference architecture: preferred synchronous API style, preferred event backbone, preferred hybrid integration platform capabilities, and explicit rules for when direct ABAP-to-ABAP RFC/IDoc connections are still acceptable versus when they must go through a managed integration layer. In Clean Core strategies, this governance also enforces that S/4HANA public cloud extensions do not bypass released interfaces, and that any custom extension touching data-in-motion is documented as technical debt with a remediation owner. Cost control in integration is frequently underestimated during design and only becomes visible in production. Cost drivers include: message volume-based charges on integration platforms, API call metering on some cloud services, compute for high-throughput real-time replication, storage and retention for event logs and audit trails, and the operational cost of monitoring and incident response across many flows. Architects must model expected volumes (peak and average), payload sizes, and retry/error rates during design, not after go-live, because these numbers directly affect both cloud consumption cost and license true-up conversations. A common mistake is designing 'chatty' integrations—frequent small synchronous calls—that are technically correct but expensive at scale; batching, delta extraction, or event aggregation patterns often reduce cost significantly without sacrificing business timeliness. Where volumes are uncertain, a phased rollout with monitoring checkpoints is safer than committing to a fixed-capacity design. Roadmap evolution must account for the fact that ECC-era interfaces, S/4HANA on-premise/private cloud extensibility, and S/4HANA public cloud extensibility have materially different integration capabilities and different paces of change. A defensible roadmap typically sequences: (1) inventory and classify existing interfaces, (2) stabilize and secure business-critical integrations regardless of target pattern, (3) selectively replace brittle point-to-point links with API-led or event-driven patterns where volume, criticality, or partner requirements justify the investment, and (4) continuously reassess as S/4HANA release cycles and BTP service catalogs evolve. Because target-state platform capabilities and roadmaps change over time and vary by product tier and contract, architects should state assumptions explicitly and validate current capabilities against official current documentation rather than assuming that a capability observed in one project will exist unchanged in another engagement. Operationally, integration governance requires a support model: who monitors error queues, who owns incident triage across systems that may be run by different vendors or teams, and what the escalation path looks like when a failure spans on-premise ECC, S/4HANA, and a cloud integration layer. This cross-team support model is often the deciding factor in whether an integration architecture survives contact with production reality. Recommended practices: • Maintain a living integration inventory with owner, criticality, pattern type, and lifecycle status for every interface. • Model expected message volume, payload size, and failure/retry rates during design, and revisit the model against actual production metrics after go-live. • Require architecture review approval for new interfaces against a documented reference architecture before they reach production. • Prefer batching, delta, or event-driven patterns over chatty synchronous polling wherever business timeliness requirements allow it. • Build a cross-system incident escalation model before go-live, not after the first major cross-landscape outage. • Schedule periodic (e.g., quarterly or release-aligned) reviews of the interface inventory to identify decommission candidates and rising c
easyEnterprise Integration Patterns

3. Using this SAP project situation — During a project scoping workshop for a retail company running ECC with plans to move to S/4HANA Private Cloud, the integration team initially proposed direct RFC connections from ECC to five new e-commerce microservices — explain Foundations of Enterprise Integration Patterns in SAP Landscapes. What should happen, which concepts or process steps matter, and what common mistake would you avoid?

Introduces the core integration pattern categories relevant to SAP landscapes and why choosing the right pattern early prevents costly rework later. Deep explanation: Enterprise Integration Patterns (EIPs) are reusable architectural solutions for connecting systems that need to exchange data or trigger processes. In SAP environments, integration is rarely optional: a typical landscape includes ECC or S/4HANA as the core ERP, satellite systems for warehouse, transportation or CRM functions, BTP-based extensions, and third-party or legacy systems. Each connection between these systems must be designed deliberately, because integration decisions affect performance, data consistency, operational cost and long-term maintainability far more than most functional configuration choices. At a beginner level, it is important to understand the broad families of patterns before diving into implementation. First is point-to-point integration, where two systems talk directly to each other, typically via RFC, IDoc, file transfer or a direct API call. This is simple to build initially but scales poorly: as the number of systems grows, the number of direct connections grows quadratically, making the landscape brittle and hard to change. Second is hub-based or mediated integration, where a middleware layer (such as SAP Process Orchestration in on-premise landscapes, or SAP Integration Suite on BTP) sits between systems, handling routing, transformation and protocol mediation. This reduces the number of direct dependencies and centralizes monitoring and error handling, at the cost of an additional component to operate and secure. A second dimension is synchronous versus asynchronous communication. Synchronous calls (like RFC or OData in request-response mode) are simple to reason about but couple the availability and performance of both systems tightly together: if the receiving system is slow or down, the calling process blocks or fails immediately. Asynchronous patterns (message queues, IDocs, event-based publishing) decouple systems in time, allowing the receiver to process messages when ready, and providing natural resilience against short outages, but they introduce complexity in guaranteeing delivery, ordering and idempotency. A third foundational concept is the difference between data integration (moving master or transactional data, e.g. material master replication) and process integration (triggering a business process step in another system, e.g. creating a delivery in a warehouse system). Data integration patterns often favor batch or event-driven replication, while process integration patterns often require closer to real-time, transactional guarantees. In SAP's clean core strategy, integration is increasingly expected to happen through released, stable interfaces (APIs, events) rather than direct table access or custom RFC function modules, especially in S/4HANA Cloud public edition where such access is not available at all. This has direct architectural consequences: extensions and integrations built against ECC-era techniques (direct table reads, custom BAPIs) will not migrate cleanly to S/4HANA public cloud, and architects must plan integration patterns with this constraint in mind from the outset, even in on-premise projects that may migrate later. Understanding these foundational categories equips an architect to ask the right early questions on any integration requirement: does this need to be synchronous or can it tolerate delay, does it need a middleware hub or can it be direct, and is this data or process integration. These questions set the stage for the more detailed trade-off analysis covered in subsequent lessons. Recommended practices: • Map out expected system count and growth before choosing point-to-point versus hub-based patterns. • Separate data integration requirements from process integration requirements early in design. • Validate any integration approach against clean core and target deployment constraints (ECC, on-premise, private cloud, public cloud) before implementation. • Document the chosen pattern rationale so future architects understand why a given integration was built a certain way. • Prefer asynchronous, decoupled patterns for high-volume or cross-system-boundary integrations unless a hard real-time requirement exists. Common mistakes to challenge: • Choosing point-to-point integration by default without considering how many systems will eventually need to connect. • Treating synchronous RFC or OData calls as a substitute for proper decoupled event patterns for high-volume or unreliable connections. • Assuming integration patterns validated on ECC will transfer unchanged to S/4HANA Cloud public edition without checking API and extensibility constraints. • Not distinguishing between data replication needs and process orchestration needs, leading to overly complex single-pattern designs. • Underestimating the operational burden of a middleware hub when only two or three systems are actually involved. Interview angle: Interviewers at architect level often ask candidates to justify why they chose point-to-point versus hub-based integration for a described scenario. Stro
mediumEnterprise Integration Patterns

4. How would you apply Enterprise Integration Patterns in a real SAP project? Walk through the design or implementation approach.

A manufacturing client needed to integrate their S/4HANA Private Cloud system with a third-party quality management tool. The initial design proposed a synchronous API call on every goods receipt to fetch quality inspection results. Load testing revealed that during month-end goods receipt spikes, the quality tool's response times degraded, causing goods receipt postings to hang. The architect redesigned the integration as asynchronous: goods receipt posts immediately, an event is published for the quality check, and inspection results are written back asynchronously with a status flag, removing the synchronous dependency from the critical posting path. A program integrating S/4HANA order creation with a BTP-based fulfillment microservice and a third-party carrier platform initially used pure choreography. After several production incidents where orders silently stalled with no clear owner, the architecture team introduced a lightweight orchestration layer for the order-to-fulfillment sequence while keeping choreography for downstream analytics and notification consumers, restoring process visibility without losing scalability for the fan-out use cases. An architect was asked why order confirmations to a 3PL logistics provider were causing intermittent order-entry delays. Investigation revealed the integration had been built as a synchronous call inside the order-save transaction, meaning any slowness at the 3PL endpoint directly blocked SAP users. The team redesigned the flow to asynchronous: the order-save process published an event immediately, and a separate integration flow handled delivery notification to the 3PL with its own retry and backlog monitoring, removing the coupling entirely. An architect was brought into a program eighteen months after go-live because the client's monthly integration platform bill had tripled and nobody could explain why. Investigation revealed that a 'temporary' synchronous polling interface built during a rushed cutover had never been decommissioned, was polling every sixty seconds regardless of business need, and had been silently duplicated for two additional country rollouts by teams unaware the original was meant to be replaced. The architect led an interface inventory exercise, assigned ownership to each flow, reclassified the polling interface as event-driven with a change-detection trigger, and established a quarterly governance review so new interfaces could not go live without an approved owner and cost estimate. The immediate cost reduction was significant, but the more durable outcome was that new project t
mediumEnterprise Integration Patterns

5. Suppose you inherit an existing Enterprise Integration Patterns solution. How would you review it before making a change?

First understand the current business requirement, dependencies, configuration or code path, integrations, production usage, and known pain points. Do not redesign before establishing the existing behavior. Lesson areas to review: Event-Driven Architecture: Choreography, Orchestration, and Idempotency in Hybrid SAP Landscapes; Foundations of Enterprise Integration Patterns in SAP Landscapes; Governance, Cost Control, and Roadmap Evolution for Enterprise Integration Landscapes; Selecting Integration Patterns: Synchronous, Asynchronous and Hybrid Trade-offs; Synchronous vs Asynchronous Integration: Choosing the Right Communication Style Known mistakes: • Allowing new interfaces to go live without an assigned owner, criticality rating, or documented decommission plan. • Estimating integration cost only at design time using rough guesses rather than modeled peak and average volumes with retry behavior included. • Treating point-to-point interfaces built for a cutover as permanent without ever revisiting them once the migration project closes. • Assuming an S/4HANA public cloud extensibility or integration capability observed in one engagement will be identical in a different tenant, tier, or release without verifying current documentation. • Failing to define a cross-team incident escalation model for failures that span on-premise, private cloud, and cloud integration layers. • Letting governance become purely a compliance checkbox rather than an active review that actually blocks unsustainable patterns before go-live. • Assuming events will always be delivered exactly once and in order without verifying the broker's actual guarantees • Building consumers that are not idempotent, causing duplicate side effects on redelivery • Over-centralizing all processes into a single orchestrator, creating a new bottleneck and single point of failure • Allowing event schemas to change without versioning, silently breaking downstream consumers • Treating event-driven rollback as a literal database rollback instead of designing explicit compensating events • Choosing point-to-point integration by default without considering how many systems will eventually need to connect. • Treating synchronous RFC or OData calls as a substitute for proper decoupled event patterns for high-volume or unreliable connections. • Assuming integration patterns validated on ECC will transfer unchanged to S/4HANA Cloud public edition without checking API and extensibility constraints. • Not distinguishing between data replication needs and process orchestration needs, leading to overly complex
mediumEnterprise Integration Patterns

6. A project encounters this situation while working on Selecting Integration Patterns: Synchronous, Asynchronous and Hybrid Trade-offs: A manufacturing client needed to integrate their S/4HANA Private Cloud system with a third-party quality management tool. Walk through how you would analyze the requirement or issue, what you would validate, and how you would test the solution before release.

Explains how to evaluate and select between synchronous, asynchronous and hybrid integration patterns based on concrete non-functional requirements and SAP deployment constraints. Deep explanation: Once the foundational pattern categories are understood, the intermediate-level challenge is applying structured trade-off analysis to real integration requirements. This lesson focuses on how to move from a business requirement statement to a defensible integration pattern choice, considering latency tolerance, volume, failure handling, and the specific technical options available across ECC, S/4HANA and BTP. The first step is clarifying the non-functional requirements (NFRs) of the integration. Latency tolerance matters: a price check during checkout may need a sub-second synchronous response, while a nightly master data reconciliation can tolerate minutes or hours of delay. Volume matters: a few hundred transactions per day can often be handled synchronously without strain, while tens of thousands of records benefit from batch or event-driven asynchronous processing to avoid overloading the source or target system. Failure handling requirements matter too: does a failed integration need immediate visibility and retry, or can it be reconciled later through a batch job. For synchronous patterns, common SAP-relevant technical options include RFC-based calls (in on-premise and private cloud landscapes), OData or SOAP web services, and in BTP contexts, direct API calls between cloud services. Synchronous patterns are appropriate when the calling process genuinely needs an immediate answer to continue (for example, checking stock availability before confirming an order line), but they create tight coupling: if the target system is slow, unavailable, or under load, the calling process is directly affected, and cascading failures across the landscape become a real risk if many processes depend synchronously on the same downstream system. Asynchronous patterns include IDoc-based interfaces (still common in ECC and hybrid landscapes), message queue-based integration, and event-driven patterns using publish-subscribe mechanisms available in integration platforms. These patterns decouple the timing of sender and receiver, provide natural buffering during load spikes, and generally offer better resilience, but require the architect to design for idempotency (processing the same message twice should not cause duplicate business documents), ordering guarantees where business logic depends on sequence, and monitoring for stuck or failed messages that require manual intervention. Hybrid patterns combine both: for instance, a synchronous call to validate and accept a request, followed by asynchronous processing of the heavier downstream steps, with a callback or event to notify completion. This is common in order management scenarios where the customer needs immediate confirmation that an order was received, while fulfillment processing happens asynchronously. Deployment context materially changes what is available. In ECC and S/4HANA on-premise or private cloud, direct RFC and IDoc patterns remain common and are often the path of least resistance for legacy integrations, though they are increasingly discouraged for new development under clean core guidance. In S/4HANA Cloud public edition, integration is expected to go through released APIs and events exposed by SAP, with custom middle-layer logic typically built on BTP rather than inside the ERP system itself; direct database-level or RFC-based custom integration is generally not available. Architects must therefore verify, for each specific integration requirement, which patterns are actually supported in the target deployment before committing to a design, rather than assuming parity across deployment models. A disciplined selection process documents the NFRs, lists the technically available patterns for the specific deployment, and explicitly states the trade-offs accepted, such as eventual consistency in exchange for resilience, or tighter coupling in exchange for immediate consistency. This documentation becomes essential later during migration planning, incident response and cost review. Recommended practices: • Explicitly capture latency tolerance, volume and failure-handling requirements before selecting a pattern. • Load test synchronous integrations under realistic peak volume before go-live. • Design asynchronous integrations for idempotency and provide monitoring for stuck or failed messages. • Verify pattern availability against the actual target deployment (ECC, on-premise, private cloud, public cloud, BTP) rather than assuming parity. • Document accepted trade-offs so business stakeholders understand consistency and timing implications up front. Common mistakes to challenge: • Choosing synchronous integration for high-volume batch scenarios without load testing the downstream system first. • Building asynchronous integrations without addressing idempotency, resulting in duplicate documents when messages are reprocessed after a failure. • Assuming RFC or direct API patterns validated in an on-premise sandbox will be equally available in a public clo
mediumEnterprise Integration Patterns

7. A project encounters this situation while working on Synchronous vs Asynchronous Integration: Choosing the Right Communication Style: An architect was asked why order confirmations to a 3PL logistics provider were causing intermittent order-entry delays. Walk through how you would analyze the requirement or issue, what you would validate, and how you would test the solution before release.

Explains when to use synchronous request-response versus asynchronous message-based integration between SAP and non-SAP systems, and the architectural consequences of each choice. Deep explanation: Every integration decision starts with a fundamental question: does the calling system need an immediate response, or can it continue without waiting? This choice shapes latency tolerance, error handling, coupling, and even organizational ownership of failure recovery. Synchronous integration (typically REST or SOAP over HTTP, or RFC-based calls in classic landscapes) is appropriate when the caller genuinely needs a result before proceeding — for example, a webshop checking real-time credit limit or stock availability before confirming an order. The trade-off is tight temporal coupling: if the receiving system (say, an S/4HANA backend) is slow or down, the caller is blocked or must implement its own timeout and retry logic. In ECC and S/4HANA on-premise, synchronous calls are commonly exposed via RFC-enabled function modules or OData/SOAP services; in S/4HANA Cloud public edition, the equivalent exposure is through released SAP-provided APIs via the API Business Hub, since custom RFC exposure is generally restricted under clean core principles. Asynchronous integration decouples sender and receiver in time. The sender fires a message (often via IDoc, a queue, or an event) and continues its own processing without waiting for the receiver to finish. This is essential for high-volume, non-blocking scenarios such as sending outbound deliveries to a warehouse management system, or propagating master data changes to multiple downstream consumers. Asynchronous patterns require durable transport — qRFC/tRFC queues in classic SAP integration, or message queues and event brokers in modern landscapes such as SAP BTP's event-based services or a middleware platform like SAP Integration Suite. The architectural cost is added complexity: you must design for message ordering, duplicate detection, and eventual consistency, because the receiving system's state will temporarily lag behind the sender's. A common hybrid approach is asynchronous request-reply: the caller sends a request message and later receives a correlated response message, giving you the decoupling benefits of async transport while still supporting a logical request-response business process. This pattern is useful when the downstream system's processing time is unpredictable (e.g., a credit check that may involve manual review) but the business process still needs an eventual answer. From a clean core and hybrid integration perspective, the recommendation is to expose synchronous SAP-provided APIs for latency-sensitive lookups, and to prefer event-driven or queue-based asynchronous patterns for anything involving high volume, potential downstream unavailability, or multi-consumer fan-out. Architects must also account for the operational implications: synchronous chains create availability dependencies (if any link fails, the whole chain fails), while asynchronous chains require monitoring for queue backlogs, dead-letter handling, and reprocessing procedures that operations teams must be trained on. NFR considerations include: synchronous patterns need aggressive timeout tuning and circuit-breaker logic to avoid cascading failures; asynchronous patterns need message durability guarantees, idempotent consumers, and monitoring dashboards for queue depth and processing latency. Security-wise, both patterns require encryption in transit and appropriate authentication, but asynchronous message brokers also need access control at the topic/queue level to prevent unauthorized publishing or subscribing. Recommended practices: • Choose synchronous only when the business process genuinely cannot proceed without an immediate answer • Default to asynchronous for high-volume, multi-consumer, or eventually-consistent scenarios • Design idempotent consumers so retried or duplicate messages do not cause double processing • Implement circuit breakers and bounded timeouts on synchronous calls to prevent cascading failures • Document ownership of dead-letter and backlog monitoring so operations teams know how to react Common mistakes to challenge: • Embedding synchronous external calls inside core transactional save logic, creating availability dependencies on third-party systems • Treating asynchronous messaging as "fire and forget" without designing for duplicate or out-of-order message handling • Using synchronous integration for high-volume, non-urgent data replication, causing performance bottlenecks • Failing to define timeout and retry policy explicitly, leaving default framework behavior to decide failure handling • Not distinguishing between transport-level asynchrony and business-level asynchrony when designing the process Interview angle: Interviewers often probe whether a candidate can justify synchronous versus asynchronous choice with concrete NFR reasoning rather than a blanket preference. Be ready to discuss coupling, latency tolerance, failure isolation, and how you would handle a downstream outage in each pattern, along with monitoring and rollback imp
hardEnterprise Integration Patterns

8. A production issue is reported in Enterprise Integration Patterns. What would you check first, and how would you troubleshoot it systematically?

Start by reproducing and scoping the issue, then validate the relevant master/configuration/runtime data and isolate the failing step before changing anything. Common failure patterns from the lesson set: • Allowing new interfaces to go live without an assigned owner, criticality rating, or documented decommission plan. • Estimating integration cost only at design time using rough guesses rather than modeled peak and average volumes with retry behavior included. • Treating point-to-point interfaces built for a cutover as permanent without ever revisiting them once the migration project closes. • Assuming an S/4HANA public cloud extensibility or integration capability observed in one engagement will be identical in a different tenant, tier, or release without verifying current documentation. • Failing to define a cross-team incident escalation model for failures that span on-premise, private cloud, and cloud integration layers. • Letting governance become purely a compliance checkbox rather than an active review that actually blocks unsustainable patterns before go-live. • Assuming events will always be delivered exactly once and in order without verifying the broker's actual guarantees • Building consumers that are not idempotent, causing duplicate side effects on redelivery • Over-centralizing all processes into a single orchestrator, creating a new bottleneck and single point of failure • Allowing event schemas to change without versioning, silently breaking downstream consumers • Treating event-driven rollback as a literal database rollback instead of designing explicit compensating events • Choosing point-to-point integration by default without considering how many systems will eventually need to connect. • Treating synchronous RFC or OData calls as a substitute for proper decoupled event patterns for high-volume or unreliable connections. • Assuming integration patterns validated on ECC will transfer unchanged to S/4HANA Cloud public edition without checking API and extensibility constraints. • Not distinguishing between data replication needs and process orchestration needs, leading to overly complex single-pattern designs. • Underestimating the operational burden of a middleware hub when only two or three systems are actually involved. • Choosing synchronous integration for high-volume batch scenarios without load testing the downstream system first. • Building asynchronous integrations without addressing idempotency, resulting in duplicate documents when messages are reprocessed after a failure. • Assuming RFC or direct API patterns validated in
hardEnterprise Integration Patterns

9. What are the most important design decisions, trade-offs, and best practices in Enterprise Integration Patterns?

• Choose synchronous only when the business process genuinely cannot proceed without an immediate answer • Default to asynchronous for high-volume, multi-consumer, or eventually-consistent scenarios • Design idempotent consumers so retried or duplicate messages do not cause double processing • Implement circuit breakers and bounded timeouts on synchronous calls to prevent cascading failures • Document ownership of dead-letter and backlog monitoring so operations teams know how to react • Explicitly capture latency tolerance, volume and failure-handling requirements before selecting a pattern. • Load test synchronous integrations under realistic peak volume before go-live. • Design asynchronous integrations for idempotency and provide monitoring for stuck or failed messages. • Verify pattern availability against the actual target deployment (ECC, on-premise, private cloud, public cloud, BTP) rather than assuming parity. • Document accepted trade-offs so business stakeholders understand consistency and timing implications up front. • Maintain a living integration inventory with owner, criticality, pattern type, and lifecycle status for every interface. • Model expected message volume, payload size, and failure/retry rates during design, and revisit the model against actual production metrics after go-live. • Require architecture review approval for new interfaces against a documented reference architecture before they reach production. • Prefer batching, delta, or event-driven patterns over chatty synchronous polling wherever business timeliness requirements allow it. • Build a cross-system incident escalation model before go-live, not after the first major cross-landscape outage. • Schedule periodic (e.g., quarterly or release-aligned) reviews of the interface inventory to identify decommission candidates and rising cost drivers. • Explicitly document assumptions about platform capabilities and revalidate them against current official documentation for each specific tenant, tier, and release rather than relying on prior project experience alone. • Map out expected system count and growth before choosing point-to-point versus hub-based patterns. • Separate data integration requirements from process integration requirements early in design. • Validate any integration approach against clean core and target deployment constraints (ECC, on-premise, private cloud, public cloud) before implementation. • Document the chosen pattern rationale so future architects understand why a given integration was built a certain way. • Prefer asynchronous, decoupled patterns
hardEnterprise Integration Patterns

10. You are the senior consultant/architect responsible for Event-Driven Architecture: Choreography, Orchestration, and Idempotency in Hybrid SAP Landscapes. The project situation is: A program integrating S/4HANA order creation with a BTP-based fulfillment microservice and a third-party carrier platform initially used pure choreography. How would you assess the design, identify the highest-risk failure modes, and define the evidence required before approving it for production?

Analyzes advanced event-driven integration design choices — choreography versus orchestration — along with idempotency, ordering, and governance concerns when SAP and BTP-based event producers and consumers interact. Deep explanation: As enterprise landscapes grow more distributed across S/4HANA, BTP applications, and third-party SaaS platforms, architects increasingly rely on event-driven patterns to reduce point-to-point coupling. Two dominant strategies emerge: choreography and orchestration, and choosing between them has long-term governance consequences. In choreography, each system reacts independently to events it cares about, without a central coordinator. For example, when a sales order is created in S/4HANA, an event is published; a credit-check service, a fulfillment service, and an analytics consumer each subscribe and act autonomously. This approach scales well and avoids a single point of control failure, but it makes end-to-end process visibility harder — there is no single place that shows the full business process state, and debugging a stalled process means tracing across multiple independently-owned systems. Orchestration introduces a central process coordinator (which might be implemented using a workflow or process orchestration capability on an integration platform) that explicitly calls each participant in sequence, tracks state, and handles compensating actions on failure. This gives strong process visibility and easier error recovery, but reintroduces coupling to the orchestrator and can become a scalability and ownership bottleneck if too many business processes are centralized there. Most mature landscapes use a hybrid: choreography for loosely related, fan-out notifications (e.g., "material master changed" triggering multiple independent downstream syncs), and orchestration for processes with strict sequencing and compensation requirements (e.g., a multi-step order-to-cash flow spanning SAP and non-SAP systems where a failure midway must trigger rollback-like compensating transactions, since distributed systems generally cannot support true ACID rollback across services). A critical advanced concern is idempotency and ordering. Event brokers may redeliver messages (at-least-once delivery is common), and network partitions can cause events to arrive out of order. Consumers must be designed so that processing the same event twice produces the same end state (idempotency), often achieved by tracking a unique event ID and rejecting duplicates, or by making the applied operation naturally idempotent (e.g., "set status to X" rather than "increment counter by 1"). Ordering guarantees, where required, typically depend on partitioning events by a consistent key (such as order ID) so that all events for a given business object are processed by the same consumer in sequence — but this is a property of the underlying broker and must be verified rather than assumed. Governance is another advanced dimension: as more teams publish and subscribe to events, you need a catalog of event schemas, versioning rules for backward compatibility, and clear ownership of each event's producing system. Without this governance, schema drift silently breaks downstream consumers, often discovered only in production. Security governance must also address which systems and roles are authorized to publish or subscribe to sensitive business events (e.g., pricing or HR data), since event buses can otherwise become an ungoverned data leakage path. Operationally, teams must monitor event lag (time between publish and consumption), dead-letter queues for repeatedly failing messages, and implement replay capability for recovering from a consumer outage without data loss. Rollback in event-driven systems is rarely a literal undo; instead, architects design compensating events (e.g., "OrderCancelled" to reverse the effect of "OrderCreated") as the standard recovery mechanism. Recommended practices: • Use choreography for independent fan-out notifications and orchestration for processes needing strict sequencing and compensation • Design every consumer to be idempotent using unique event identifiers • Partition events by business key when ordering matters, and verify the broker's actual ordering guarantees • Maintain a governed event catalog with schema versioning and clear producer ownership • Implement compensating events as the standard recovery mechanism instead of assuming distributed rollback Common mistakes to challenge: • Assuming events will always be delivered exactly once and in order without verifying the broker's actual guarantees • Building consumers that are not idempotent, causing duplicate side effects on redelivery • Over-centralizing all processes into a single orchestrator, creating a new bottleneck and single point of failure • Allowing event schemas to change without versioning, silently breaking downstream consumers • Treating event-driven rollback as a literal database rollback instead of designing explicit compensating events Interview angle: Senior architect interviews often ask candidates to design an event-driven order process and probe how they would handle duplicate delivery, out

Related lesson

Selecting Integration Patterns: Synchronous, Asynchronous and Hybrid Trade-offs (Part 2)

Related topics

Next practice step

Go deeper on this topic