# SAP Custom Code Remediation Estimator

> Source: https://netray.co/tools/sap-custom-code-remediation-estimator
> Publisher: Netray (netray.co), AI and integration engineering for ERP and manufacturing systems.
> Section: Free Tools

## Short answer

Estimate hours, cost and calendar time for fixing custom ABAP code for S/4HANA, from object counts, usage and ATC findings.

## Category

sap

## Erp

SAP S/4HANA

## Audience

- SAP ABAP lead
- SAP program manager
- SAP architect

## Tool

**Kind:** calculator

**Currency:** $

**Inputs:**

#### Custom objects in scope (Z and Y)

**Key:** objects

**Type:** number

**Default:** 12000

**Min:** 0

**Step:** 500

**Unit:** objects

**Help:** Programs, classes, function modules, reports, enhancements and forms.

#### Share actually used

**Key:** used_pct

**Type:** slider

**Default:** 35

**Min:** 5

**Max:** 100

**Step:** 1

**Unit:** percent

**Help:** From usage data such as ABAP call monitor over several months.

#### Share of used objects with findings

**Key:** aff_pct

**Type:** slider

**Default:** 30

**Min:** 0

**Max:** 100

**Step:** 1

**Unit:** percent

**Help:** From S/4HANA readiness checks in ABAP Test Cockpit.

#### Share of findings fixable by tooling

**Key:** auto_pct

**Type:** slider

**Default:** 20

**Min:** 0

**Max:** 80

**Step:** 1

**Unit:** percent

**Help:** Quick fixes and automated corrections.

#### Average hours per manual fix

**Key:** manual_hours

**Type:** number

**Default:** 3.5

**Min:** 0.5

**Step:** 0.5

**Unit:** hours

#### Testing effort as share of fix hours

**Key:** test_factor

**Type:** number

**Default:** 0.6

**Min:** 0

**Step:** 0.1

**Unit:** ratio

**Help:** Unit and integration testing relative to development hours.

#### Blended hourly rate

**Key:** rate

**Type:** number

**Default:** 85

**Min:** 0

**Step:** 5

**Unit:** $/hour

#### Developers on remediation

**Key:** team

**Type:** number

**Default:** 6

**Min:** 1

**Step:** 1

**Unit:** people

**Outputs:**

#### Objects in use

**Key:** used

**Expr:** objects * used_pct / 100

**Format:** integer

**Description:** Unused objects should be retired, not fixed.

#### Objects to retire

**Key:** retire

**Expr:** objects - used

**Format:** integer

#### Used objects needing change

**Key:** affected

**Expr:** used * aff_pct / 100

**Format:** integer

#### Manual fixes

**Key:** manual

**Expr:** affected * (1 - auto_pct / 100)

**Format:** integer

#### Development hours

**Key:** dev_hours

**Expr:** manual * manual_hours + affected * auto_pct / 100 * 0.5

**Format:** number

**Description:** Automated fixes allowed a half hour review each.

#### Total hours with testing

**Key:** total_hours

**Expr:** dev_hours * (1 + test_factor)

**Format:** number

**Primary:** true

#### Estimated cost

**Key:** cost

**Expr:** total_hours * rate

**Format:** currency

**Primary:** true

#### Calendar duration

**Key:** months

**Expr:** total_hours / (team * 120)

**Format:** months

**Description:** Assumes about 120 productive hours per developer per month.

**Chart:**

#### Total hours as share with findings rises

**Type:** line

**X:** aff_pct

**From:** 5

**To:** 80

**Steps:** 16

**Series:**

- total_hours

**Disclaimer:** Rough planning model only. Real effort depends on code complexity, modifications of standard objects, data model changes and tooling. Re-estimate after running ABAP Test Cockpit checks on your system.

## Content

**Intro:** Custom code is usually one of the largest uncertain lines in an S/4HANA business case. This estimator converts object counts, usage and ATC findings into hours, cost and elapsed time, so you can size the work before the technical analysis finishes.

**Sections:**

#### How to use the estimator

**Body:** Start with the total count of custom objects in your ECC system. Enter the share actually used, which you can measure with usage collection such as the ABAP call monitor over a full business cycle. Then enter the share of used objects that carry findings from S/4HANA readiness checks in ABAP Test Cockpit. Add the fraction fixable with tooling, your average manual fix time, the testing ratio, the blended rate, and your team size. The results show hours, cost and duration, with a chart showing how sensitive the hours are to the findings share.

**Bullets:**

- Measure usage over at least one full year-end cycle
- Use actual ATC findings once available
- Update the average hours per fix after a pilot batch
- Adjust team size to see duration effects

#### The method

**Body:** The logic is a funnel. Total objects are reduced to those in use, then to those with findings, then split into automated and manual fixes. Development hours are manual fixes times average time, plus a short review per automated fix. Testing is added as a ratio of development hours. Cost is hours times rate, and duration divides hours by team capacity. Retiring unused code is the cheapest remediation, which is why usage data matters more than almost any other input.

#### Reading the result

**Body:** Compare the total hours with your team capacity to see whether remediation fits the timeline. The sensitivity chart shows how steeply effort rises with findings; if you are uncertain about the share with findings, estimate at three levels. Treat the output as a range, not a promise. A finding in a simple report is quick, while one in a heavily used pricing or posting enhancement can take days and require business retesting.

#### Common mistakes

**Body:** The most expensive mistake is remediating code nobody uses. The next is ignoring modifications to SAP standard objects, which are harder than Z code and should be minimised. Teams also forget testing, regression and the fact that fixes for data model changes, such as the material number length or Business Partner, ripple across interfaces. Keep a buffer for items discovered late.

**Cta:** If you want an automated scan, usage analysis or an AI-assisted fix workflow on your own code, we can discuss options on private infrastructure. The estimator works without us.

**Faq:**

#### How do I find out which custom code is used?

**Answer:** Use usage collection tools such as the ABAP call monitor, or SAP usage and procedure logging, over a full business cycle including period and year-end. Objects with no calls in that window are candidates for retirement, after a business check.

#### What does ABAP Test Cockpit check for S/4HANA?

**Answer:** ATC can run S/4HANA readiness check variants that flag code affected by simplification items, such as changed or removed tables and function modules. Use the check variant that matches your target release and review the findings by category.

#### Can AI help with remediation?

**Answer:** It can speed up analysis and draft fixes for common patterns, but each change still needs review and testing by an ABAP developer. AI is more reliable on repetitive findings than on complex business logic. Treat savings as a range, not a given.

#### Why 120 productive hours per month?

**Answer:** It reflects typical effective development time after meetings, reviews, environment issues and leave. Adjust the team size input if your own measured productivity differs. The duration result scales directly with the team.

## Search terms

sap custom code remediation estimate, s4hana custom code migration effort, abap code remediation calculator, sap z object cleanup s4hana, atc s4hana readiness checks effort, custom code analysis s4hana

---
Talk to an engineer: https://netray.co/contact?intent=erp_ai | Machine catalog: https://netray.co/agent/catalog.json
