ERPClimb logoERPClimb
S/4HANA Clean Core
Architect / Cross-trackIntermediate 5 min read

SAP S/4HANA Clean Core: On-Stack vs Side-by-Side Extensions (Part 2)

Preview · a free account unlocks the full lesson

Key takeaway

Use a consistent Clean Core decision sequence—standard, key-user extensibility, released on-stack extension, released API or side-by-side BTP—before accepting tightly coupled custom code as a governed exception.

In this lessonShow sections

Visual overview

SAP S/4HANA Clean Core: On-Stack vs Side-by-Side Extensions (Part 2) — learning sheetIn one line: Use a consistent Clean Core decision sequence—standard, key-user extensibility, released on-stack extension, released API or side-by-side BTP—before accepting tightly coupled custom code as a governed exception.ERPClimb.com / ARCH / LESSON 2/9 / LEARNING SHEETSAP S/4HANA Clean Core: On-Stack vs Side-by-SideExtensions (Part 2)1 · IN ONE LINEUse a consistent Clean Core decision sequence—standard, key-user extensibility, releasedon-stack extension, released API or side-by-side BTP—before accepting tightly coupled customcode as a governed exception.2 · KEY IDEAS EXPLAINED1Clean Core decisions should begin with thebusiness requirement, not with a preferredtechnology. The first question is whether standardS/4HANA configuration or process design alreadysolves the need. If not, evaluate the leastcoupled supported extension option that can still…2Key-user extensibility suits bounded field, UI andlogic extensions where the application exposessupported tools. Developer extensibility with ABAPCloud and released BAdIs or APIs is appropriatewhen custom ABAP must execute on stack but shouldremain within a stable release contract…3Timing matters. A validation that must blocksales-order save may require an on-stack releasedBAdI; moving it to a remote BTP application simplyto look cleaner can make the process lessreliable.4If no supported option satisfies the requirement,record the exception with owner, rationale, risk,expected lifetime and review date. Clean Core is agovernance discipline, not a ban on every tightlycoupled extension.3 · DO · AVOIDBest practice!Common mistakeStart from business timing and semantics.Prefer the least coupled supported option.Verify released status.✕Jumping to implicit enhancement first.✕Using BTP for logic that must executesynchronously inside the transaction.✕Ignoring standard configuration.4 · IN A REAL PROJECTIllustrative comparison: a rule must reject an invalid order before save, while a dashboard can update afterthe order is committed. Evaluate a supported local extension point for the first requirement. For thedashboard, evaluate an asynchronous integration and separate application if its freshness target permits it…Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Clean Core decisions should begin with the business requirement, not with a preferred technology. The first question is whether standard S/4HANA configuration or process design already solves the need. If not, evaluate the least coupled supported extension option that can still meet the required transaction timing and user experience.

Key-user extensibility suits bounded field, UI and logic extensions where the application exposes supported tools. Developer extensibility with ABAP Cloud and released BAdIs or APIs is appropriate when custom ABAP must execute on stack but should remain within a stable release contract. Side-by-side BTP extensions are valuable when the capability needs an independent lifecycle, broader technology stack or asynchronous integration boundary.

Timing matters. A validation that must block sales-order save may require an on-stack released BAdI; moving it to a remote BTP application simply to look cleaner can make the process less reliable.

Free account

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.