mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 04:08:27 +08:00
DOMA: Deletion of domains with append (#5445)
* DOMA: Deletion of domains with append On newer releases, suppressing the confirmation popup does not work since the parameter has changed. Added a call using the new parameter. * No if Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
parent
7e7104e050
commit
8d8d537fcf
|
@ -162,7 +162,23 @@ CLASS zcl_abapgit_objects_super IMPLEMENTATION.
|
|||
dialog_needed = 5
|
||||
OTHERS = 6.
|
||||
CATCH cx_sy_dyn_call_param_not_found.
|
||||
" no_ask_delete_append not available in lower releases
|
||||
TRY.
|
||||
" try to force deletion for APPENDs
|
||||
CALL FUNCTION 'RS_DD_DELETE_OBJ'
|
||||
EXPORTING
|
||||
no_ask = iv_no_ask
|
||||
objname = lv_objname
|
||||
objtype = lv_objtype
|
||||
aie_force_deletion = iv_no_ask_delete_append
|
||||
EXCEPTIONS
|
||||
not_executed = 1
|
||||
object_not_found = 2
|
||||
object_not_specified = 3
|
||||
permission_failure = 4
|
||||
dialog_needed = 5
|
||||
OTHERS = 6.
|
||||
CATCH cx_sy_dyn_call_param_not_found.
|
||||
" no_ask_delete_append and aie_force_deletion not available in lower releases
|
||||
CALL FUNCTION 'RS_DD_DELETE_OBJ'
|
||||
EXPORTING
|
||||
no_ask = iv_no_ask
|
||||
|
@ -176,6 +192,7 @@ CLASS zcl_abapgit_objects_super IMPLEMENTATION.
|
|||
dialog_needed = 5
|
||||
OTHERS = 6.
|
||||
ENDTRY.
|
||||
ENDTRY.
|
||||
|
||||
IF sy-subrc = 5.
|
||||
zcx_abapgit_exception=>raise( |Object { ms_item-obj_type } { ms_item-obj_name
|
||||
|
|
Loading…
Reference in New Issue
Block a user