ABAP Keyword Documentation → ABAP - Release-Specific Changes → Changes in Releases 7.5x → Changes in Release 7.53
Type Checks in Release 7.53
1. Checks on common data areas
3. Checks on literals as actual parameters
Other versions:
7.31 | 7.40 | 7.54
Modification 1
Checks on Common Data Areas
Obsolete common data areas with the same name and defined using COMMON PART
must have identical layouts.
-
Common data areas are now viewed as structures whose
structure fragment
view must be identical and whose deep components must be compatible (pairwise). If not, the runtime error
LOAD_COMMON_PART_STRUCT
occurs. -
In common data areas it is now no longer possible to declare
object reference variables with the static type of program-local classes and interfaces, nor is it possible to declare
data reference variables with the static type of program-local structured types.
Modification 2
Checks on STRUCTURE Typing
In obsolete STRUCTURE
typing of formal parameters and field symbols, one assigned data object must be at least as long as the structure in question. Typing checks now respect the
alignment gaps at the end of the data object and the structure.
Modification 3
Checks on Literals as Actual Parameters
The value of a literal passed to a procedure must not be modified in the procedure. In certain cases this was, however, possible, namely when
literals as actual parameters were passed to differently
typed CHANGING
parameters of subroutines. This is now prevented by stricter checks and always produces a runtime error.