Not every program can be automated, and an honest provider says which. Some ABAP objects convert cleanly with a tool and a regression test. Others carry fifteen years of patches, user exits, and add-on hooks that nobody documented. For those, a fixed quote written from a quick scan will fail you. This post explains what 2iSolutions flags during triage, why it quotes that code separately, and how SAP Custom Development should work when the code is difficult.
What Makes Custom Code Hard to Automate?
Custom code is hard to automate when its behaviour depends on things a tool cannot see: heavy enhancements, third-party add-ons, and business rules no one can explain. Standard ABAP with clear logic converts well. Entangled code does not, and it needs human judgment.
Think of a pricing program a Toronto distributor wrote in 2009. Three developers have touched it since. One added a customer exit, another bolted on a Z-table for rebates, and a third patched a rounding error. The program runs every night, and nobody wants to touch it. Automated tools can scan that code, but they cannot tell you why a rebate gets skipped on the last day of the quarter.
The three signals we watch for
During triage, our team looks at each object and sorts it by risk. Three signals push code out of the automated lane:
- Heavy enhancement: modifications, implicit enhancements, and layered user exits on one program.
- Add-on dependencies: calls into third-party or industry packages that the tool cannot resolve.
- Unclear business rules: logic with no documentation and no living owner.
Any one of these is enough to flag an object. Two or more mean the quote changes shape. Such a program moves from a fixed-price conversion to a time-boxed analysis with a specialist at the keyboard.
Why age alone is a poor guide
Old code is not always risky. A simple report written in 2004 that reads one table and prints a list may convert in an afternoon. Meanwhile, a program written two years ago by a contractor who left no notes can be a nightmare. So we sort by structure and ownership, not by the date in the header.
How Does Triage Separate Safe Code from Risky Code?
Triage is the first pass over your custom code inventory. It sorts every object into automated, assisted, or specialist work, so you see the true effort before anyone commits to a price. Good triage combines usage data and code analysis with a human review.
Here is how the process runs in practice.
- We pull the inventory of custom objects and match it against usage data.
- Unused objects go into a retirement list rather than a conversion list.
- We run static analysis to find modifications, enhancement points, and add-on calls.
- A senior ABAP developer reviews every flagged object by hand.
- We group the results into bands and quote each band on its own terms.
Step two matters more than most buyers expect. Many companies discover that a large share of their custom code never runs. Retiring it costs less than converting it, and it shrinks the project before it starts. Sound SAP Custom Development begins with deleting what you do not need.
Why a single blended price misleads you
A blended price averages easy and hard code together. It looks tidy on a proposal. Then the first heavily enhanced program arrives, the vendor discovers the real effort, and a change request follows. We prefer to show the hard objects up front, even when that makes the opening number look bigger.
What the bands look like
Most inventories fall into three bands. The first holds code a tool converts with light testing. A second band holds code a developer adjusts after the tool runs. Specialist objects fill the third, and each one gets its own estimate. Because you see the split early, you can decide which objects deserve the spend and which deserve retirement.
What Does Heavy Enhancement Look Like?
A heavily enhanced program is a standard or custom object modified through several layers of exits, enhancement spots, or direct code changes. Each layer interacts with the others, so fixing one can break another. These programs need a specialist who reads before editing.
The danger is rarely the code you can see. It is the order in which things fire. A user exit may set a value that a later enhancement overwrites. A tool converts each piece correctly and still produces a program that behaves differently.
For example, imagine a goods receipt process with a custom check, a validation exit, and a Z-report that reads the same table. Convert the table access and the report quietly returns different totals. Nobody notices until month-end close, and by then the finance team has already signed off on bad numbers.
How we handle these programs
We start by capturing what the program does today. Then we write test cases around that behaviour before we change a single line. If the old program rounds a tax amount in an odd way, the test records it. Only after that do we decide whether to keep the quirk or fix it.
This order protects you. A developer who edits first and tests later has no baseline, so every difference becomes an argument. With a baseline, a difference is simply a finding. You and your business owners decide what to do with it. Staffing matters here too, since Canadian labour market briefing materials show how tight the market for skilled technical workers can be, which is one more reason to plan specialist time early.
Questions we ask your team
Documentation rarely answers everything, so we talk to people. These questions surface most hidden rules:
- Who asks for this program’s output, and how often?
- What happens in the business if it fails for one night?
- Which other systems read what it writes?
- Has anyone changed it since the last audit?
The answers often reveal a dependency no scan would catch. A shipping team may depend on a file the program drops at 3 a.m. That detail never appears in the code comments.
Why Do Add-On Dependencies Raise the Stakes?
An add-on dependency is a link between your custom code and software you did not write, such as an industry package, a tax engine, or a third-party connector. When the add-on changes or disappears, the custom code can fail in ways the tool never predicted.
Add-ons cause trouble for a simple reason. Your code calls functions, tables, or interfaces that belong to someone else. The vendor may have changed them in the new release, or may not support the new platform at all. Automated checks flag the call as unresolved, and nothing more.
Checking vendor readiness first
Before we touch code that calls an add-on, we check the vendor’s position. Does the vendor support your target release? Is there an updated version, or a replacement? A custom program cannot be fixed if the thing it calls no longer exists.
This is where project plans slip. A team finds out in month four that a connector has no supported version. Then it scrambles for a substitute while the cutover date holds still. Asking the question in week one costs nothing. Asking it in month four costs a quarter.
Planning for a rewrite
Sometimes the right answer is a rewrite rather than a repair. If an add-on is gone and the logic is simple, a clean rebuild may take less time than patching. A rewrite also gives you documentation you never had. We estimate both paths and show you the difference, so you pick with the numbers in front of you.
How Does This Fit a Larger Migration Plan?
Custom code analysis sits inside a bigger project, and the order of work matters. Treat code as a late-stage task and it will collide with testing, data loading, and training. Treat it as early work and the schedule stays honest.
Many Canadian companies reach this point while planning an SAP ECC to S4HANA Migration. The custom code inventory often decides the timeline more than the data or the hardware does. A mid-sized manufacturer with a few thousand custom objects can lose months if the hard ones surface late.
SAP’s own guidance points the same direction. SAP publishes a custom code migration approach as part of its S/4HANA conversion tooling, and it tells customers to analyze and clean up custom code before conversion starts. We follow that advice and add the human review that tools cannot supply.
Where side-by-side extensions help
Not every custom requirement belongs in the core system. Some logic can move to extensions that run beside it. SAP BTP, the SAP Business Technology Platform, is a cloud platform for building extensions and integrations without modifying the core ERP system. Moving a rarely changed report or a custom approval flow there can shrink the core code you must convert.
Still, this is a design choice, not a shortcut. Each extension needs its own security, support, and owner. We help you weigh the trade-offs object by object, and we skip the move when it adds more cost than it removes.
What Support Should You Expect During the Project?
Strong project support means a named team that stays through testing, cutover, and the first weeks of live operation. You should know who fixes a failed program at 6 a.m. on the Monday after go-live, and that person should already know the code.
Good SAP Implementation Support starts well before cutover. It covers test planning, defect triage, and business user coaching. For heavily enhanced programs, it also covers a short list of watch items, so a developer checks the riskiest objects first when the system goes live.
What a healthy handover looks like
At the end of the work, you should hold more than a working system. You should hold a record of what changed and why. We hand over:
- The final custom object list, with retired objects marked.
- Test cases tied to each specialist program.
- Plain-language notes on every business rule we uncovered.
- A short list of objects worth a second look in the next release.
That last item matters. Custom code does not stop growing after go-live. Teams add new Z-programs under pressure, and the same tangle can start again. A clear record gives your next developer a fair start.
Working with your internal developers
Your own ABAP developers know things we do not. They remember why a program exists and who asked for it. So we pair with them during review and let them challenge our findings. Knowledge moves in both directions, and your team keeps ownership of the code after we leave.
Frequently Asked Questions
Q. What counts as heavily enhanced custom code?
A. It is code modified through several layers, such as user exits, enhancement spots, and direct changes, so that each layer affects the others. These programs need manual analysis because automated tools convert the pieces without understanding how they interact.
Q. Why does 2iSolutions quote difficult code separately?
A. A blended price hides the real effort behind a few hard objects. 2iSolutions bands the inventory and prices each band on its own terms, so you see the true cost before the work starts and avoid surprise change requests.
Q. Can add-on dependencies stop a migration?
A. Yes, if the vendor offers no supported version for your target release. You can still proceed by finding a replacement or rewriting the logic, but you must learn this early so the schedule absorbs the work.
Q. Should we delete unused custom code before converting it?
A. Yes. Unused objects cost money to convert and test, and they add nothing to the live system. Usage data shows which programs never run, and retiring them shrinks the project before it begins.
Q. How do we know if a program needs a specialist?
A. Look for heavy enhancement, third-party calls, or business rules nobody can explain. If a program has one of these signals, a senior developer should review it by hand before anyone quotes a fixed price.
Why Difficult Code Deserves an Honest Quote
Hard code is not a failure of your past developers. It is the result of years of real business needs layered into one system. The mistake lies in pricing it as if it were simple. A tool handles the easy objects well, and a person must handle the rest.
The approach is straightforward. Triage the inventory, retire what no longer runs, band the remaining objects by risk, and write tests before any change. Check add-on vendors in week one, and decide early which logic belongs in the core and which belongs in an extension. Each step trades a little time now for a lot of certainty later.
2iSolutions works this way because it keeps projects honest. When we show you the specialist objects up front, you can budget for them, schedule around them, and hold us to the estimate. A reliable quote for your toughest programs is the first step toward a migration that finishes on the date you were given.
Email us at info@2isolutions.com to request a demo of AI ABAP code remediation.