ENHS: catch exception

This commit is contained in:
larshp 2016-10-30 07:38:13 +00:00
parent 47e91752fe
commit 48d83fe675

View File

@ -30,8 +30,12 @@ CLASS lcl_object_enhs IMPLEMENTATION.
lv_spot_name = ms_item-obj_name. lv_spot_name = ms_item-obj_name.
TRY.
li_spot_ref = cl_enh_factory=>get_enhancement_spot( lv_spot_name ). li_spot_ref = cl_enh_factory=>get_enhancement_spot( lv_spot_name ).
li_spot_ref->get_attributes( IMPORTING changedby = rv_user ). li_spot_ref->get_attributes( IMPORTING changedby = rv_user ).
CATCH cx_enh_root.
rv_user = c_user_unknown.
ENDTRY.
ENDMETHOD. ENDMETHOD.