anchor.diff:  
     ENDMETHOD.                    "delete
   
  -  METHOD resolve_tabl.
  +  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 sobj_name,
  -             to   TYPE sobj_name,
  +             from TYPE ty_item,
  +             to   TYPE ty_item,
              END OF ty_edge.
   
  -    DATA: lt_nodes       TYPE TABLE OF sobj_name,
  -          lt_edges       TYPE TABLE OF ty_edge,
  -          lt_findstrings TYPE TABLE OF rsfind,
  -          lv_plus        TYPE i VALUE 0,
  -          lv_index       TYPE i,
  -          lv_before      TYPE i,
  -          lt_founds      TYPE TABLE OF rsfindlst,
  -          lt_scope       TYPE STANDARD TABLE OF seu_obj.
  +    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,
  -                   <lv_node>  LIKE LINE OF lt_nodes.
  +                   <ls_node>  LIKE LINE OF lt_nodes.
   
   
   * build nodes
  -    LOOP AT ct_tadir ASSIGNING <ls_tadir> WHERE object = 'TABL'.
  -      APPEND <ls_tadir>-obj_name TO lt_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 <lv_node>.
  +    LOOP AT lt_nodes ASSIGNING <ls_node>.
   
         CLEAR lt_findstrings.
  -      APPEND <lv_node> TO 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           = 'TABL'
  +          i_find_obj_cls           = lv_find_obj_cls
           TABLES
             i_findstrings            = lt_findstrings
             o_founds                 = lt_founds
  
positive.code:       lv_plus = lv_plus + 1.
      ENDDO.
  
    ENDMETHOD.                    "resolve_tabl
  
    METHOD delete_obj.
  
  
negative.code:       RETURNING VALUE(rv_class_name) TYPE string.
  
    PRIVATE SECTION.
      CLASS-METHODS resolve_ddic
        CHANGING ct_tadir TYPE lcl_tadir=>ty_tadir_tt
        RAISING  lcx_exception.
  
  