that looks correct I suppose you get back successful message.
did you check the rfc connection setting (SM59) - especially user authorization and login client, aren't you deleting in another client then you expect? to be sure where you are deleting you could append sy-mandt to the return message temporaily. is it trusted connection or with filled client/username/passwd?