diff --git a/src/zabapgit_object_sicf.prog.abap b/src/zabapgit_object_sicf.prog.abap index 5fe090d7a..17c3bb22c 100644 --- a/src/zabapgit_object_sicf.prog.abap +++ b/src/zabapgit_object_sicf.prog.abap @@ -391,9 +391,16 @@ CLASS lcl_object_sicf IMPLEMENTATION. DATA: ls_icfservice TYPE icfservice. - read( IMPORTING es_icfservice = ls_icfservice ). + IF ls_icfservice IS INITIAL. + " It seems that the ICF service doesn't exist anymore. + " But that's ok, because some objects like SAPC manage + " the lifecycle of its ICF service by itself and already + " deleted the service. + RETURN. + ENDIF. + cl_icf_tree=>if_icf_tree~delete_node( EXPORTING icfparguid = ls_icfservice-icfparguid