anchor.diff:      TRY.
           cl_enh_factory=>create_enhancement(
             EXPORTING
  -            enhname       = lv_enhname
  -            enhtype       = ''
  -            enhtooltype   = cl_enh_tool_class=>tooltype
  +            enhname     = lv_enhname
  +            enhtype     = ''
  +            enhtooltype = cl_enh_tool_class=>tooltype
             IMPORTING
  -            enhancement   = li_tool
  +            enhancement = li_tool
             CHANGING
  -            devclass      = lv_package ).
  +            devclass    = lv_package ).
           lo_enh_class ?= li_tool.
   
           lo_enh_class->if_enh_object_docu~set_shorttext( lv_shorttext ).
           lo_enh_class->set_class( lv_class ).
  -        lo_enh_class->set_owr_methods( version = 'I'
  +        lo_enh_class->set_owr_methods( version     = 'I'
                                          owr_methods = lt_owr ).
  -        lo_enh_class->set_pre_methods( version = 'I'
  +        lo_enh_class->set_pre_methods( version     = 'I'
                                          pre_methods = lt_pre ).
  -        lo_enh_class->set_post_methods( version = 'I'
  +        lo_enh_class->set_post_methods( version      = 'I'
                                           post_methods = lt_post ).
  -        lo_enh_class->set_eimp_include( version = 'I'
  +        lo_enh_class->set_eimp_include( version     = 'I'
                                           eimp_source = lt_source ).
   
           lo_enh_class->if_enh_object~save( ).
  
positive.code: 
  
      io_xml->read( EXPORTING iv_name = 'SHORTTEXT'
                    CHANGING cg_data = lv_shorttext ).
      io_xml->read( EXPORTING iv_name = 'SPOT_NAME'
                    CHANGING cg_data = lv_spot_name ).
      io_xml->read( EXPORTING iv_name = 'IMPL'
                    CHANGING cg_data = lt_impl ).
  
      lv_enhname = ms_item-obj_name.
      lv_package = iv_package.
      TRY.
          cl_enh_factory=>create_enhancement(
            EXPORTING
              enhname       = lv_enhname
              enhtype       = cl_abstract_enh_tool_redef=>credefinition
              enhtooltype   = cl_enh_tool_badi_impl=>tooltype
            IMPORTING
              enhancement   = li_tool
            CHANGING
              devclass      = lv_package ).
          lo_badi ?= li_tool.
  
          lo_badi->set_spot_name( lv_spot_name ).
  
negative.code: 
          LOOP AT lt_enhancements ASSIGNING <ls_enhancement>.
            lo_hook_impl->add_hook_impl(
                overwrite        = <ls_enhancement>-overwrite
                method           = <ls_enhancement>-method
                enhmode          = <ls_enhancement>-enhmode
                full_name        = <ls_enhancement>-full_name
                source           = <ls_enhancement>-source
                spot             = <ls_enhancement>-spotname
                parent_full_name = <ls_enhancement>-parent_full_name ).
          ENDLOOP.
          lo_hook_impl->if_enh_object~save( ).
          lo_hook_impl->if_enh_object~unlock( ).
  