ITAB_ILLEGAL_SORT_ORDER 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 abap error for more details about the possible cause of this runtime error and how it could be avoided.
If you use statement "INSERT ... INTO TABLE ..." to insert a new row,
the row is automatically inserted at the right position.
To change a row, you should use statement "MODIFY TABLE ... FROM ...".
The row the specified table key is then changed.
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.
Error while inserting or changing rows in a sorted table
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 inset or change a row in internal table (type
SORTED_TABLE) <runtime parameter> at position <runtime parameter>. This corrupted the sort sequence
defined for the table by its key.
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.