Ansicht
Dokumentation

ABENABAP_SQL_STRICTMODE_740_SP05 - ABAP SQL STRICTMODE 740 SP05

ABENABAP_SQL_STRICTMODE_740_SP05 - ABAP SQL STRICTMODE 740 SP05

Fill RESBD Structure from EBP Component Structure   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

- Strict Mode in Release 7.40, SP05

Conditions for the Strict Mode

The strict mode of the syntax check in Release 7.40, SP05 applies to all statements that use one of the following features introduced in Release 7.40 SP05:

  • Lists of operands as comma-separated lists
  • SQL expressions except for columns specified individually or aggregate expressions specified individually.
  • ON conditions without a column from a DDIC database table or DDIC view specified on the right side as an operand.

  • Multiple consecutive joins where a join expression and not a database table or view is on the right side of a join expression.

  • Use of RIGHT OUTER JOIN

  • Fields from the right side specified in LEFT OUTER JOIN or from the left side in RIGHT OUTER JOIN in the WHERE condition.

Rules for the Strict Mode

The strict mode of the syntax in Release 7.40, SP05 checks whether the following additional rules are followed:

  • Any errors that would normally be reported as syntax warnings are reported as syntax errors.
  • All lists of operands must be comma-separated lists. This affects the following:

  • In the statement UPDATE, change expressions specified after SET.

  • If an explicit comma-separated list is specified without the addition DISTINCT in the SELECT list, all columns of the result set defined here must exist as identically named components in a structure or table specified after INTO CORRESPONDING FIELDS.
  • The addition CLIENT SPECIFIED can only be used for client-dependent DDIC database tables or DDIC views.
  • If the addition FOR ALL ENTRIES is used, no database fields of the built-in types STRING, RAWSTRING, and GEOM_EWKB plus LCHR and LRAW can occur in the SELECT list.
  • If DDIC database views that contain the same number of key fields and view fields are accessed in a dynamic FROM clause combined with the addition ORDER BY PRIMARY KEY, the exception CX_SY_DYNAMIC_OSQL_SEMANTICS is raised.
  • Blanks behind literals and blanks after opening or before closing brackets cannot be omitted in conditions sql_cond.

Comma-separated lists of operands and the escape character @ can only be used in programs in which the program attribute fixed point arithmetic is activated.






Addresses (Business Address Services)   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 6255 Date: 20240419 Time: 170019     sap01-206 ( 66 ms )