SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Release-Specific Changes → Changes in Release 6.40 →
Object Creation in Release 6.40
1. Reference to a type description object in CREATE DATA
2. Any reference type in CREATE DATA
3. Reference to a generic table type in CREATE DATA
Reference to a type description object in CREATE DATA
With the new addition of HANDLE to the CREATE DATA statement, you can refer to RTTS type description objects during the creation of data objects.
From Release 6.40, the RTTS classes contain methods for creating type description objects independently of existing types (refer to
Runtime Type Services for Release 6.40). Together with
the addition HANDLE, this allows the dynamic construction of any type of data objects for the program runtime.
Any reference type in CREATE DATA
In the statement
CREATE DATA dref TYPE REF TO (name).
you can now also enter a data type in name. Previously, it was only possible to enter classes and interfaces.
Note
This change was also transported to Release 6.20.
Reference to a generic table type in CREATE DATA
Previously, in CREATE DATA - TYPE, you could only enter non-generic table types. As of Release 6.40, table types with generic keys can also be entered. In this case, a new linked table type with a standard key is created and used.