In ABAP Objects a clean-up of the ABAP language has been carried out. As part of this language clean-up, stricter syntax checks are performed for constructs that were previously allowed, or obsolete statements are no longer allowed at all. The stricter syntax checks usually result in a syntax which should also be used outside of ABAP Objects but where the old versions cannot be forbidden for compatibility reasons.
The following sections list the areas with stricter syntax checks, arranged by topics. Examples show which language constructs can be used to replace the obsolete syntax.
Incorrect syntax
Type
definitions and data declarations
Assignments
Offset/Length specifications
Processing
character strings
Field symbols
Logical
expressions and control structures
Internal tables
Procedures
Data
clusters
Program calls
Database
accesses
Lists
Reporting
The stricter syntax applies to all statements in ABAP Objects.