Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

try...catch cx_root

Former Member
0 Likes
1,485

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
610

RESUME

or

catch CX_SY_ARITHMETIC_ERROR

1 REPLY 1
Read only

Former Member
0 Likes
611

RESUME

or

catch CX_SY_ARITHMETIC_ERROR