anchor.diff:  
     METHOD activate_ddic.
   
  -    DATA: lt_gentab TYPE STANDARD TABLE OF dcgentb,
  -          ls_gentab LIKE LINE OF lt_gentab,
  -          lv_rc     TYPE sy-subrc,
  -          lt_deltab TYPE STANDARD TABLE OF dcdeltb.
  +    DATA: lt_gentab  TYPE STANDARD TABLE OF dcgentb,
  +          ls_gentab  LIKE LINE OF lt_gentab,
  +          lv_rc      TYPE sy-subrc,
  +          lt_deltab  TYPE STANDARD TABLE OF dcdeltb,
  +          action_tab TYPE dctablrestab,
  +          lv_logname TYPE ddmass-logname.
   
       FIELD-SYMBOLS: <ls_object> LIKE LINE OF gt_objects.
   
  
positive.code: 
      IF lt_gentab IS NOT INITIAL.
  
        CALL FUNCTION 'DD_MASS_ACT_C3'
          EXPORTING
            ddmode         = 'C'
            medium         = space
            write_log      = space
            log_head_tail  = space
            t_on           = space
          IMPORTING
            act_rc         = lv_rc
          TABLES
            gentab         = lt_gentab
            deltab         = lt_deltab
          EXCEPTIONS
            access_failure = 1
            no_objects     = 2
  
negative.code:         zcx_abapgit_exception=>raise( 'error from DD_MASS_ACT_C3' ).
        ENDIF.
  
        IF lv_rc > 0.
  
          show_activation_errors( lv_logname ).
  
        ENDIF.
  
      ENDIF.
  
    ENDMETHOD.
  
  
    METHOD show_activation_errors.
  
      DATA: lt_lines      TYPE STANDARD TABLE OF trlog,
            lv_logname_db TYPE ddprh-protname,
            lo_log        TYPE REF TO zcl_abapgit_log.
  
      FIELD-SYMBOLS: <ls_line> LIKE LINE OF lt_lines.
  
      lv_logname_db = iv_logname.
  
      CALL FUNCTION 'TR_READ_LOG'
        EXPORTING
          iv_log_type   = 'DB'
          iv_logname_db = lv_logname_db
        TABLES
          et_lines      = lt_lines
        EXCEPTIONS
          invalid_input = 1
          access_error  = 2
          OTHERS        = 3.
  
      IF sy-subrc <> 0.
        zcx_abapgit_exception=>raise( 'error from TR_READ_LOG' ).
      ENDIF.
  
      DELETE lt_lines WHERE severity <> 'E'.
  
      CREATE OBJECT lo_log.
  
      LOOP AT lt_lines ASSIGNING <ls_line>.
        lo_log->add( <ls_line>-line ).
      ENDLOOP.
  
      lo_log->show( ).
  
    ENDMETHOD.
  
  