
You use this method to destroy the central Office Integration instance.
CALL METHOD control->destroy_control
EXPORTING no_flush = no_flush
IMPORTING retcode = retcode
error = error.
Before calling the method destroy_control, make sure that you have saved all changes to your documents. When you call this method, the method release_all_documents is also called automatically.
After this call, release the ABAP Objects instance:
FREE control.