Get Example source ABAP code based on a different SAP table
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
ABAP_MODIFICATION_1 Reference to a type description object inCREATE 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.
ABAP_MODIFICATION_2 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.
Latest notes:This change was also transported to Release 6.20.
ABAP_MODIFICATION_3 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.