2008 Sep 09 12:48 PM
Hi,
i run i debug mode fm how i now if it end with exceptions?
Regards
2008 Sep 09 12:51 PM
Hi,
In debug mode check the value of SY-SUBRC.
if its not 0 then Exceptions occur.
hi,
it executes the RAISE EXCEPTION command.
regards,
Peter
2008 Sep 09 12:51 PM
Hi,
In debug mode check the value of SY-SUBRC.
if its not 0 then Exceptions occur.
2008 Sep 09 1:26 PM
Hi Sujit k. Pal ,
Thanks but how i see the exception ?
Regards
2008 Sep 09 1:56 PM
Hi Cosmo Kramer,
When you are calling Fm then In the program you will find the list of exception and their corresponding number.
Suppose the exception is DIVISION_BY_ZERO and exception number is 4.
Now when you are checking the value of sy-subrc in debug mode if the value of SY-SUBRC is 4 , it means the exception DIVISION_BY_ZERO has occured,if else then some other exception has occued according the value.
If 0 then no exception has occured.
Hope i have anwered your query.
regards,
sujit
2008 Sep 09 12:51 PM
2008 Sep 09 12:53 PM
hi,
check this in debugging mode.if the value of SY-SUBRC is not zero i.e it is 4 then exception occurs.
thanks.
rahul
2008 Sep 09 1:12 PM
Hi,
Check for the value of sy-subrc in debugging mode.
if it is non zero then an exception occurs.
Thanks
Rajesh
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |