Get Example source ABAP code based on a different SAP table
ARTICLE
Changing Individual Rows of Internal Tables You can change individual rows of internal tables as follows:
Using the MODIFY statement
By change access to field symbols that are assigned to individual table rows using the ASSIGNING addition to the statements APPEND, COLLECT, INSERT , LOOP AT itab, MODIFY itab, and READ TABLE
By dereferencing data references that indicate table rows using the REFERENCE INTO addition to the statements APPEND, COLLECT, INSERT , LOOP AT itab, MODIFY itab, and READ TABLE, and the subsequent change access to the assigned field symbol.
Note for Sorted Tables and Hashed Tables In all change accesses to individual rows of sorted tables and hashed tables, you must not change the content of the table key.