Layout

Module · clean-core-curriculum §6 · Pushdown

CDS, AMDP & Code Pushdown

Get reports and heavy calculations to run far faster by letting the database do the work. This is where Clean Core meets HANA performance using CDS (SAP's modern data-modeling layer) and AMDP (database procedures written in ABAP): the pushdown ladder, CDS patterns that compress code, CDS table functions over AMDP, AMDP write paths, and CDS access control via DCL. Push logic down to the database in the most declarative form that can express it.

Learning objectives

  • Order logic on the pushdown ladder: CDS → table function/AMDP → Open SQL → ABAP.
  • Write CDS views with aggregation, associations, and correct group by.
  • Build a CDS table function backed by AMDP with explicit client handling.
  • Express row-level authorization declaratively with DCL.