What is different about modern ABAP SQL compared with the classic Open SQL you learned first, and what does strict mode mean?
Say your answer out loud first.
Practise another way
Modern ABAP SQL is the same statement family, but written in a stricter, more declarative form. Host variables get an @ escape, lists are comma separated, the FROM clause comes first and INTO moves to the end, and I can declare targets inline with @DATA.
If a statement uses any newer feature, the compiler switches to a strict check mode for that release and rejects the old sloppy forms. In ABAP Cloud only the strict forms are available.
Classic Open SQL was forgiving: space-separated field lists, host variables without any marker, INTO right after the field list, and SELECT * into a work area.
What changed since release 7.40 SP05 and 7.50
- Host variables carry
@. The@tells the compiler that the name is an ABAP variable, not a column.@( expr )allows a full expression. - Comma-separated lists for fields, and
FIELDScan followFROM. INTOgoes last (required by the 7.50 strict mode), afterWHERE,GROUP BYandORDER BY.UP TO n ROWSfollows it.- Inline declaration:
INTO TABLE @DATA(result)creates the target with the right type, so no type drift when a field is added. - Expressions and functions in the field list,
CASE,COALESCE, string and date functions, and joins, subqueries and set operations that are checked at syntax time.
Strict mode: the keyword documentation describes release-dependent strict modes from 7.40 SP05 up to 7.58. They are cumulative and downward compatible.
The check runs in strict mode when a statement uses an element that is new in that release; comma lists and the @ escape are prerequisites for parsing the new constructs. Old forms then become syntax errors, not warnings. In ABAP for Cloud Development, only the modern forms exist at all.
DATA(max_rows) = 10.
SELECT carrid, carrname, currcode
FROM scarr
WHERE currcode = @( 'EUR' )
ORDER BY carrid
INTO TABLE @DATA(carriers)
UP TO @max_rows ROWS.
Why it matters in an interview: strict syntax lets the compiler and ATC catch mistakes (a column name clashing with a variable, missing escape) before runtime, and it is the form that works with CDS entities and ABAP Cloud.
I would also mention SELECT * into a structure is still legal but is the first thing I replace with an explicit field list when performance matters.
Names the concrete changes (@, comma lists, INTO last, inline @DATA), explains that strict mode is release based and cumulative, and links it to ABAP Cloud.
Says 'it is just Open SQL with @ added' and cannot say what strict mode is or why old forms stop compiling.
Calling Native SQL (EXEC SQL) 'Open SQL', or thinking strict mode is a setting you switch on. It switches itself on when you use a newer feature.
- Why does a host variable need @ at all?
- Which clause must INTO be in strict mode?
- What can you not do in ABAP Cloud that classic Open SQL allowed?
- How do you find old-style statements in a large codebase?
3 official pages and 3 prep guides. Confidence: high. Checked 21 Nov 2026.
- Official page Backs the answer.
- Official page Backs the answer.
- Official page Backs the answer.
- Prep guide Gives the question.
- Prep guide Gives the question.
- Prep guide Gives the question.