KMETH_INVALID_ACCESS_TYPE 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.
Using program RSKMETH, you can find information about all registered
kernel methods.
Argument <runtime parameter> was accessed using an incorrect access macro. ARGUMENT_<runtime parameter>
was used. ARGUMENT_<runtime parameter> should be used however.
Access to argument with a different type than 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, an attempt was made to
reference an argument using the wrong type.
An attempt was made in a kernel method to access an argument with an
incorrect type. An attempt was made to access argument <runtime parameter> using an
incorrect type. The argument was registered with <runtime parameter> but <runtime parameter> was used
for the access.