ABAP - Keyword Documentation →  ABAP - ABAP Release News →  News for ABAP Release 7.40 and its SPs →  News for ABAP Release 7.40, SP02 → 
Mail Feedback

Internal Tables in ABAP Release 7.40, SP02


1. Table Expressions

2. Built-In Functions for Internal Tables

3. Explicit Definition of an Empty Key

4. Table Sharing for Boxed Components

5. References in Dynamically Specified Components

6. Optimization of the WHERE Condition

7. Expression for Dynamic Sorts



Modification 1  

Table Expressions

The new table expressions allow reads to be performed on internal tables in operand positions.



Modification 2  

Built-In Functions for Internal Tables

The following functions were introduced:





Modification 3  

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.



Modification 4  

Table Sharing for Boxed Components

Until now there was no table sharing if the line types contained boxed components. This restriction has now been lifted.



Modification 5  

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.



Modification 6  

Optimization of the WHERE Condition

The rules described under Optimization of the WHERE Condition have been modified as follows:





Modification 7  

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.