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.
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
* 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. * 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
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
MODIFY on SAP standard tables
Direct INSERT/UPDATE/MODIFY/DELETE on SAP standard tables bypasses business logic and breaks upgrade stability.
Implicit enhancements on SAP standard
Implicit enhancement points inside SAP standard programs. These survive upgrades but hide dependencies.
ABAP Cloud restricted object access
Access to SAP internal objects without C1 release status. These are blocked in ABAP Cloud.
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.