ERPClimb logoERPClimb
ABAP Cloud and Released APIs
RAP / CDS / ODataadvanced 7 min read

ABAP Cloud Part 5: On-Stack Developer Extension vs BTP Side-by-Side

Preview · a free account unlocks the full lesson

Key takeaway

Choose between on-stack developer extensibility and a side-by-side extension on SAP BTP using clear criteria: data proximity, transactional coupling, latency, lifecycle, scalability, skills and cost.

In this lessonShow sections

Visual overview

ABAP Cloud Part 5: On-Stack Developer Extension vs BTP Side-by-Side — learning sheetIn one line: Choose between on-stack developer extensibility and a side-by-side extension on SAP BTP using clear criteria: data proximity, transactional coupling, latency, lifecycle, scalability, skills and cost.ERPClimb.com / RAP / LESSON 5/7 / LEARNING SHEETABAP Cloud Part 5: On-Stack Developer Extension vs BTPSide-by-Side1 · IN ONE LINEChoose between on-stack developer extensibility and a side-by-side extension on SAP BTPusing clear criteria: data proximity, transactional coupling, latency, lifecycle,scalability, skills and cost.2 · KEY IDEAS EXPLAINEDOn-Stack Developer ExtensibilityDirect, fast access to SAP data via released CDSviews (joins, analytics in one query).Same transaction as SAP processes: validations inreleased BAdIs, EML on released SAP BOs in thesame LUW.Side-By-Side On BTPIndependent lifecycle and scaling; can be updatedwithout touching S/4HANA.Can combine several backends (S/4HANA,SuccessFactors, non-SAP).Decision Criteriathe logic belongs to an S/4HANA businesstransaction (checks, derivations, follow-uppostings);you need joins with large SAP data volumes orreal-time analytics;HybridCommon pattern: on-stack for checks and events inS/4HANA; side-by-side app for the user experience,reacting to events and calling released APIs.3 · DO · AVOIDBest practice!Common mistakeDecide per requirement with explicit criteria.Use on-stack for transactional checks anddata-heavy logic.Use side-by-side for independent apps,multi-system and external users.✕Building side-by-side apps that need the sametransaction as SAP postings.✕Replicating large SAP data sets to BTP just tojoin them.✕Putting external-user portals on-stack.4 · IN A REAL PROJECTA company wanted a supplier self-service portal and, at the same time, stricter checks when buyers createpurchase requisitions. The first plan put everything on-stack, including external supplier access. Thearchitecture review split it: the supplier portal went side-by-side on BTP (external users, independent…Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Part 2 listed the extensibility options. This part helps decide between the two developer options: on-stack and side-by-side.

On-stack developer extensibility means writing ABAP Cloud code inside the S/4HANA system itself.

Its strengths are direct, fast access to SAP data via released CDS views, allowing joins and analytics in a single query; running in the same transaction as SAP's own processes, so validations in released BAdIs and EML on released SAP BOs happen within the same LUW; and needing no additional runtime or data replication.

Its limits are that it runs on the S/4HANA system's own resources and lifecycle, including upgrades and downtime, and it stays tied to one specific S/4HANA system.

Side-by-side extensibility on BTP means building a separate application — the SAP BTP ABAP environment with RAP, or CAP with Node.js or Java — that talks to S/4HANA through released remote APIs (OData, SOAP) and business events.

Its strengths are an independent lifecycle and independent scaling, so it can be updated without touching S/4HANA at all; the ability to combine several backends, such as S/4HANA, SuccessFactors, and non-SAP systems; and suitability for external users, partners, and heavy workloads.

Its limits are network latency and API limits, with no shared transaction, so changes spanning both systems need compensation logic or eventual consistency; data has to be read via APIs or replicated; and there's additional runtime cost and operations to manage.

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.