Entering content frameSyntax documentation destroy_control Locate the document in its SAP Library structure

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.

Note

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.

Leaving content frame