Ansicht
Dokumentation

ABENOPENSQL_STRICT_MODE_740_SP05 - OPENSQL STRICT MODE 740 SP05

ABENOPENSQL_STRICT_MODE_740_SP05 - OPENSQL STRICT MODE 740 SP05

Addresses (Business Address Services)   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:

  • Listings 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-specific 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 with 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.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 6254 Date: 20240425 Time: 062039     sap01-206 ( 73 ms )