mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
CLAS: ignore deletion of non-existent objects (#1439)
* CLAS: ignore deletion of non-existent objects
This commit is contained in:
parent
f1c15b1e95
commit
71bcc8afac
|
@ -273,8 +273,12 @@ CLASS zcl_abapgit_oo_class IMPLEMENTATION.
|
||||||
no_access = 4
|
no_access = 4
|
||||||
other = 5
|
other = 5
|
||||||
OTHERS = 6.
|
OTHERS = 6.
|
||||||
IF sy-subrc <> 0.
|
IF sy-subrc = 1.
|
||||||
zcx_abapgit_exception=>raise( 'Error from SEO_CLASS_DELETE_COMPLETE' ).
|
* ignore deletion of objects that does not exist
|
||||||
|
* this can happen when the SXCI object is deleted before the implementing CLAS
|
||||||
|
RETURN.
|
||||||
|
ELSEIF sy-subrc <> 0.
|
||||||
|
zcx_abapgit_exception=>raise( |Error from SEO_CLASS_DELETE_COMPLETE: { sy-subrc }| ).
|
||||||
ENDIF.
|
ENDIF.
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user