05-28-2004 3:03 PM
When calling a method of my class i receive the error messoge mentioned above. does anybody know what it means?
06-01-2004 12:31 PM
Actually this is a fairly generic exception. CX_SY_NO_HANDLER is raised when there has been a system exception but there is nothing registered to handle it. This is sort of a catch all for exceptions. You might want a try ... catch around your method call and at least catch this exception. You then might be able to receive more details about what exception is being thrown.
06-01-2004 1:48 PM
i found out that the message doesn occur because i passed an internal table 'WITH HEADER LINE' to the method.
does this mean that passing an internal table defined 'with header line' is generally forbidden within the OO context???
06-01-2004 1:52 PM
06-01-2004 2:00 PM
Hello Tobias,
in ABAP Objects You should allways define typed data:
In your special case:
data: lt_itab type standard table of xxx_type ...
data: lt_itab type hashed table of xxx_type ...
data: lt_itab type sorted table of xxx_type ...
data: lt_itab type any table ...
Don't use the occurs statement anymore.
You will find a sample definition in the report I have sent You.
BR Michael