Skip to main content

Code Pushdown Basics

IntermediatePerformance Optimization⏱ 20 min

Task

Push calculation logic to the database using Open SQL aggregates instead of ABAP loops.

Write Your ABAP Code

ABAP Editor
Loading...
📥 Sample Input & Output
Table rows: 120
Result: Count = 120
💡 Hint

Use SQL functions like COUNT and SUM.

✅ View Reference Solution
SELECT COUNT( * )
  INTO @lv_count
  FROM mara.