Sub topic 10
Fit-to-standard versus fit-gap implementation
Prerequisites and scope
This chapter assumes you know what the three editions are (Cloud Public Edition, Cloud Private Edition, on-premise) and that you have met the clean core principle. You should also know the basic SAP project vocabulary: business process, configuration, and customizing. The chapter explains how the implementation approach changes with the edition. It does not repeat edition definitions.
Two ways to decide what the system does
Every ERP implementation has to answer one question: how do we decide what the system will do for this company? There are two classic answers.
- Fit-gap starts from the customer's requirements. The team collects requirements, writes a blueprint, and then checks each requirement against the software. A requirement that the software meets is a "fit". One that it does not meet is a "gap", and a gap is usually closed with custom development or a modification.
- Fit-to-standard starts from the software. The team demonstrates the delivered standard processes in a prepared system. The customer reviews them and decides whether each one is acceptable. Only the differences that the business cannot live with are recorded, and each one is treated as a deviation to be justified.
The direction of the question is the real difference. Fit-gap asks "what do you need?" and then measures the software against the answer. Fit-to-standard asks "does this standard process work for you?" and then measures the business against the software.
How fit-gap works in practice
A traditional fit-gap project on SAP ECC or on a classic S/4HANA system follows these steps:
- Run a business blueprint phase. Workshops collect requirements, often as long documents.
- Map each requirement to the system. Mark it as fit, configurable, or gap.
- Specify each gap in a functional specification.
- Build the gaps as custom reports, enhancements, or modifications.
- Test the build and the standard together.
This approach gives the customer a great deal of freedom. It also has costs.
- The requirements often describe how the old system worked, so the new system inherits old habits.
- Each gap adds code that someone must test and maintain.
- Custom code touching unreleased objects can break during upgrades. This is the main risk behind the clean core principle.
- Gap lists tend to grow because adding a requirement during a workshop is cheap, and its cost shows up later.
How fit-to-standard works in practice
Fit-to-standard is built around a ready-to-run system, often a preconfigured starter system with sample data and the SAP Best Practices content. The usual flow is:
- Prepare. Set up the starter system and agree on scope, using the delivered scope items (the packaged business processes SAP supplies).
- Explore. Run workshops in which consultants demonstrate each process in the system. Business users watch and ask questions.
- Validate. For each process, users confirm it as acceptable or record a deviation.
- Classify. Each deviation becomes one of several things: a configuration setting, a change to the business process, an extension, or an open item to be rejected.
- Realize. The team configures the system, builds only the approved extensions, and tests.
SAP's project methodology, SAP Activate, builds this exploration step into its Explore phase. The same Activate phases (Discover, Prepare, Explore, Realize, Deploy, Run) apply in all editions, but what you do in Explore differs.
Why the edition forces the choice
The edition decides how much freedom is left after the workshop.
- Public Edition has a fixed set of extension options: in-app (key user) extensibility, developer extensibility restricted to ABAP Cloud, and side-by-side extensions on SAP BTP. Modifications and direct access to unreleased objects are not available. The system also upgrades on SAP's schedule, so a gap solved by a modification would not survive. Fit-to-standard is therefore the only workable approach. A gap that cannot be solved with released extension points means changing the process.
- Private Edition allows the same clean core extension methods and also classic ABAP extensibility, including modifications and custom code on unreleased objects. Fit-gap is technically possible. Fit-to-standard is still recommended, because every classic gap raises the cost of later upgrades.
- On-premise gives the same technical freedom as Private Edition, and the customer runs upgrades. Fit-gap is possible and still common, especially in system conversions with a large existing custom code base.
| Aspect | Fit-gap | Fit-to-standard |
|---|---|---|
| Starting point | Customer requirements | Delivered standard processes |
| Main artifact | Blueprint and gap list | Deviation list from workshops |
| Typical gap handling | Custom development or modification | Process change, configuration, or clean extension |
| Upgrade risk | Rises with each gap | Kept low |
| Natural fit | Private Edition and on-premise with heavy custom code | Public Edition, and clean-core projects elsewhere |
Where fit-to-standard meets the code
The link between this chapter and the clean core is the extension you allow after a workshop. If a deviation is approved, build it in the cleanest layer that can carry it. The following ABAP Cloud class uses only released APIs, so it would stay valid across upgrades in any edition.
CLASS zcl_edition_probe DEFINITION PUBLIC FINAL CREATE PUBLIC.
PUBLIC SECTION.
INTERFACES if_oo_adt_classrun.
ENDCLASS.
CLASS zcl_edition_probe IMPLEMENTATION.
METHOD if_oo_adt_classrun~main.
out->write( cl_abap_context_info=>get_system_date( ) ).
out->write( cl_abap_context_info=>get_user_technical_name( ) ).
ENDMETHOD.
ENDCLASS.By contrast, a gap that reads an unreleased table directly is a typical fit-gap result. This statement works in classic ABAP on Private Edition and on-premise, but ABAP Cloud in Public Edition does not allow it.
SELECT SINGLE matnr
FROM mara
INTO @DATA(lv_matnr).In a fit-to-standard project, a reviewer who sees this kind of statement asks whether a released CDS view or API already offers the data. If one does, the code moves to it. If none does, the team raises the missing release with SAP or builds the logic side by side on SAP BTP.
Typical errors and how to avoid them
- Fit-gap in disguise. Teams run "fit-to-standard" workshops but accept every deviation. The result is a gap list under a new name. Require a business justification and a cost estimate for each deviation.
- Skipping the starter system. Without a running system, the workshop becomes slides, and users cannot judge the process. Always demonstrate in the system.
- Reproducing the old process. Users ask for the old screen layout or report. Ask what outcome they need, and check whether a standard app delivers it.
- Confusing configuration with extension. Setting a value in a configuration activity is cheap and upgrade-safe. Building an extension is not. Classify every deviation before sizing it.
- Ignoring existing custom code in conversions. In a system conversion, thousands of custom objects already exist. Fit-to-standard still applies to the processes, but custom code needs its own review (see the readiness tools chapter).
- Assuming the approach is the same in all editions. In Public Edition the options are limited by design. In Private Edition and on-premise, discipline replaces enforcement.
Decision criteria
Choose fit-to-standard as the default whenever the target is Public Edition, or when the company wants a clean core in any edition. Consider a fit-gap element when the company has a legally required or differentiating process that no standard scope item covers, and only for that process. In that case, document the gap, choose the cleanest extension layer, and plan its upgrade testing.
Exercise
A company is moving to Cloud Public Edition. In a workshop, the finance team asks for a custom report that reads the unreleased table MARA directly. Name the approach that governs this project, and give two valid ways to handle the request.
Show answer
The project follows fit-to-standard, because Public Edition does not allow modifications or direct access to unreleased objects. Valid ways to handle the request include (1) using a released CDS view or standard app that already provides the material data, or (2) building an in-app or side-by-side extension on SAP BTP that reads the data through a released API. Changing the process so that the report is not needed is also acceptable.
Exercise
A company converting its on-premise ECC system to on-premise S/4HANA has 4,000 custom objects. A manager says that fit-to-standard is pointless because fit-gap is allowed technically. Give one argument for keeping fit-to-standard for the business processes.
Show answer
Each classic gap raises the cost and risk of every later upgrade and test cycle. Running fit-to-standard workshops keeps the number of deviations small and justified, so the custom code base shrinks instead of growing, even though the edition permits modifications.