ERPClimb logoERPClimb
S/4HANA Clean Core
Architect / Cross-trackAdvanced 3 min read

SAP BTP Side-by-Side Extension for Clean Core (Part 8)

Free sample lesson · open to everyone

Key takeaway

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 sections

Visual overview

SAP BTP Side-by-Side Extension for Clean Core (Part 8) — learning sheetIn one line: 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.ERPClimb.com / ARCH / LESSON 8/9 / LEARNING SHEETSAP BTP Side-by-Side Extension for Clean Core (Part 8)1 · IN ONE LINEChoose side-by-side BTP extension when the capability benefits from an independent lifecycleand loose coupling, integrating through released APIs or events rather than recreating tightsave-time dependencies outside S/4HANA.2 · KEY IDEAS EXPLAINED1Side-by-side extension moves custom capabilitiesout of the S/4HANA core onto SAP BTP or anotherapproved cloud runtime. It is a strong fit forportals, workflow, analytics, AI enrichment,partner applications and services that can operatethrough released APIs or business events.2The key decision is coupling. A capability thatmust synchronously block a document save inmilliseconds may be better implemented with areleased in-core BAdI or ABAP Cloud extension.Moving that check to BTP can add network latencyand make core transaction availability depend on…3Conversely, processes that can reactasynchronously or tolerate independent scalingbenefit from side-by-side architecture. Events candecouple producers and consumers, while releasedOData, SOAP or other APIs provide controlled readsand commands.4Side-by-side is not automatically clean core. ABTP app that calls unreleased RFCs or readsinternal SAP tables through a custom tunnel stillcreates upgrade-sensitive dependency. Thecleanliness comes from released contracts andclear ownership.3 · DO · AVOIDBest practice!Common mistakeChoose side-by-side for loose coupling andindependent lifecycle.Keep critical save-time logic close to thetransaction when needed.Use released APIs and events.✕Moving tightly coupled save logic out of coreunnecessarily.✕Calling unreleased backend interfaces fromBTP.✕Ignoring retry and idempotency.4 · IN A REAL PROJECTA supplier-risk dashboard combined S/4 supplier data with an external risk provider. A BTP service consumedreleased APIs and external feeds without adding logic to the S/4 purchasing transaction.Original ERPClimb learning sheet • Verify against your SAP release and edition

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.com

S/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.

1/4

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

ABAP Code
"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?

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

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.