Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2079

Re: catch exception when dividing zero

$
0
0

Hi Ming,

 

View the code.

 

DATA lv_val TYPE P.

 

 

CATCH SYSTEM-EXCEPTIONS conversion_errors = 1

                                                   arithmetic_errors   = 5.

lv_val   = 100 / 0.

ENDCATCH.


Hope it helpful.


Regards,

Venkat.


Viewing all articles
Browse latest Browse all 2079

Trending Articles