SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Release-Specific Changes → Changes in Release 7.40 →
Internal Tables in Release 7.40
2. Predefined functions for internal tables
3. Explicit definition of an empty key
4. MOVE-CORRESPONDING for internal tables
5. Table sharing for boxed components
6. References in specified components
8. Expression for dynamic sorts
Table Expressions
The new table expressions permit reads to be performed on internal tables in operand positions.
Predefined Functions for Internal Tables
Explicit Definition of an Empty Key
The new addition EMPTY KEY
of the statements TYPES,
DATA, and so on can be used to define an
empty table key explicitly for standard tables. Without this addition, empty table keys occur only if the
standard key of a standard table does not contain any components suitable as key fields.
MOVE-CORRESPONDING for Internal Tables
This variant is not yet released and cannot be used.
From Release 7.40, the operands of the statement MOVE-CORRESPONDING can be internal tables, as well as structures. This has been enabled by a new
variant of this statement, which assigns
identically named components of internal tables row by row. The new addition EXPANDING
NESTED TABLES enables tabular components of structures to be resolved. The addition KEEPING TARGET LINES adds rows to target tables instead of overwriting them.
Table Sharing for Boxed Components
Until now there was no table sharing if the row types contained
boxed components. This restriction has now been lifted.
References in Dynamically Specified Components
Object component selectors can now be specified when
components are specified dynamically (this was not
previously the case). However, those specifications can be made that are statically possible. For example,
when using ASSIGN attributes cannot be accessed that are not known statically. This is the case, for example, when using superclass references to access subclass components.
WHERE Condition Optimized
The rules described under Optimization of the WHERE Condition have been modified as follows:
Expression for Dynamic Sorts
In the statement SORT itab, the table (otab) can now be specified for dynamic sorts as the result of an expression or functional method call.