anchor.diff:          cl_enh_factory=>create_enhancement_spot(
             EXPORTING
               spot_name      = lv_spot_name
  -            tooltype       = cl_enh_tool_badi_def=>tooltype
  +            tooltype       = lv_tool
               dark           = abap_false
               compositename  = lv_parent
             IMPORTING
  
positive.code:         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)
          lv_parent = cl_r3standard_persistence=>enh_find_parent_composite( lv_spot_name ).
          "get subsequent BADI definitions
          lt_enh_badi = lo_badidef_tool->get_badi_defs( ).
  
          io_xml->add( ig_data = lv_tool
                       iv_name = 'TOOL' ).
  
negative.code:         lv_tool = li_spot_ref->get_tool( ).
          CASE lv_tool.
            WHEN cl_enh_tool_badi_def=>tooltype.
              rv_bool = abap_true.
            WHEN cl_enh_tool_hook_def=>tool_type.
              rv_bool = abap_true.
            WHEN OTHERS.
  * todo: implement additional tool types
  