Internal tables in release 7.0
For release 7.0, the functions of internal tables have been enhanced
as follows:
1 Addition CASTING after ASSIGNING
2 Dynamic specification of the sort key in SORT
3 Optimization when specifying a WHERE condition
ABAP_MODIFICATION_1 Addition CASTING after ASSIGNING
In all statements for processing internal tables, in which the
addition ASSIGNING can
be specified for the output behavior, it is now also possible to use the
addition CASTING , which is familiar
from the statement ASSIGN ASSIGN , in order to cast a table row
to the type of the field symbol.
ABAP_MODIFICATION_2
Dynamic specification of the sort key in
SORT
In the statement SORT itab , the sort key,
sort direction, and the textual sorting can be specified in a new
variant of the addition BY in a specific internal table otab
of type ABAP_SORTORDER_TAB .
ABAP_MODIFICATION_3 Optimization when specifying a WHERE
condition
Until now, the optimization of table access when entering an opening
segment of the table key using consistency queries linked together with
AND was only possible for sorted
tables and was performed by specifying a WHERE condition in
the statements LOOP ,
DELETE and MODIFY . For
release 7.0, this is now also performed for
hashed tables . In hashed tables,
however, the whole table key must be specified for the optimization to
be effective.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved