Use this method to close a document that has been open in the Document Viewer. It always closes the last document that you opened.
CALL METHOD document_viewer->close_document
EXCEPTIONS cntl_error = 1
not_initialized = 2