Ansicht
Dokumentation

ABENABAP_SQL_STRICT_MODES - ABAP SQL STRICT MODES

ABENABAP_SQL_STRICT_MODES - ABAP SQL STRICT MODES

CPI1466 during Backup   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

- Release-Dependent Syntax Check Modes

In Release 7.40, SP02, a new SQL parser for was introduced that is used for both statically specified statements and for dynamic tokens, and which applies some rules more strictly than the previous parser. In Release 7.40, SP02, the new parser was used only for the statement SELECT and, from Release 7.40, SP05, for all statements. The corresponding syntax revisions can be found under the release-dependent changes for 7.40 SP02 and 7.40 SP05.

Alongside these general revisions, which apply to all statements, Release 7.40, SP05 also introduced syntax check modes known as strict modes, which check statements even more strictly if they use features introduced in the corresponding release.

Notes

  • The release-dependent strict modes are generally downward compatible, since they are applied only if an feature is used that was not present in previous releases.
  • The strict modes in later releases contain the rules from all preceding releases. More specifically, all strict modes demand, from Release 7.40, SP05, programs in which the program attribute fixed point arithmetic is activated.
  • The following reasons apply to release-dependent strict modes of the syntax check:
  • First, rules such as the use of comma-separated lists or the introduction of host variables with @ are a prerequisite for using new syntax constructs that cannot be parsed otherwise.

  • On the other hand, developers should be encouraged to always use the desired syntax. For these reasons, an statement that is enhanced with a new feature must adhere to the corresponding strict rule, even if the new feature used would not depend on it.






CPI1466 during Backup   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2310 Date: 20240329 Time: 061310     sap01-206 ( 47 ms )