SAP NEWS-70-TABELLEN



Get Example source ABAP code based on a different SAP table
  



Internal Tables in ABAP Release 7.0
In ABAP_RELEASE 7.0, additional functions in internal tables have been introduced as follows:
ITOC

ABAP_MODIFICATION_NN 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 (familiar from the statement ASSIGN) to cast a table line to the type of the field symbol.

ABAP_MODIFICATION_NN Sort Key Specified Dynamically in SORT

In the statement SORT itab, the sort key, sort direction, and the text sorting can be specified in a new variant of the addition BY in a special internal table otab of type ABAP_SORTORDER_TAB.

ABAP_MODIFICATION_NN Optimization when Specifying a WHERE Condition

Until now, the optimized table reads performed when specifying an initial segment of the table key (using equality queries joined using AND) in cases where a WHERE condition was specified in the statements LOOP , DELETE, and MODIFY were only optimized for sorted tables. From ABAP_RELEASE 7.0, this is done for hashed tables too. In hashed tables, however, the entire table key must be specified for the optimization to take place.