How to remediate: Hardcoded client/system fields
Hardcoded MANDT, client numbers, or system IDs. Breaks in multi-client and cloud scenarios.
Is this issue in your codebase?
A1 scans all 30 rules across your custom ABAP — results in minutes.
What changes in S/4HANA
S/4HANA Public Cloud enforces single-client. Hardcoded clients cause runtime errors.
Before and after: ABAP code example
* ECC: hardcoded client — breaks in cloud/multi-client
SELECT * FROM t001
WHERE mandt = '100'. " hardcoded client * S/4HANA: use SY-MANDT or omit client (implicit)
SELECT bukrs, butxt
FROM t001
INTO TABLE @DATA(lt_t001). " client handled by ABAP SQL 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
- ! Forgetting to update all occurrences in the same program
- ! Not running ATC after the change to confirm the finding is resolved
Related rules to check
ABAP Cloud restricted object access
Access to SAP internal objects without C1 release status. These are blocked in ABAP Cloud.
MODIFY on SAP standard tables
Direct INSERT/UPDATE/MODIFY/DELETE on SAP standard tables bypasses business logic and breaks upgrade stability.
Missing AUTHORITY-CHECK
Programs reading/writing sensitive data without AUTHORITY-CHECK statements.
Find every instance of this issue in your codebase
The A1 scanner checks all 30 compatibility rules — including Hardcoded client/system fields — 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.