Sub topic 3
The three extension options at a glance
This chapter assumes you know what an ERP system does, you have read the clean core chapter, and you can read simple OData and JavaScript. It compares the three ways to extend SAP S/4HANA Cloud without touching the core: in-app, developer, and side-by-side extensibility.
The working model
Every extension option answers one question: where does your custom logic run, and which contract does it use to reach the core?
- In-app (key user) extensibility runs inside the S/4HANA system. Business users and administrators use built-in tools to add fields, logic, and UI changes.
- Developer extensibility also runs inside the S/4HANA system. Developers write ABAP Cloud code against released objects only.
- Side-by-side extensibility runs outside S/4HANA on SAP Business Technology Platform (BTP). It talks to the core through released APIs and events.
All three keep the core clean, because each one restricts you to stable, released contracts.
Comparing the options
| Aspect | In-app | Developer | Side-by-side |
|---|---|---|---|
| Runs in | S/4HANA | S/4HANA | SAP BTP |
| Typical user | Key user, functional consultant | ABAP developer | Full-stack or cloud developer |
| Skills | Configuration, no code or low code | ABAP Cloud | Node.js, Java, or ABAP environment |
| Data access | Direct, inside the system | Direct, via released objects | Remote, via APIs and events |
| Typical use | Custom fields, simple business logic, form and UI tweaks | Custom business objects, complex logic tightly coupled to core transactions | New apps, other systems, own lifecycle, extra scale |
When each option fits
Choose in-app for small adjustments. Examples are adding a custom field to a sales order and showing it on a screen, or a simple validation rule. The tools are quick and need no separate deployment.
Choose developer extensibility when the logic must run inside the core transaction. An example is a custom check that must run during posting and roll the whole transaction back on failure. It uses ABAP Cloud, a restricted ABAP language version that allows only released objects.
Choose side-by-side when the extension is its own application. Examples are a partner review app, a workflow that spans several systems, or a mobile app. It has its own release cycle and scales independently. The cost is that you now handle network calls, authentication, and failure handling.
A common error
Teams often pick side-by-side by default because it feels modern. This adds latency and operations work for changes that a custom field would solve. The reverse mistake also happens: stretching in-system logic into a full application that needs its own UI, storage, and external integrations.
What comes next
The rest of the tutorial follows the side-by-side path. You will connect BTP to S/4HANA with destinations, authenticate users, and consume a released API with CAP.
Exercise
A company needs a new supplier onboarding app. External suppliers log in, upload documents, and the app creates a business partner in S/4HANA when approved. Which option fits best, and why?
Show answer
Side-by-side on SAP BTP. The app has external users, its own UI and document storage, and its own release cycle. It creates the business partner through the released Business Partner API, so the core stays unchanged. In-app and developer extensibility run inside S/4HANA and suit changes tied to core transactions, not a standalone external app.
Exercise
A finance team wants a custom field "Project Reference" on supplier invoices, visible on the invoice screen and in reports. Which option fits best?
Show answer
In-app extensibility. A key user can add the custom field and expose it in the UI and reports with the built-in tools. No code or separate deployment is needed.