KMETH_INVALID_STRUCTURE_CTYPE 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.
You can use the program RSKMETH to retrieve information about
all registered kernel methods.
The argument <runtime parameter> was accessed using a wrong C type. <runtime parameter> was used,
but <runtime parameter> should have been used instead.
Access to argument with C type other than that used during registration
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
In the C implementation of the kernel method, access macros were
used to try to reference an argument with a wrong C type.
Within a kernel method, the system has tried to access an argument
with a wrong C type. The system has attempted to access the argument
with the name <runtime parameter> using a wrong C type. The argument was registered
with C type <runtime parameter> but was accessed with the C type <runtime parameter>.
KMETH_INVALID_STRUCTURE_CTYPE - kmeth invalid structure ctype KMETH_INVALID_LENGTH_DECIMALS - kmeth invalid length decimals KMETH_INVALID_CTYPE_LENG - kmeth invalid ctype leng KMETH_INVALID_ARGUMENT_NAME - kmeth invalid argument name KMETH_INVALID_ARGUMENT_ID - kmeth invalid argument id KMETH_INVALID_ACCESS_TYPE - kmeth invalid access type