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.52
Other versions:Conditions for the Strict Mode
The strict mode of the syntax check in Release 7.52 applies to all ABAP SQL statements that use one of the following attributes introduced in Release 7.52:
- Use of
ONE TO MANYinLEFT OUTER JOIN
- Use of the addition FOR ALL
ENTRIES of statement
SELECTtogether with columns of the types STRING and RAWSTRING and also LCHR and LRAW in theSELECTlist in a strict mode.
- Internal table as the data source
data_sourceof a query
- The following occurs in path expressions:
- Associations are used whose target data sources are CDS table functions.
- Parameters are passed.
- The cardinality or the kind of the join expression are specified as attributes.
- Filter conditions are specified.
- CDS access control
is switched off by the addition
WITH PRIVILEGED ACCESS.
Rules for the Strict Mode
The strict mode in Release 7.52 covers all rules of the strict mode in Release 7.51, plus the following rules:
- A path expression as a
data source of a
FROMclause must have an alternative table name defined withAS.
- The addition
CLIENT SPECIFIEDcannot be specified for a data source specified using a path expression.
- When the addition
USING CLIENTis used in a query that accesses a CDS entity, this access is known statically, and CDS access control applies, a syntax error occurs.