ABAP Code Doctor: preview, apply, undo and verify
A private guided-fix workflow built on Advanced+ findings. Inspect the triggering source, review a versioned diff, choose an edit and verify it without executing a live SAP system.
A private guided-fix workflow built on Advanced+ findings. Inspect the triggering source, review a versioned diff, choose an edit and verify it without executing a live SAP system.
Free: 2 preview cases/month, 500 lines, one sample diff. Pro: 25 full cases and 10 optional AI briefs/month. Teams: 50 full cases and 15 briefs/month per user. Administrators have uncapped monthly allowances, with operational safeguards.
Access (Guest / Free / Pro / Teams): signin / limited / full / full. full = Included; limited = Limited; signin = Sign-in required; no = Not included; soon = Coming Soon.
Steps
- Open your code in ABAP Editor, then choose Code Doctor beside Review in the editor toolbar or beside Code Review in the results tabs. You do not need to execute the program or buy a review first. Sign in and choose Find repairs in current code. A case is charged only after its first successful persisted scan; failed worker jobs do not consume cases.
- Select a source-linked finding. Read its evidence, confidence, impact and verification steps. Advisory-only findings do not offer an automatic fix; they require SAP or business context.
- Review the entire proposed diff and explicitly confirm before Apply. A READ TABLE guard deliberately leaves the missing-row decision to you; define whether to clear, skip, warn or raise an error.
- Paid accounts can undo the most recent source edit, then re-check. Ten re-checks belong to the same case during its first 24 hours; re-checking compares original and current findings without execution or review credits.
- Open your private 30-day paid history to inspect a case. Opening a case never replaces the editor automatically. Loading its snapshot needs confirmation; deleting a case erases its private contents but does not refund successful-case usage.
- Optional AI analyzes up to six bounded, anonymized code fragments: behavior, technical risks, concrete corrections, tests and missing context—not detector validity. The Analyze action sends fragments without an extra approval. Names become stable aliases; comments and literal text are removed, and numeric values other than 0 and 1 are masked. Code structure remains visible; anonymization cannot guarantee removing all sensitive information. Unsupported or unsafe-to-anonymize cases trigger no AI call or charge. Suggestions never edit code automatically. Failed requests consume no successful AI allowance; replacing an older explanation does not charge twice.
- Export the applied changes as a .diff file and test them against your target system and real requirements. Static re-check success is not a business-correctness guarantee or production approval.
Good to know
- Seven curated templates cover a narrow READ TABLE guard, simple MOVE/COMPUTE/ADD/SUBTRACT modernization and two whitespace-only transformations. BAPIs, SELECT-in-LOOP redesign and S/4HANA migrations remain advisory.
- Code Doctor uses separate case and AI allowances, never execution credits, FSD/TSD designs or Diagnostic Reports. Reopening an active identical-source case, viewing a diff and undoing consume no new case.
Limits
- Paid input: 4,000 lines and 80,000 characters. Up to five generated patch previews total per case. Free previews have no apply, undo, re-check, AI, export or history; their temporary result cache lasts 24 hours.
- Cases reset monthly in UTC without rollover. Source, snapshots and findings expire from paid history after 30 days; usage ledgers retain only metering metadata. AI has token, timeout, concurrency, daily-cost and administrative kill-switch safeguards.
Troubleshooting
- Source changed? Re-check before applying. Another tab changed the case? Reopen it. Incomplete syntax coverage? Doctor keeps advisory findings but withholds automatic patches. No proposal? The source may not match any narrowly supported template.
Open Code Doctor in the workbench Open ABAP Editor in the workbench
Read the complete user guide