anchor.diff:            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.
  +          lo_badidef_tool TYPE REF TO cl_enh_tool_badi_def,
  +          lo_badi_hook    TYPE REF TO cl_enh_tool_hook_def,
  +          lt_hook_defs    TYPE enh_hook_def_ext_it.
   
   
       lv_spot_name = ms_item-obj_name.
  
positive.code:           CHANGING
              devclass       = lv_package ).
  
          lo_badidef_tool ?= li_spot_ref.
  
          lo_badidef_tool->if_enh_object_docu~set_shorttext( lv_enh_shtext ).
  
          LOOP AT lt_enh_badi INTO ls_enh_badi.
            lo_badidef_tool->add_badi_def( ls_enh_badi ).
          ENDLOOP.
  
          lo_badidef_tool->if_enh_object~save( ).
          lo_badidef_tool->if_enh_object~activate( ).
          lo_badidef_tool->if_enh_object~unlock( ).
  
        CATCH cx_enh_root INTO lx_root.
          lv_message = `Error occured while deserializing EHNS: `
  
negative.code:                      iv_name = 'PARENT_COMP' ).
          io_xml->add( ig_data = lv_enh_shtext
                       iv_name = 'SHORTTEXT' ).
  
        CATCH cx_enh_root INTO lx_root.
          zcx_abapgit_exception=>raise( `Error occured while serializing EHNS: `
  