SAP MODIFY TABLE KEYS

Get Example source ABAP code based on a different SAP table
  


ABAP Code Snippet The key fields of the primary table key of sorted tables and hashed tables are read-only and must not be modified. This would invalidate internal table administration. Attempts to do this generally raise an unhandleable exception.
The key fields of a secondary table key, however, are only read-only while the secondary table is being used. This is the case in LOOP loops and during the use of the MODIFY statement, in which the secondary key is specified after USING KEY . Otherwise the key fields are not read-only.