cancel
Showing results for 
Search instead for 
Did you mean: 

BODS: How to show status as error in SAP Data Service Management Console after exception is handled

0 Kudos
1,169

Below shows the script written in Catch Block(CAPTCH_EXCEPTION), that used to captured and handled exception, by sending out mail notification to support team.

Below image showed that batch job in row 1, with status = Success, in case, exception has been handled.

How can status of batch job execution show as "Error" (rather than "Success") in SAP Data Service Management Console, after exception is handled in catch block inside batch job?

It should show status "Error" (rather than "Succcess"), even after exception is handled, so that Admin that monitor on this web page, can easily know which batch job are failed.

Accepted Solutions (1)

Accepted Solutions (1)

former_member187605
Active Contributor
0 Kudos

Call raise_exception or raise_exception_ext built-in function as last statement in the catch script.

Answers (0)