anchor.diff:            lv_parent     TYPE enhspotcompositename,
             lt_enh_spots  TYPE enhspotname_it,
             lt_comp_spots TYPE enhspotname_it,
  -          li_cx         TYPE REF TO cx_root,
  +          lx_root       TYPE REF TO cx_root,
             li_spot_ref   TYPE REF TO if_enh_spot_composite,
             lo_spot_ref   TYPE REF TO cl_enh_spot_composite.
  +
   
       lv_spot_name = ms_item-obj_name.
   
  
positive.code:                       lock      = 'X' ).
  
          IF li_spot_ref IS BOUND.
            li_badidef_tool ?= li_spot_ref.
            li_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( ).
          _raise lv_message.
      ENDTRY.
  
  
negative.code:         io_xml->add( ig_data = lt_enh_badi
                       iv_name = 'BADI_DATA' ).
  
        CATCH cx_enh_root INTO lx_root.
          lv_message = `Error occured while serializing EHNS: ` && lx_root->get_text( ).
          _raise lv_message.
      ENDTRY.
  
  