SAP NetWeaver AS ABAP Release 751, ©Copyright 2017 SAP AG. All rights reserved.
ABAP - Keyword Documentation → ABAP - Release-Specific Changes → Changes in Releases 7.5x → Changes in Release 7.50 →
Expressions and Functions in Release 7.50
1. Predicate expression for type inspection
2. Case distinction for type inspection
3. Enhanced type interference in constructor expressions
4. Object component selector after table expressions
5. System class for dynamic mapping of structures
Predicate Expression for Type Inspection
The new predicate expression IS INSTANCE OF can be used to detect the
dynamic type of an
object reference variable. This makes it possible to check the feasibility of a
down cast before it is executed.
Case Distinction for Type Inspection
The special statement CASE TYPE OF makes it possible to check the
dynamic type of an
object reference variable as a case distinction.
Enhanced Type Interference in Constructor Expressions
If the character # is specified for the result type, enhancements were made for the following constructor expressions:
Object Component Selector After Table Expressions
From Release 7.50, the object component selector -> can be specified directly after
table expressions that return a reference variable. This makes it possible to access components of the referenced object. An exception are table expressions whose
result is determined with the value operator VALUE.
System Class for Dynamic Mapping of Structures
The new system class CL_ABAP_CORRESPONDING makes it possible to specify dynamic mapping rules for the component-by-component assignment of structures and internal tables.