Improve error handling for delete_tadir (#2741)

* Improve error handling for delete_tadir

* add TODO comment for delete tadir
This commit is contained in:
Christian Günter 2019-06-16 18:01:53 +02:00 committed by Lars Hvam
parent abc43d4e5a
commit 6b7e4d62dd

View File

@ -512,7 +512,17 @@ CLASS ZCL_ABAPGIT_OBJECTS IMPLEMENTATION.
wi_tadir_pgmid = 'R3TR'
wi_tadir_object = is_item-obj_type
wi_tadir_obj_name = is_item-obj_name
wi_test_modus = abap_false.
wi_test_modus = abap_false
EXCEPTIONS
OTHERS = 1 ##FM_SUBRC_OK.
" We deliberately ignore the subrc, because throwing an exception would
" break the deletion of lots of object types. On the other hand we have
" to catch the exceptions because otherwise messages would directly be issued
" by the function module and change the control flow. Thus breaking the
" deletion of TOBJ and other object types.
" TODO: This is not very clean and has to be improved in the future. See PR 2741.
ENDIF.
ENDIF.