anchor.diff:            lv_rc     TYPE sy-subrc,
             lt_deltab TYPE STANDARD TABLE OF dcdeltb.
   
  -    FIELD-SYMBOLS: <ls_ddic> LIKE LINE OF it_ddic.
  -
  -    LOOP AT it_ddic ASSIGNING <ls_ddic>.
  -
  -      ls_gentab-name = <ls_ddic>-obj_name.
  -      ls_gentab-type = <ls_ddic>-object.
  +    FIELD-SYMBOLS: <ls_object> LIKE LINE OF gt_objects.
  +
  +    LOOP AT gt_objects ASSIGNING <ls_object>.
  +
  +      ls_gentab-name = <ls_object>-obj_name.
  +      ls_gentab-type = <ls_object>-object.
         INSERT ls_gentab INTO TABLE lt_gentab.
   
       ENDLOOP.
  
positive.code:       IMPORTING iv_ddic TYPE abap_bool DEFAULT abap_false
        RAISING   zcx_abapgit_exception.
  
      CLASS-METHODS filter_ddic_objects
        EXPORTING et_ddic     TYPE act_work_area
                  et_non_ddic TYPE act_work_area.
  
      CLASS-METHODS activate_ddic
        IMPORTING it_ddic TYPE act_work_area
        RAISING   zcx_abapgit_exception.
  
      CLASS-METHODS activate_non_ddic
        IMPORTING it_non_ddic TYPE act_work_area
        RAISING   zcx_abapgit_exception.
  
      CLASS-DATA: gt_objects TYPE TABLE OF dwinactiv.
  
  
negative.code: 
    METHOD activate_new.
  
      IF gt_objects IS INITIAL.
        RETURN.
      ENDIF.
  
      IF iv_ddic = abap_true.
  
        zcl_abapgit_progress=>show( iv_key     = 'Activating DDIC'
                                    iv_current = '98'
                                    iv_total   = '100'
                                    iv_text    = '...' ).
  
        activate_ddic( ).
  
      ELSE.
  
        zcl_abapgit_progress=>show( iv_key     = 'Activating non DDIC'
                                    iv_current = '98'
                                    iv_total   = '100'
                                    iv_text    = '...' ).
  
        activate_non_ddic( ).
  
      ENDIF.
  
  