anchor.diff:  
     PROTECTED SECTION.
     PRIVATE SECTION.
  -    TYPES: BEGIN OF ty_extension_index,
  -             dd12v   TYPE dd12v,
  -             t_dd17v TYPE STANDARD TABLE OF dd17v
  -                          WITH NON-UNIQUE DEFAULT KEY,
  -           END OF ty_extension_index.
  +    TYPES:
  +      BEGIN OF ty_extension_index,
  +        dd12v   TYPE dd12v,
  +        t_dd17v TYPE STANDARD TABLE OF dd17v
  +                   WITH NON-UNIQUE DEFAULT KEY,
  +      END OF ty_extension_index.
  +
  +    CONSTANTS:
  +      c_objtype_extension_index   TYPE trobjtype VALUE 'XINX'.
  +
       DATA:
         mv_name TYPE ddobjname,
         mv_id   TYPE ddobjectid.
   
  +    METHODS:
  +      xinx_delete_docu
  +        IMPORTING
  +          iv_objname TYPE ddobjname
  +          iv_id      TYPE ddobjectid.
  +
   ENDCLASS.
   
   
   
  -CLASS ZCL_ABAPGIT_OBJECT_XINX IMPLEMENTATION.
  +CLASS zcl_abapgit_object_xinx IMPLEMENTATION.
   
   
     METHOD constructor.
  
positive.code: 
    METHOD zif_abapgit_object~delete.
  
      " RS_DD_INDX_DELETE calls the GUI. Someday we need a better solution
  
      CALL FUNCTION 'RS_DD_INDX_DELETE'
        EXPORTING
          objname              = mv_name
          indexname            = mv_id
          extension            = abap_true
        EXCEPTIONS
          object_not_found     = 1
          object_not_specified = 2
          permission_failure   = 3
          action_cancelled     = 4
          OTHERS               = 5.
  
      IF sy-subrc <> 0.
        zcx_abapgit_exception=>raise( |Error from RS_DD_INDX_DELETE { sy-subrc }| ).
      ENDIF.
  
    ENDMETHOD.
  
  
negative.code:                  ig_data = ls_extension_index ).
  
    ENDMETHOD.
  
    METHOD xinx_delete_docu.
  
      DATA: lv_docuid  TYPE dokhl-id,
            lv_doctype TYPE dokhl-typ,
            lv_docname TYPE dokhl-object.
  
      lv_docname    = iv_objname.
      lv_docname+30 = iv_id.
      CALL FUNCTION 'INTERN_DD_DOCU_ID_MATCH'
        EXPORTING
          p_trobjtype  = c_objtype_extension_index
        IMPORTING
          p_docu_id    = lv_docuid
          p_doctype    = lv_doctype
        EXCEPTIONS
          illegal_type = 1
          OTHERS       = 2.
  
      IF sy-subrc <> 0.
        RETURN.
      ENDIF.
  
      CALL FUNCTION 'DOKU_DELETE_ALL'
        EXPORTING
          doku_id            = lv_docuid
          doku_object        = lv_docname
          doku_typ           = lv_doctype
          suppress_authority = 'X'
          suppress_enqueue   = 'X'
          suppress_transport = 'X'
        EXCEPTIONS
          no_docu_found      = 1
          OTHERS             = 2.
  
    ENDMETHOD.
  
  ENDCLASS.
  