CRITICAL Effort: XL — Extra Large (2+ weeks) Clean Core

How to remediate: SAP core modification (includes Z-copy)

Direct modification of SAP standard repository objects or Z-copies of standard programs.

Is this issue in your codebase?

A1 scans all 30 rules across your custom ABAP — results in minutes.

Scan your codebase free →

What changes in S/4HANA

Core modifications are not supported in S/4HANA Public Cloud. On-prem upgrades reset modifications.

Before and after: ABAP code example

Before (ECC)
* ECC: Z-copy of SAP standard (e.g., copied MF45AFVB)
FUNCTION zmf45afvb_modified.
  " SAP standard code + custom additions
  " This will be overwritten on every SAP upgrade
ENDFUNCTION.
After (S/4HANA)
* S/4HANA: extension via released BAdI or Substitution
* Identify the BAdI replacing the modified standard spot:
*   SE18 > search by package of original FM
* Implement as BAdI enhancement:
CLASS zcl_sales_doc_save DEFINITION PUBLIC CREATE PUBLIC.
  PUBLIC SECTION.
    INTERFACES if_ex_v45a_badi.
  PROTECTED SECTION.
  PRIVATE SECTION.
ENDCLASS.

Effort estimate and common pitfalls

Effort estimate

XL — Extra Large (2+ weeks)

Estimate is per affected object. Total effort scales with the number of occurrences in your codebase. Use the A1 scan to get an object-level count before estimating the full project.

Common pitfalls

  • ! Architectural dependencies that require multiple teams
  • ! Data migration requirements alongside code changes
  • ! Extended regression and integration test cycles
  • ! Potential need for parallel run before cutover

Related rules to check

Find every instance of this issue in your codebase

The A1 scanner checks all 30 compatibility rules — including SAP core modification (includes Z-copy) — across your custom ABAP objects and produces a prioritised remediation backlog.

Scan your codebase for this issue free →

SAP, S/4HANA and ABAP are trademarks of SAP SE. s4ready.ai is an independent solution and is not affiliated with, endorsed by, or sponsored by SAP SE.