anchor.diff:        iv_show_log       = iv_show_log_popup ).
   
     ENDMETHOD.
  +
  +
  +  METHOD show_log.
  +
  +    DATA: li_log     TYPE REF TO zif_abapgit_log,
  +          lv_message TYPE string.
  +    FIELD-SYMBOLS: <ls_log> TYPE sprot_u.
  +
  +    CREATE OBJECT li_log TYPE zcl_abapgit_log
  +      EXPORTING
  +        iv_title = iv_title.
  +
  +    LOOP AT it_log ASSIGNING <ls_log>.
  +
  +      MESSAGE ID <ls_log>-ag TYPE <ls_log>-severity NUMBER <ls_log>-msgnr
  +       WITH <ls_log>-var1 <ls_log>-var2 <ls_log>-var3 <ls_log>-var4
  +       INTO lv_message.
  +
  +      li_log->add(
  +          iv_msg  = lv_message
  +          iv_type = <ls_log>-severity ).
  +
  +    ENDLOOP.
  +
  +    zcl_abapgit_log_viewer=>show_log( li_log ).
  +
  +  ENDMETHOD.
  +
   ENDCLASS.
  
positive.code:         VALUE(rt_objects) TYPE tr_objects
        RAISING
          zcx_abapgit_exception.
  ENDCLASS.
  
  
  
negative.code: 
      lt_e071 = collect_all_objects( iv_key ).
  
      " We used TR_REQUEST_CHOICE before, but it issues its error log with
      " write lists which are not compatible with abapGit.
      " There we user TRINT_REQUEST_CHOICE which returns the error log
      " and display the log ourselve.
      CALL FUNCTION 'TRINT_REQUEST_CHOICE'
        EXPORTING
          iv_request_types     = 'FTCOK'
          iv_lock_objects      = lv_lock_objects
          iv_with_error_log    = abap_false
        IMPORTING
          es_request           = ls_request
          et_log               = lt_log
        TABLES
          it_e071              = lt_e071
        EXCEPTIONS
          invalid_request      = 1
          invalid_request_type = 2
  