2023 Aug 11 1:58 PM
Hi All,
iam getting the error while executing the program can anyone will help me out from this situtation
the error was
An attempt was made to pass formal parameter "P_NAME" of method "DESCRIBE_BY_NAME" of class "CL_ABAP_TYPEDESCR" to an actual parameter that does not have either type C or STRING at runtime. Parameter "P_NAME" is typed with ANY, meaning that both character fields and strings can be passed. Since there is no special generic type for types C and STRING yet however, this check will not be performed until runtime. how to resolve this issue
2023 Aug 11 2:05 PM
Maybe it would be good to see the code where the dump happens...
2023 Aug 11 2:06 PM
P_NAME is an exporting parameter, meaning the type comes from your own code (not shown above).
TABNAME is as good a type as anything else to use
2023 Aug 11 2:52 PM
The message is exceptionally very clear to me, what do you understand and what don't you understand?