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:     TRY.
          li_spot_ref = cl_enh_factory=>get_enhancement_spot(
                        spot_name = lv_spot_name
                        lock      = 'X' ).
  
          IF li_spot_ref IS BOUND.
            lo_badidef_tool ?= li_spot_ref.
            lo_badidef_tool->if_enh_object~delete(
              nevertheless_delete = 'X'
              run_dark            = 'X' ).
          ENDIF.
          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( ) ##NO_TEXT.
          lcx_exception=>raise( lv_message ).
      ENDTRY.
  
    ENDMETHOD.  "delete
  
negative.code:   ENDMETHOD.  "deserialize
  
    METHOD lif_object~serialize.
  
      DATA: lv_spot_name    TYPE enhspotname,
            lv_enh_shtext   TYPE string,
            lv_parent       TYPE enhspotcompositename,
            lt_enh_badi     TYPE enh_badi_data_it,
            lv_tool         TYPE enhspottooltype,
            lx_root         TYPE REF TO cx_root,
            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.
  
      TRY.
          li_spot_ref = cl_enh_factory=>get_enhancement_spot( lv_spot_name ).
          lv_tool = li_spot_ref->get_tool( ).
  
          lo_badidef_tool ?= li_spot_ref.
          lv_enh_shtext = lo_badidef_tool->if_enh_object_docu~get_shorttext( ).
  
          "get parent = composite enhs (ENHC)
  