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
SELECT
statement
- Use of new SQL functions:
- Numeric function
DIVISION
- Date functions
DATS_IS_VALID
,DATS_DAYS_BETWEEN
,DATS_ADD_DAYS
andDATS_ADD_MONTHS
- Use of the addition EXTENDED
RESULT in the
INTO
clause
- Inline declaration
for
dbcur
in 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
, andint8
are allowed for the operandn
after the additionsUP TO
andPACKAGE SIZE
of the statementSELECT
A literal or a constant cannot have the value 0 here.
- In the statement
OPEN CURSOR
too, the additions grouped underadditional_options
must be specified at the end of theSELECT
statement.
- The syntax of one of the database
hints specified after
%_HINTS
is checked (if possible).
- If it is not possible to make a lossless read on a host constant, a syntax error occurs.