Sub topic 11
Keeping the Core Standard: In-App and Side-by-Side Extensions
This chapter assumes you know what SAP S/4HANA is, how the six SAP Activate phases are ordered, and what a Fit-to-Standard workshop produces. It explains how the gaps found in Explore are closed during Realize without damaging the standard system.
Why the core matters
The core is the SAP-delivered code, data model and configuration of the S/4HANA system. A clean core is a core that has no modifications to SAP objects and uses only supported, released interfaces for extensions.
The reason is practical. In SAP S/4HANA Cloud Public Edition, SAP upgrades the system on a fixed cadence, and the customer cannot delay it. In private cloud and on-premise systems, upgrades are the customer's decision, but each modified object makes the next upgrade more expensive to test and repair. Extensions built on stable, released interfaces survive upgrades. Modifications do not.
Activate links this to the earlier phases. The Fit-to-Standard analysis in Explore produces a list of fit-gap results. Each gap is a requirement that the standard solution does not cover. The Realize phase handles those gaps in a fixed order of preference:
- Change the business process to match the standard.
- Use configuration or a different standard feature.
- Build an extension that stays outside the core, or inside it through released tools only.
- Only if no other option exists, consider a change to the core, and only where the deployment model allows it.
Extensions are the third option, and the rest of this chapter covers them.
The two extension patterns
SAP describes two main patterns. They differ in where the extension runs.
| Aspect | In-app (key user) extensibility | Side-by-side extensibility |
|---|---|---|
| Where it runs | Inside the S/4HANA system | On SAP Business Technology Platform (SAP BTP) |
| Typical builder | Key users and consultants | Developers |
| Tools | Custom fields, custom business logic, custom CDS views, custom forms and UI adaptation | SAP BTP services, such as the ABAP environment, the Cloud Application Programming Model and SAP Build |
| Connection to S/4HANA | Direct, in the same system | Released APIs and events |
| Typical use | Add a field, validate an entry, adjust a screen or report | New apps, integrations, workflows, or heavy processing separate from the ERP |
| Upgrade effect | Protected by the released extension framework | Protected by the stable API contract |
The names vary between SAP documents and releases, and the toolset changes over time. Treat the table as the working model, and check the current SAP Help Portal for the exact tools available in your edition.
In-app extensions
In-app extensibility lets you change the system from within, using tools that SAP supports and tests for upgrade safety. Common cases are:
- A custom field on a sales order, such as a customer reference required by one large customer.
- A custom business logic rule, such as a check that blocks an order when a mandatory value is missing.
- A custom CDS view, which exposes data for a report or an app.
- An adapted screen layout that hides unused fields for a user group.
Key users make many of these changes in the system with no coding, which keeps small changes fast. More advanced cases use developer tools inside the system, such as ABAP in the restricted, cloud-ready language version. That version only allows access to released objects.
Side-by-side extensions
A side-by-side extension is an application that runs on SAP BTP and talks to S/4HANA over released APIs and business events. The S/4HANA system does not host the code. This gives you three advantages:
- The extension has its own lifecycle. You can release a change without touching the ERP system.
- You can use technologies that the ERP does not offer, such as a separate user interface, an external service, or machine learning.
- Heavy or unpredictable load stays away from the ERP system.
The cost is added architecture. You need an SAP BTP subaccount, authentication between the systems, a transport route for the extension, monitoring, and a team that can own it.
Choosing between them
Ask these questions in order for each gap:
- Does the requirement only add or adjust data, logic or screens of an existing app? Use in-app.
- Does it need a new user experience, a separate data store, external partners, or a different release cycle? Use side-by-side.
- Does it need to read or write data in S/4HANA? Check that a released API, event or CDS view exists. If none exists, the pattern is not yet viable and you must find another route.
Where extensions sit in the phases
Extensions touch several phases, not only Realize.
| Phase | Extension-related work |
|---|---|
| Explore | Classify each gap. Record a proposed solution type and a rough effort. Challenge requirements that only reproduce legacy behavior. |
| Realize | Build, test and document extensions inside the iterations (sprints). Run unit tests, then integration tests that include the extension. |
| Deploy | Move extensions through the transport route. Include them in cutover planning and user training. |
| Run | Monitor them. Retest them after each upgrade or release of a dependent API. |
An extension is a deliverable like any other. It needs a requirement ID that traces back to the Fit-to-Standard workshop, an owner, test cases, and documentation.
Worked example: a customer reference check
Suppose a Fit-to-Standard workshop for order-to-cash records this gap: a key customer requires a purchase-order reference in a fixed format, and orders without it must not be saved.
The project team classifies it:
- The requirement adds a field and a validation to an existing app, so it is an in-app extension.
- A custom field holds the reference.
- Custom business logic checks the format.
Suppose the same workshop also records a second gap: the customer wants to share order status with its own carriers through a web portal with its own login. This needs a new user interface for external parties and its own lifecycle. It is a side-by-side extension that reads order data through released APIs and receives status changes through business events.
The two gaps look similar in the gap list, since both are "extra order features". The pattern differs because the requirements differ. Recording the reason in the fit-gap log keeps the decision visible for later reviews.
Common errors
- Treating every gap as a development task. Many gaps close with configuration or a process change. Skipping those steps raises cost and upgrade risk.
- Using unreleased objects. An extension that reads an internal table or calls an internal function works today and may fail after the next upgrade. Use released objects only.
- Building side-by-side by default. It looks clean, but adds subaccounts, connectivity, security and support effort. A custom field does not need it.
- Hiding extensions from the roadmap. Extensions without backlog items, tests or owners reach cutover unplanned. Track them like other scope.
- Ignoring the deployment model. Public cloud allows only the released, cloud-ready extension methods. Private cloud and on-premise allow more, but the same discipline pays off there.
- No retest after upgrades. In the Run phase, a released API can gain a new version or be deprecated. Keep regression tests for extensions and review the release notes.
Checklist for the design authority
Before you approve an extension in Realize, confirm that:
- The gap is traceable to a Fit-to-Standard result.
- Process change and configuration were considered and rejected, with the reason recorded.
- The pattern (in-app or side-by-side) is justified.
- All objects and APIs used are released.
- An owner, test cases and documentation exist.
- The transport and cutover route is planned.
Exercise
A fit-gap list contains two items. (1) Sales wants a mandatory "project code" field on sales orders, validated against a fixed list. (2) Logistics wants a supplier-facing mobile app that shows open purchase orders and lets suppliers confirm delivery dates, with its own login and a release cycle independent of the ERP. Choose an extension pattern for each, give one reason each, and name one thing to verify before building item 2.
Show answer
Item 1 is an in-app extension: a custom field plus custom business logic adds data and a check to an existing app, so it can run inside S/4HANA with key user tools. Item 2 is a side-by-side extension on SAP BTP: it is a new user experience for external users, with its own login and its own release cycle. Before building item 2, verify that released APIs or business events exist that expose open purchase orders and accept the delivery date confirmations, because without them the pattern is not viable.
Exercise
In which order should the Realize phase consider these options for closing a gap: side-by-side extension, process change, configuration, in-app extension? Why does the order matter for upgrades?
Show answer
Process change, then configuration, then in-app extension, then side-by-side extension. Options earlier in the list add less custom content, so they create less to test and maintain at each upgrade. Side-by-side extensions are upgrade-safe when built on released APIs, but they add architecture and operating effort, so they come after the simpler options.