anchor.diff:                        lock      = 'X' ).
   
           IF li_spot_ref IS BOUND.
  -          li_badidef_tool ?= li_spot_ref.
  -          li_badidef_tool->if_enh_object~delete(
  +          lo_badidef_tool ?= li_spot_ref.
  +          lo_badidef_tool->if_enh_object~delete(
               nevertheless_delete = 'X'
               run_dark            = 'X' ).
           ENDIF.
  -        li_badidef_tool->if_enh_object~unlock( ).
  -      CATCH cx_enh_root INTO li_cx.
  -        lv_message = `Error occured while deleting EHNS: ` && li_cx->get_text( ).
  +        lo_badidef_tool->if_enh_object~unlock( ).
  +      CATCH cx_enh_root INTO lx_root.
  +        lv_message = `Error occured while deleting EHNS: ` && lx_root->get_text( ).
           _raise lv_message.
       ENDTRY.
   
  
positive.code:     DATA: lv_spot_name  TYPE enhspotcompositename,
            lv_message    TYPE string,
            lv_enh_shtext TYPE string,
            ls_enh_spot   TYPE enhspotname,
            lt_enh_spots  TYPE enhspotname_it,
            lt_comp_spots TYPE enhspotname_it,
            li_cx         TYPE REF TO cx_root,
            lv_package    LIKE iv_package,
            li_spot_ref   TYPE REF TO if_enh_spot_composite,
            lo_spot_ref   TYPE REF TO cl_enh_spot_composite.
  
negative.code:           lv_enh_shtext   TYPE string,
            ls_enh_badi     TYPE enh_badi_data,
            lt_enh_badi     TYPE enh_badi_data_it,
            lx_root         TYPE REF TO cx_root,
            lv_package      LIKE iv_package,
            li_spot_ref     TYPE REF TO if_enh_spot_tool,
            lo_badidef_tool TYPE REF TO cl_enh_tool_badi_def.
  
  
      lv_spot_name = ms_item-obj_name.
  