anchor.diff:      CLASS-METHODS compare_files
         IMPORTING it_repo         TYPE ty_files_tt
                   is_gen          TYPE ty_file
  -      RETURNING VALUE(rv_match) TYPE sap_bool
  -      RAISING   lcx_exception.
  +      RETURNING VALUE(rv_match) TYPE sap_bool.
  +
  +    CLASS-METHODS calculate_status
  +      IMPORTING it_local           TYPE ty_files_item_tt
  +                it_remote          TYPE ty_files_tt
  +                it_tadir           TYPE ty_tadir_tt
  +                iv_starting_folder TYPE string
  +      RETURNING VALUE(rt_results)  TYPE ty_results_tt.
   
   ENDCLASS.                    "lcl_file_status DEFINITION
   
  
positive.code: 
    METHOD status.
  
      DATA: lv_pre    TYPE tadir-obj_name,
            lt_files  TYPE ty_files_tt,
            ls_result LIKE LINE OF rt_results,
            lv_type   TYPE string,
            ls_item   TYPE ty_item,
            lt_tadir  TYPE ty_tadir_tt,
            lt_local  TYPE ty_files_item_tt,
            ls_tadir  TYPE tadir,
            lt_remote TYPE ty_files_tt,
            lv_ext    TYPE string.
  
      FIELD-SYMBOLS: <ls_remote> LIKE LINE OF lt_remote,
                     <ls_tadir>  LIKE LINE OF lt_tadir,
                     <ls_result> LIKE LINE OF rt_results,
                     <ls_local>  LIKE LINE OF lt_local,
                     <ls_gen>    LIKE LINE OF lt_files.
  
  
      lt_remote = io_repo->get_files_remote( ).
      lt_local  = io_repo->get_files_local( io_log ).
  
      LOOP AT lt_remote ASSIGNING <ls_remote>.
        lcl_progress=>show( iv_key     = 'Status'
                            iv_current = sy-tabix
                            iv_total   = lines( lt_remote )
                            iv_text    = <ls_remote>-filename ) ##NO_TEXT.
  
        SPLIT <ls_remote>-filename AT '.' INTO lv_pre lv_type lv_ext.
  
negative.code:     ENDLOOP.
  
  * find objects only existing locally
      LOOP AT it_tadir ASSIGNING <ls_tadir>.
        READ TABLE rt_results
          WITH KEY obj_type = <ls_tadir>-object
                   obj_name = <ls_tadir>-obj_name
  