AMDP (ABAP Managed Database Procedure)AMDP
What it is
An ABAP method whose body is SQLScript executed directly in HANA, managed by the ABAP layer. Used for set-based logic too complex for CDS but that you still want pushed down to the database.
Why it matters for Clean Core
AMDP is the escape hatch for heavy data crunching that should run in HANA, not in ABAP loops — the code-pushdown principle when CDS isn't enough. Released AMDP-friendly APIs keep this Clean-Core-compatible.
Common pitfall
Reaching for AMDP first. CDS handles most pushdown; AMDP is for genuinely procedural set logic. And AMDP couples you to HANA SQLScript — use it deliberately, not as a habit for every report.