Integration Patterns and Runtime Flow for Side-by-Side Extensions (Part 2)
Preview · a free account unlocks the full lesson
Explains how side-by-side extensions built on BTP communicate with the S/4HANA core at runtime, covering synchronous and asynchronous integration patterns, authentication, and typical failure points.
In this lessonShow sectionsHide sections
Visual overview
Explanation
Once an architect decides on a side-by-side extension, the next critical design work is defining how it integrates with the digital core at runtime. There are two broad integration styles: synchronous request-response and asynchronous event-driven, and most non-trivial extensions use a combination of both.
Synchronous integration typically uses OData services or REST APIs exposed by S/4HANA (either standard released APIs from the SAP API Business Hub catalog, or custom APIs built via RAP - the ABAP RESTful Application Programming Model - in the core for private cloud/on-premise systems). The side-by-side application, often built with CAP on BTP, calls these APIs directly for read or write operations.
This pattern suits scenarios where the extension needs an immediate response, such as validating stock availability before confirming a custom quote. The main runtime risks here are latency (every synchronous call adds network round-trip time to the user's perceived response), availability coupling (if the core API is down or slow, the extension's functionality degrades or fails), and authentication complexity, since calls must be authenticated and authorized end-to-end, typically via OAuth 2.0 client credentials or principal propagation through SAP Cloud Connector for on-premise systems, or direct OAuth trust for cloud-to-cloud calls.
Create a free account to keep reading
You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.
- Full explanation
- Code example
- Real project scenario
- Common mistakes
- Best practices
- Interview angle
One tap with Google works too. Every topic keeps its first lesson open to everyone.
Keep exploring
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.