Merge pull request #859 from christianguenter2/SICF_DELETE

Bugfix delete SICF which is managed by SAPC
This commit is contained in:
Lars Hvam 2017-07-25 06:02:08 +02:00 committed by GitHub
commit aae5b36807

View File

@ -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