Submit report => raise exception class
i have to call a report from one of my programs. In this report it can happen that an error occors. So there i call
RAISE EXCEPTION TYPE zcx_exceptionmng EXPORTING t100_msgid = 'QY' t100_msgno = '051'.
The code of the calling program looks like this:
try. submit z_test and return with p_backgr = 'X' with p_lot = '12312' catch zcx_exceptionmng into oref. endtry.
I wonder because the catch doens´t work. I get a system dump UNCAUGHT_EXCEPTION.
What´s my mistake?