mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 04:08:27 +08:00
Uninstall, fix some error messages (#2451)
* SUSO, fix error message * DDLS error message instead of "Object could not be deleted"
This commit is contained in:
parent
ea40225d1c
commit
34e8e0bb69
|
@ -133,8 +133,9 @@ CLASS ZCL_ABAPGIT_OBJECT_DDLS IMPLEMENTATION.
|
|||
EXPORTING
|
||||
name = ms_item-obj_name.
|
||||
CATCH cx_root INTO lx_error.
|
||||
zcx_abapgit_exception=>raise( iv_text = lx_error->get_text( )
|
||||
ix_previous = lx_error ).
|
||||
zcx_abapgit_exception=>raise(
|
||||
iv_text = |DDLS, { ms_item-obj_name } { lx_error->get_text( ) }|
|
||||
ix_previous = lx_error ).
|
||||
ENDTRY.
|
||||
|
||||
ENDMETHOD.
|
||||
|
|
|
@ -136,7 +136,7 @@ CLASS ZCL_ABAPGIT_OBJECT_SUSO IMPLEMENTATION.
|
|||
ed_mode_head = lv_act_head.
|
||||
|
||||
IF lv_act_head <> lc_act_delete.
|
||||
zcx_abapgit_exception=>raise( |AUTH { mv_objectname }: Delete not allowed| ).
|
||||
zcx_abapgit_exception=>raise( |SUSO { mv_objectname }: Delete not allowed| ).
|
||||
ENDIF.
|
||||
|
||||
CALL METHOD lo_suso->('SUSO_COLLECT_IN_CTS')
|
||||
|
@ -146,7 +146,7 @@ CLASS ZCL_ABAPGIT_OBJECT_SUSO IMPLEMENTATION.
|
|||
ed_result = lv_suso_collect_in_cts.
|
||||
|
||||
IF lv_suso_collect_in_cts IS NOT INITIAL.
|
||||
zcx_abapgit_exception=>raise( |AUTH { mv_objectname }: Cannot delete| ).
|
||||
zcx_abapgit_exception=>raise( |SUSO { mv_objectname }: Cannot delete| ).
|
||||
ENDIF.
|
||||
|
||||
ENDIF.
|
||||
|
|
Loading…
Reference in New Issue
Block a user