ITAB_ACTIVE_KEY_VIOLATION is an ABAP runtime error which you may come across when using or developing within an SAP system. See below for the standard details explaining what it means and how you can avoid or fix this runtime error.
Short Dump Classification: A - ABAP Programming Error
You can view further information about a runtme error by using transaction code ST22 which will show you this and all runtime erros that have happen in your SAP system.
Also check out the Comments section below to view or add related contributions and example screen shots.
Please see program correction for more details about the possible cause of this runtime error and how it could be avoided.
Please see search hints for more details about the possible cause of this runtime error and how it could be avoided.
Please see send to sap for more details about the possible cause of this runtime error and how it could be avoided.
Invalid change made to a component of an active table key
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
An attempt was made to change one or more components of an active table
key of an internal table while executing a write operation. The
components of the active table keys are protected against being changed
however.
Active table keys are:
(1) The primary key if the table is of type SORTED or HASHED
(2) All secondary table keys which at the point of termination were
used in a "LOOP ... USING KEY ..." statement over the table.
Table affected:
<runtime parameter>-NAME
Violated table key(s):
<runtime parameter>
Violated key component:
<runtime parameter>
This error can occur in the situations described below. In this case,
(<runtime parameter>) occurred:
(a) An attempt was made to use the COLLECT statement on a table with
secondary keys. When totalling the numeric columns, a component of an
active table key was affected.
(b) In the "READ TABLE ... INTO
(c) In the "MODIFY ... FROM wa [TRANSPORTING ...]" statement, an
attempt was made to change one or more components of an active table
key of the target table by the value to be transported from the source
work area.
(d) With the MOVE-CORRRESPONDING statement, an attempt was made to
overwrite at least one component of the active table key of the target
table.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.