anchor.diff:            lv_enh_shtext   TYPE string,
             ls_enh_badi     TYPE enh_badi_data,
             lt_enh_badi     TYPE enh_badi_data_it,
  -          li_cx           TYPE REF TO cx_root,
  +          lx_root         TYPE REF TO cx_root,
             lv_package      LIKE iv_package,
             li_spot_ref     TYPE REF TO if_enh_spot_tool,
  -          li_badidef_tool TYPE REF TO cl_enh_tool_badi_def.
  +          lo_badidef_tool TYPE REF TO cl_enh_tool_badi_def.
   
   
       lv_spot_name = ms_item-obj_name.
  
positive.code:             run_dark            = 'X' ).
          ENDIF.
          li_spot_ref->if_enh_object~unlock( ).
        CATCH cx_enh_root INTO li_cx.
          lv_message = `Error occured while deleting ENSC: ` && li_cx->get_text( ).
          _raise lv_message.
      ENDTRY.
  
  
negative.code:   METHOD lif_object~delete.
      DATA: lv_spot_name TYPE enhspotcompositename,
            lv_message   TYPE string,
            lx_root      TYPE REF TO cx_root,
            li_spot_ref  TYPE REF TO if_enh_spot_composite.
  
      lv_spot_name = ms_item-obj_name.
  