anchor.diff:  
     ENDMETHOD.
   
  -  METHOD restore_old_default_task.
  -
  -    IF ms_save_default_task IS INITIAL.
  -      " There wasn't a default transport request before
  -      " so we needn't restore anything.
  -      RETURN.
  -    ENDIF.
  -
  -    CALL FUNCTION 'TR_TASK_SET'
  -      EXPORTING
  -        iv_order          = ms_save_default_task-ordernum    " Request to be s et
  -        iv_task           = ms_save_default_task-tasknum    " Task to be set
  -      EXCEPTIONS
  -        invalid_username  = 1
  -        invalid_category  = 2
  -        invalid_client    = 3
  -        invalid_validdays = 4
  -        invalid_order     = 5
  -        invalid_task      = 6
  -        OTHERS            = 7.
  -
  -    IF sy-subrc <> 0.
  -      zcx_abapgit_exception=>raise( |Error from TR_TASK_SET { sy-subrc }| ).
  -    ENDIF.
  -
  -  ENDMETHOD.
  -
   
     METHOD store_current_default_task.
   
  
positive.code:         wrong_order_type       = 5
          OTHERS                 = 6.
  
      IF sy-subrc <> 0.
        zcx_abapgit_exception=>raise( |Error from TRINT_ORDER_CHOICE { sy-subrc }| ).
      ENDIF.
  
  
negative.code:     ENDIF.
  
      restore_old_default_task( ).
  
    ENDMETHOD.
  
  
    METHOD restore_old_default_task.
  
      IF ms_save_default_task IS INITIAL.
        " There wasn't a default transport request before
        " so we needn't restore anything.
        RETURN.
      ENDIF.
  
      CALL FUNCTION 'TR_TASK_SET'
        EXPORTING
          iv_order          = ms_save_default_task-ordernum    " Request to be s et
          iv_task           = ms_save_default_task-tasknum    " Task to be set
        EXCEPTIONS
          invalid_username  = 1
          invalid_category  = 2
          invalid_client    = 3
          invalid_validdays = 4
          invalid_order     = 5
          invalid_task      = 6
          OTHERS            = 7.
  
      IF sy-subrc <> 0.
        zcx_abapgit_exception=>raise( |Error from TR_TASK_SET { sy-subrc }| ).
      ENDIF.
  
    ENDMETHOD.
  
  