anchor.diff:      ENDIF.
   
       TRY.
  -     cl_enh_factory=>create_enhancement_spot(
  +      cl_enh_factory=>create_enhancement_spot(
           EXPORTING
             spot_name      = lv_spot_name
             tooltype       = cl_enh_tool_badi_def=>tooltype  "BADI_DEF
  
positive.code: 
        IF li_spot_ref IS BOUND.
          li_badidef_tool ?= li_spot_ref.
           li_badidef_tool->if_enh_object~delete(
            EXPORTING
              nevertheless_delete = 'X'
              run_dark            = 'X' ).
        ENDIF.
          li_badidef_tool->if_enh_object~unlock( ).
      CATCH cx_enh_root INTO li_cx.
  
negative.code:     lv_spot_name = ms_item-obj_name.
  
      TRY.
        li_spot_ref = cl_enh_factory=>get_enhancement_spot_comp(
          lock = 'X'
          name = lv_spot_name ).
  
        IF li_spot_ref IS BOUND.
           li_spot_ref->if_enh_object~delete(
             nevertheless_delete = 'X'
             run_dark            = 'X' ).
        ENDIF.
          li_spot_ref->if_enh_object~unlock( ).
      CATCH cx_enh_root INTO li_cx.
  