Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Submit report => raise exception class

Hello experst,

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?

Former Member
Not what you were looking for? View more on this topic or Ask a question