SAP BTP Side-by-Side Extension for Clean Core (Part 8)
Free sample lesson · open to everyone
Choose side-by-side BTP extension when the capability benefits from an independent lifecycle and loose coupling, integrating through released APIs or events rather than recreating tight save-time dependencies outside S/4HANA.
In this lessonShow sectionsHide sections
Visual overview
The situation: a real project scenario
A supplier-risk dashboard combined S/4 supplier data with an external risk provider. A BTP service consumed released APIs and external feeds without adding logic to the S/4 purchasing transaction.
Explanation
Side-by-side extension moves custom capabilities out of the S/4HANA core onto SAP BTP or another approved cloud runtime. It is a strong fit for portals, workflow, analytics, AI enrichment, partner applications and services that can operate through released APIs or business events.
The key decision is coupling. A capability that must synchronously block a document save in milliseconds may be better implemented with a released in-core BAdI or ABAP Cloud extension. Moving that check to BTP can add network latency and make core transaction availability depend on an external service.
Conversely, processes that can react asynchronously or tolerate independent scaling benefit from side-by-side architecture. Events can decouple producers and consumers, while released OData, SOAP or other APIs provide controlled reads and commands.
Side-by-side is not automatically clean core. A BTP app that calls unreleased RFCs or reads internal SAP tables through a custom tunnel still creates upgrade-sensitive dependency. The cleanliness comes from released contracts and clear ownership.
Design monitoring, authentication, retry, idempotency and data residency alongside the functional architecture.
How the SAP process fits together
SAP PROCESS EXPLORER · Architecture decision lifecycle
ERPClimb.comS/4HANA Clean Core — process breakdown
Topic-specific conceptual flow: how key objects and decisions fit together. SAP configurations and exceptional cases can follow different paths.
Selected process stage
Assess
Inventory modifications, unreleased APIs and code
Representative SAP learning flow, not a guarantee of system runtime sequence in every scenario.
Code example
"Good side-by-side candidates"- partner/customer portal"- external data enrichment"- AI scoring/recommendation"- workflow outside core save"- analytics/dashboard "Prefer released APIs/events."Keep synchronous save-time rules in-core when coupling requires it.Watch out
Common mistakes
- Moving tightly coupled save logic out of core unnecessarily.
- Calling unreleased backend interfaces from BTP.
- Ignoring retry and idempotency.
- Creating synchronous dependency on a remote service for every item.
- Having no end-to-end monitoring ownership.
Do this
Best practices
- Choose side-by-side for loose coupling and independent lifecycle.
- Keep critical save-time logic close to the transaction when needed.
- Use released APIs and events.
- Design observability and retry from day one.
- Assign clear product and integration ownership.
In the interview
Interview angle
A typical question: "A business team wants a new approval screen — would you build it in BTP or in-core?" A strong answer starts from coupling (can the save-time transaction tolerate the extra network hop and external dependency?) and only then considers team ownership and lifecycle independence. A weak answer defaults to "BTP because clean core" without checking whether the requirement actually needs synchronous, save-time behavior.
Practice this lesson
Quick check
0 of 3 questions attempted
Question 1 of 3
A supplier-risk dashboard combined S/4 supplier data with an external risk provider. What is the right approach?
Question 2 of 3
Scenario — A company wanted a save-time compliance validation. Which response best addresses the design or operating risk in Clean Core Extension Decision Framework?
Question 3 of 3
When is side-by-side extension on BTP usually a good fit?
Practise this in an interview
Answer in your own words and get instant feedback, the way an interviewer would judge it.
1How do you decide between in-app extension and side-by-side extension?
2Using this SAP project situation — A supplier-risk dashboard combined S/4 supplier data with an external risk provider — explain Side-by-Side Extension on BTP. What should happen, which concepts or process steps matter, and what common mistake would you avoid?
Try a related Code Lab
This published exercise covers the same SAP topic. Apply the ideas in a hands-on scenario, then return to review your answers.
Open: Classifying Custom Code During S/4HANA Conversion →Was this lesson helpful?
Keep exploring
Interview questions on this topic
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.