Layout

Module · clean-core-curriculum §3 · Modern ABAP

ABAP Language Modernization

Bring aging ABAP up to today's standard so it is cheaper to maintain and ready for the cloud. Covers the obsolete constructs to hunt and their modern replacements, inline declarations with modern Open SQL, the constructor operators worth memorizing, string templates, and the class-based exception hierarchy that Clean ABAP (SAP's official style guide) defaults to.

Learning objectives

  • Replace obsolete statements (MOVE, header lines, FORM/PERFORM, CONCATENATE) with modern equivalents.
  • Use inline declarations and modern Open SQL (comma field lists, @DATA).
  • Apply the constructor operators: VALUE, CORRESPONDING, COND, SWITCH, REDUCE, FILTER, FOR.
  • Format output with string templates.
  • Model errors with class-based exceptions (CX_STATIC_CHECK + IF_T100_MESSAGE).