Skip to content

ABAP Keyword Documentation →  ABAP - Release-Specific Changes →  Changes in Releases 6.xx →  Changes in Release 6.40 

Creating Objects 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

Other versions: 7.31 | 7.40 | 7.54

Modification 1

Reference to a Type Description Object in CREATE DATA

The new addition HANDLE of the statement CREATE DATA makes it possible to reference RTTS type description objects when data objects are created.

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.

Modification 2

Any Reference Type in CREATE DATA

In the statement

CREATE DATA dref TYPE REF TO (name).

it is now also possible to specify a data type in name. Previously, it was only possible to specify classes and interfaces.


Note

This change was also transported to Release 6.20.

Modification 3

Reference to a Generic Table Type in CREATE DATA

Previously, only non-generic table types could be specified in CREATE DATA - TYPE. As of Release 6.40, table types with generic keys can also be specified. In this case, a new linked table type with a standard key is created and used.