Report ZMM_TRY_CATCH.
DATA : lv_sonuc TYPE i.
DATA : gx_root TYPE REF TO cx_root.
DATA : gv_hata TYPE String.
TRY.
    lv_sonuc = 3 / 0.
 CATCH  cx_sy_zerodivide into gx_root.
    gv_hata = gx_root->get_text( ).
    MESSAGE i499(sy) WITH gv_hata.
ENDTRY.
 
 
Serkan AKKAVAK
Bilgisayar Mühendisi
serkurumsal@yandex.com