anchor.diff:          "get subsequent BADI definitions
           lt_enh_badi = lo_badidef_tool->get_badi_defs( ).
   
  +        io_xml->add( ig_data = lv_tool
  +                     iv_name = 'TOOL' ).
           io_xml->add( ig_data = lv_parent
                        iv_name = 'PARENT_COMP' ).
           io_xml->add( ig_data = lv_enh_shtext
  
positive.code:   METHOD lif_object~exists.
  
      DATA: lv_spot_name TYPE enhspotname,
            li_spot_ref  TYPE REF TO if_enh_spot_tool.
  
  
  
negative.code:     TRY.
          li_spot_ref = cl_enh_factory=>get_enhancement_spot(
                        spot_name = lv_spot_name
                        lock      = abap_true ).
  
          IF li_spot_ref IS BOUND.
            lo_badidef_tool ?= li_spot_ref.
            lo_badidef_tool->if_enh_object~delete(
              nevertheless_delete = abap_true
              run_dark            = abap_true ).
          ENDIF.
          lo_badidef_tool->if_enh_object~unlock( ).
        CATCH cx_enh_root INTO lx_root.
          lcx_exception=>raise( `Error occured while deleting EHNS: `
            && lx_root->get_text( ) ) ##NO_TEXT.
      ENDTRY.
  
    ENDMETHOD.  "delete
  