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.51
Other versions:Conditions for the Strict Mode
The strict mode of the syntax check in Release 7.51 applies to all ABAP SQL statements that use one of the following attributes introduced in Release 7.51:
- Statement
WITH
- Cross join in the
SELECTstatement
- Use of new SQL functions:
- Numeric function
DIVISION
- Date functions
DATS_IS_VALID,DATS_DAYS_BETWEEN,DATS_ADD_DAYSandDATS_ADD_MONTHS
- Use of the addition EXTENDED
RESULT in the
INTOclause
- Inline declaration
for
dbcurin the statementOPEN CURSOR
Rules for the Strict Mode
The strict mode in Release 7.51 covers all rules of the strict mode in Release 7.50, plus the following rules:
- Only the data types
b,s,i, andint8are allowed for the operandnafter the additionsUP TOandPACKAGE SIZEof the statementSELECTA literal or a constant cannot have the value 0 here.
- In the statement
OPEN CURSORtoo, the additions grouped underadditional_optionsmust be specified at the end of theSELECTstatement.
- The syntax of one of the database
hints specified after
%_HINTSis checked (if possible).
- If it is not possible to make a lossless read on a host constant, a syntax error occurs.