# Guides: AI coding assistants and SAP ABAP

Practical guides on getting AI coding assistants to write ABAP that activates and behaves. Every ABAP fact is checked against SAP's ABAP Keyword Documentation, the Clean ABAP styleguide or the tools' own documentation.

- [ABAP mistakes AI coding assistants make, and how to prevent them](https://abapforagents.com/guides/ai-abap-mistakes/) ([Markdown](https://abapforagents.com/guides/ai-abap-mistakes/index.md)): The pillar guide. Nine repeat mistakes, why models make them, and the rule or code pattern that prevents each one.
- [FOR ALL ENTRIES with an empty table: the trap and the fix](https://abapforagents.com/guides/for-all-entries-empty-table/) ([Markdown](https://abapforagents.com/guides/for-all-entries-empty-table/index.md)): Why an empty driver table reads the whole database table, the one-line guard, the silent duplicate-row trap, and the alternatives.
- [Cursor rules for SAP ABAP: a setup guide](https://abapforagents.com/guides/cursor-rules-sap-abap/) ([Markdown](https://abapforagents.com/guides/cursor-rules-sap-abap/index.md)): Project rules in .cursor/rules for ABAP: rule types, glob patterns for abapGit and ADT files, an always-on core rule and a quick test.
- [Using Claude Code and AGENTS.md with SAP ABAP](https://abapforagents.com/guides/claude-code-agents-md-abap/) ([Markdown](https://abapforagents.com/guides/claude-code-agents-md-abap/index.md)): One AGENTS.md for every agent, a CLAUDE.md that imports it, an on-demand review skill, and how to check that Claude Code loaded them.
- [GitHub Copilot custom instructions for ABAP](https://abapforagents.com/guides/github-copilot-instructions-abap/) ([Markdown](https://abapforagents.com/guides/github-copilot-instructions-abap/index.md)): copilot-instructions.md for the core rules, applyTo-scoped instruction files for ABAP sources, a review prompt file, and where each one works.
- [Column totals in a Fiori Elements List Report with RAP and CDS](https://abapforagents.com/guides/fiori-list-report-column-totals-rap/) ([Markdown](https://abapforagents.com/guides/fiori-list-report-column-totals-rap/index.md)): How to get a totals row in an OData V4 List Report from RAP: the two CDS annotations, currencies and units, the table type, and what to check when the sum doesn't show.

Free lite rules (MIT): https://github.com/abapforagents/abap-for-agents-lite
