SAP NEWS-756-ITAB



Get Example source ABAP code based on a different SAP table
  



Internal Tables in ABAP Release 7.56
ITOC

ABAP_MODIFICATION_NN Access to Generically Typed Internal Tables

Earlier, in statements for accessing internal tables , the internal table had to be known statically. The operand had to be typed at least with any table.
Now, this restriction is partly removed. In the statements INSERT, APPEND, COLLECT, MODIFY , DELETE, READ , LOOP, and SORT, operands can be field symbols and formal parameters that are typed fully generically with TYPE data or TYPE any. Such operands can be used as if typed with any table. If an index access is involved, operands are still required that are typed at least with TYPE index_table .



Latest notes:

This is not yet possible in expressions as FOR expressions or table expressions.
ABAP_HINT_END



Example ABAP Coding

The following was not possible in older releases.
ABEXA 01595
ABAP_EXAMPLE_END

ABAP_MODIFICATION_NN Alias Names for Secondary Keys

Alias names can now be declared for secondary keys of internal tables by using the addition ALIAS of TYPES and DATA. This can be helpful when changing existing secondary keys without invalidating users.