anchor.diff:        RETURNING VALUE(rv_class_name) TYPE string.
   
     PRIVATE SECTION.
  -    CLASS-METHODS resolve_tabl
  +    CLASS-METHODS resolve_ddic
         CHANGING ct_tadir TYPE lcl_tadir=>ty_tadir_tt
         RAISING  lcx_exception.
   
  
positive.code: * See https://github.com/larshp/abapGit/
  
  CONSTANTS: gc_xml_version  TYPE string VALUE 'v0.2-alpha',  "#EC NOTEXT
             gc_abap_version TYPE string VALUE 'v0.85'.       "#EC NOTEXT
  
  ********************************************************************************
  * The MIT License (MIT)
  
negative.code: 
    ENDMETHOD.                    "delete
  
    METHOD resolve_ddic.
  * this will make sure the deletion sequence of structures/tables work
  * in case they have dependencies with .INCLUDE
  
      TYPES: BEGIN OF ty_edge,
               from TYPE ty_item,
               to   TYPE ty_item,
             END OF ty_edge.
  
      DATA: lt_nodes        TYPE TABLE OF ty_item,
            lt_edges        TYPE TABLE OF ty_edge,
            lt_findstrings  TYPE TABLE OF rsfind,
            lv_plus         TYPE i VALUE 1,
            lv_find_obj_cls TYPE euobj-id,
            lv_index        TYPE i,
            lv_before       TYPE i,
            lt_founds       TYPE TABLE OF rsfindlst,
            lt_scope        TYPE STANDARD TABLE OF seu_obj.
  
      FIELD-SYMBOLS: <ls_tadir> LIKE LINE OF ct_tadir,
                     <ls_edge>  LIKE LINE OF lt_edges,
                     <ls_found> LIKE LINE OF lt_founds,
                     <ls_node>  LIKE LINE OF lt_nodes.
  
  
  * build nodes
      LOOP AT ct_tadir ASSIGNING <ls_tadir>
          WHERE object = 'TABL'
          OR object = 'TTYP'.
        APPEND INITIAL LINE TO lt_nodes ASSIGNING <ls_node>.
        <ls_node>-obj_name = <ls_tadir>-obj_name.
        <ls_node>-obj_type = <ls_tadir>-object.
      ENDLOOP.
  
      APPEND 'TABL' TO lt_scope.
      APPEND 'STRU' TO lt_scope.
      APPEND 'TTYP' TO lt_scope.
  
  * build edges
      LOOP AT lt_nodes ASSIGNING <ls_node>.
  
        CLEAR lt_findstrings.
        APPEND <ls_node>-obj_name TO lt_findstrings.
        lv_find_obj_cls = <ls_node>-obj_type.
  
        CALL FUNCTION 'RS_EU_CROSSREF'
          EXPORTING
            i_find_obj_cls           = lv_find_obj_cls
          TABLES
            i_findstrings            = lt_findstrings
            o_founds                 = lt_founds
  