Sub topic 11
Choosing an extensibility approach for gaps
This chapter covers what to do after a workshop classifies a finding as a delta. It assumes you know the fit, configuration, and delta classes from the previous chapter. It also assumes you know the clean core principle and the basic S/4HANA terms: ABAP, API, and BTP (SAP Business Technology Platform).
Why the choice matters
A delta requirement is a need that standard processes and configuration cannot meet. Each delta can be built in several ways, and the ways differ in cost and risk. They also differ in how well they survive upgrades.
The clean core principle says to keep the S/4HANA system close to SAP standard. Extensions should use stable, released interfaces and should stay separate from SAP code. This keeps upgrades cheap, because SAP can change its own code without breaking yours.
In a workshop you do not design the extension. You record a preferred approach and the reason for it. The estimate and the build come later. A wrong choice here is expensive to undo, so the order in which you consider options matters.
Check configuration first
Before you consider any extension, confirm that no configuration option fits. Many findings that look like gaps are settings the team has not found yet. Examples are an approval workflow, a output-management template, or a field control. Ask the solution expert to demonstrate the option in the starter system, or to show where it would be set. If it works, reclassify the finding as configuration and close the delta.
The extensibility options in order of preference
The usual order runs from the least invasive option to the most invasive one. Names and capabilities change between releases, so check current SAP documentation before you commit to a detail.
| Option | What it is | Typical use | Upgrade risk |
|---|---|---|---|
| In-app (key user) extensibility | Tools inside the application that let a trained business user add fields, change layouts, define simple logic, and adapt forms and email templates | Custom field on a sales order, custom form layout | Low |
| Developer extensibility (on-stack) | ABAP development inside the S/4HANA system, limited to released objects and APIs, in the ABAP Cloud model | Custom logic that needs transactional data access in the same system | Low to medium, if you stay on released objects |
| Side-by-side extensibility | Applications built on SAP BTP that talk to S/4HANA through released APIs and events | Separate apps, integrations, or workflows with their own user interface | Low for S/4HANA, but adds a platform to run |
| Classic custom code or modifications | Changing SAP objects or using unreleased internals | Avoid; only with a documented exception | High |
In-app extensibility
Start here for any change that adds a field, adjusts a screen, or tweaks a document. The work is done by trained key users, so no developer is needed. Changes are managed by the system and kept apart from SAP code.
The limit is complexity. If the logic needs loops, many tables, or heavy calculation, in-app tools are the wrong fit.
Developer extensibility
Use this when the logic must run inside S/4HANA, close to the data, and key user tools cannot express it. The rule is that custom code calls only released APIs and objects. Code that follows this rule is much less likely to break on upgrade, because SAP promises to keep those interfaces stable.
Side-by-side extensibility
Use this when the need is a new application, a heavy integration, or a process that spans several systems. The extension runs on BTP and reads or writes S/4HANA data through APIs and business events. It keeps the core clean, but it adds cost: another platform to license, operate, secure, and monitor.
Classic modifications
Changing SAP code directly, or using objects that SAP has not released, is the opposite of a clean core. If a requirement seems to need this, challenge it first. If it still stands, record it as an exception with a named approver and a reason, so the decision is visible later.
A decision flow
The diagram shows the questions a team asks in order. Each "no" moves down to a more invasive option.
Questions that sharpen the choice
Beyond the order of preference, a few questions help you decide between options.
- Does the need touch SAP data and logic tightly? If so, on-stack options usually fit better than side-by-side.
- Does it have its own users or lifecycle? If so, a separate BTP application is easier to manage.
- Who will own it? A key-user extension needs a trained business owner. A coded extension needs a developer team and a support plan.
- Is a released API available? If the API you need is not released, that is a finding in itself. Do not work around it with unreleased objects without recording the exception.
- Is the requirement a real business need? Ask for the business justification. Many "must-haves" turn out to be habits from the old system.
Recording the decision
Write the proposed approach on the delta record, with the reasoning. Keep the wording as a proposal, because the estimate may change it. The record below uses the same fields as the delta example from the spine.
{
"id": "F2S-SD-007",
"scopeItem": "Sales Order Processing",
"processStep": "Create sales order",
"finding": "A customer-specific document layout is required that standard output management does not provide",
"classification": "delta",
"businessJustification": "Contractual requirement from a key customer",
"proposedApproach": "Review extensibility options in order of preference, starting with in-app and key user extensibility",
"priority": "must-have",
"status": "to be estimated"
}Here the approach is still open. After the review, the team would replace the generic text with a specific option, such as a key-user form adaptation, and note why higher-preference options were ruled out.
Common errors
- Jumping to code. Teams that skip the configuration check and the in-app option build things they did not need.
- Treating side-by-side as free. It protects the core but adds run costs and skills the customer may lack.
- Using unreleased objects quietly. This hides upgrade risk. Record it as an exception or avoid it.
- No owner. An extension nobody owns is a long-term liability.
- Choosing the approach by developer preference. Decide on the criteria above, not on which technology the team likes.
Exercise
A sales team wants a new field, "Customer delivery window", on the sales order, plus a simple rule that makes the field mandatory for one customer group. No other system is involved. Which extensibility option do you propose first, and what must you check before proposing any extension?
Show answer
Propose in-app (key user) extensibility first, because adding a field and a simple mandatory rule are within its scope and keep the core clean. Before proposing any extension, check whether configuration or a standard option already meets the need, for example standard field control. If neither works, record the in-app approach with the business justification, and move to developer extensibility only if the in-app tools cannot express the logic.
Exercise
A workshop finding needs a new supplier self-service portal with its own login, which reads and updates purchase order data in S/4HANA. Which option fits best, and what is one cost of that choice?
Show answer
Side-by-side extensibility on SAP BTP fits best, using released APIs and events to reach purchase order data. The need is a separate application with its own users, so it should not live inside the core. One cost is that the customer must license, operate, secure, and monitor an additional platform and may need new skills.