STACK_STATE_ILLEGAL_MODE 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: I - Internal Kernel 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.
First empty the database buffers and then regenerate the programs
concerned.
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 mode <runtime parameter> occurred when processing the state stack.
Please see internal error for more details about the possible cause of this runtime error and how it could be avoided.
Internal error in the ABAP/4 processor.
Please see internal error for more details about the possible cause of this runtime error and how it could be avoided.
STACK_STATE_ILLEGAL_MODE - stack state illegal mode STACK_RPERF_POPSTATE_ERROR - stack rperf popstate error STACK_NO_ROLL_MEMORY - stack no roll memory STACK_JSTCK_ILLEGAL_CODE - stack jstck illegal code STACK_JENDF_POPSTATE_ERROR - stack jendf popstate error STACK_INDEX_WRONG_STATE - stack index wrong state