SAP NEWS-640-CREATE



Get Example source ABAP code based on a different SAP table
  



Creating Objects in ABAP Release 6.40
ITOC

ABAP_MODIFICATION_NN 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 ABAP_RELEASE 6.40, the RTTS classes contain methods for creating type description objects independently of existing types (refer to Runtime Type Services for ABAP_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_NN 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.



Latest notes:

This change was also transported to ABAP_RELEASE 6.20.
ABAP_HINT_END

ABAP_MODIFICATION_NN Reference to a Generic Table Type in CREATE DATA

Previously, only non-generic table types could be specified in CREATE DATA - TYPE. As of ABAP_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.