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

try...catch cx_root

Hi experets,

I'm updating a abap program written by others.

PERFORM  A
PERFORM  B
PERFORM  C
PERFORM  D

because of file format issue, the program end at "PERFORM C". I can find the red flag in xml messages monitor

so I updated this section as below:

try

PERFORM A

PERFORM B

PERFORM C

PERFORM D

catch cx_root into l_oref.

send a e m a i l to me

endtry.

After I execute this program, I get a email, but show "execute successfully" in xml messages monitor.

Now my question is how to keep red flag in xml messages monitor after send exception infomation to me

Please help me,and thanks.

replied

RESUME

or

catch CX_SY_ARITHMETIC_ERROR

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question