Show TOC

Integrating the Document Viewer in ControlLocate this document in the navigation structure

Use

The Document Viewer can be displayed in the Control Dialog Box Container. This can be integrated into an SAP screen, or you can incorporate it in the user interface of your application.

Displaying documents in the SAP screen has the following advantages:

  • Document display can be directly integrated into the transaction for entering application documents. The screen is split into two areas: One side is the input template for the application document, and the other side displays the actual document containing the data for the application document.

  • The space in the Document Viewer that is normally reserved for menus and icons is also used for document display.

  • The documents are closed automatically when the user exits the transaction.

You can decide whether document display is integrated into the application document transaction, or whether documents are displayed in a separate session. ArchiveLink provides methods for displaying in Control.

Note

For more information, see the online documentation for the class CL_DOCUMENT_HISTORY.

If you do not implement display in control, the Document Viewer is always called in a new session. You can then still determine whether or not the Document Viewer is called in Control. You make this selection in Customizing. Choose the following in the Implementation Guide (IMG): Start of the navigation path SAP Web Application Server Next navigation step Basis Services Next navigation step ArchiveLink Next navigation step Front End Communication Customizing Next navigation step Make Storage and Display Settings End of the navigation path.