CALL_METHOD_ILLEGAL_CODE 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.
Please see illegal code for more details about the possible cause of this runtime error and how it could be avoided.
Invalid ID...........: <runtime parameter>.
Internal error when calling a method
Please see internal error for more details about the possible cause of this runtime error and how it could be avoided.
Please see illegal code for more details about the possible cause of this runtime error and how it could be avoided.
When trying to call the method or to return from within the method,
invalid processing blocks have been detected.
Please see internal error for more details about the possible cause of this runtime error and how it could be avoided.
CALL_METHOD_ILLEGAL_CODE - call method illegal code CALL_METHOD_CONFLICT_TYPE - call method conflict type CALL_METHOD_CONFLICT_TAB_TYPE - call method conflict tab type CALL_METHOD_CONFLICT_GEN_TYPE - call method conflict gen type CALL_FUNCTION_WRONG_VALUE_LENG - call function wrong value leng CALL_FUNCTION_WRONG_ALIGNMENT - call function wrong alignment