anchor.diff:      li_api = cl_mime_repository_api=>if_mr_api~get_api( ).
       lv_io = is_item-obj_name.
   
  -    li_api->get_url_for_io(
  -      EXPORTING
  -        i_loio            = lv_io
  -      IMPORTING
  -        e_url             = lv_url
  -      EXCEPTIONS
  -        parameter_missing = 1
  -        error_occured     = 2
  -        not_found         = 3
  -        OTHERS            = 4 ).
  -    IF sy-subrc = 3.
  -      RETURN.
  -    ELSEIF sy-subrc <> 0.
  -      _raise 'error from get_url_for_io'.
  -    ENDIF.
  +
  +    TRY.
  +        get_url_for_io(
  +          EXPORTING
  +            iv_loio = lv_io
  +          IMPORTING
  +            ev_url  = lv_url ).
  +      CATCH lcx_not_found.
  +        RETURN.
  +    ENDTRY.
   
       li_api->delete(
         EXPORTING
           i_url              = lv_url
           i_delete_children  = abap_true
  -        i_suppress_dialogs = abap_true
         EXCEPTIONS
           parameter_missing  = 1
           error_occured      = 2
  
positive.code:   PERFORM run.
  
  *----------------------------------------------------------------------*
  *       CLASS CX_LOCAL_EXCEPTION DEFINITION
  *----------------------------------------------------------------------*
  *
  *----------------------------------------------------------------------*
  
negative.code:                 iv_filename        TYPE string
        RETURNING VALUE(rv_filename) TYPE string.
  
      CLASS-METHODS get_url_for_io
        IMPORTING iv_loio      TYPE sdok_docid
        EXPORTING ev_url       TYPE string
                  ev_is_folder TYPE boole_d
        RAISING   lcx_not_found
                  lcx_exception.
  
  ENDCLASS.
  
  CLASS lcl_object_smim IMPLEMENTATION.
  
    METHOD get_url_for_io.
  
      DATA: li_api TYPE REF TO if_mr_api.
  
  
      li_api = cl_mime_repository_api=>if_mr_api~get_api( ).
  
      li_api->get_url_for_io(
        EXPORTING
          i_loio            = iv_loio
        IMPORTING
          e_url             = ev_url
          e_is_folder       = ev_is_folder
        EXCEPTIONS
          parameter_missing = 1
          error_occured     = 2
          not_found         = 3
          OTHERS            = 4 ).
      IF sy-subrc = 3.
        RAISE EXCEPTION TYPE lcx_not_found.
      ELSEIF sy-subrc <> 0.
        _raise 'error from get_url_for_io'.
      ENDIF.
  
    ENDMETHOD.
  
    METHOD build_filename.
  
  