ABAP Keyword Documentation → ABAP − Reference → Processing External Data → ABAP Database Access → ABAP SQL → ABAP SQL - Overview → ABAP SQL - Release-Dependent Syntax Check Modes
Strict Mode in Release 7.54
Other versions:Conditions for the Strict Mode
The strict mode of the syntax check in Release 7.54 applies to all ABAP SQL statements that use one of the following attributes introduced in Release 7.54:
- Use of the additions
NEWorINDICATORSin theINTOclause.
- Use of the new data types from ABAP Dictionary
in a
CASTexpression or after the additionASof the aggregate functionAVG.
- Use of the additions
USING [ALL] CLIENTS [IN]in queries or in write statements.
- Use of aggregate expressions as operands of SQL expressions
- Definition of
CTE associations by specifying
JOIN TO ONE|MANYin the additionWITH ASSOCIATIONSwhen defining common table expressions.
- Use of window expressions.
- Use of the built-in function
UUID.
- Use of the aggregate function
STRING_AGG.
- Use of the aggregate function
COUNT( sql_exp )without the additionDISTINCT.
- Use of the hierarchy navigators
HIERARCHY_DESCENDANTS_AGGREGATEandHIERARCHY_ANCESTORS_AGGREGATE.
- Evaluation of value tuples in a relational expression using the operator
IN.
Rules for the Strict Mode
The strict mode in Release 7.54 covers all rules of the strict mode in Release 7.53, plus the following rules:
- An alias name defined using
ASfor columns of the results set in aSELECTlist or for data sources in theFROMclause must comply with the naming conventions for internal program names and the nametable_linecannot be used. More specifically, an alias name cannot contain a minus character (-).
- If strict mode is applied to the statement
FETCH, it is also applied to the associated statement OPEN CURSOR. If the rules are broken inOPEN CURSOR, an exception of the class CX_SY_DYNAMIC_OSQL_SEMANTICS is raised.
- The obsolete use of the addition CLIENT
SPECIFIED is forbidden in the statement
SELECTin queries and subqueries.
- The obsolete use of the addition
CLIENT SPECIFIEDin write statements is forbidden.