‎2007 Oct 22 2:12 PM
Hi Experts,
How can we raise exception in the Report (for a select statement)and how can we handle it.
‎2007 Oct 22 2:15 PM
Hi
we define exceptions in Fun modules and Methods of a class
and we raise them when a error condition happens
Regards
Anji
‎2007 Oct 22 2:19 PM
‎2007 Oct 22 2:23 PM
Hi,
If you are using a FM in your program then that FM must have exceptions under the Exceptions tab in the FM in SE37.
Now you can use the RAISE command.
Hope it was useful.
Thanks,
Sandeep.
‎2007 Oct 22 2:24 PM
Hi,
One more thing....as far as I know....for a select statement check the sy-subrc value and if it is not 0, then display an error message.
Thanks,
Sandeep.