分享

The Document Viewer

 飞鸟的天空吧 2020-03-30

 https://help./saphelp_nwpi71/helpdata/de/49/3278eee8c55aabe10000000a42189d/content.htm?no_cache=true

With the Document Viewer, you can display documents either in a browser within the SAPGUI window or in a separate browser window.

Introductory notes

You can use the Document Viewer whenever you want to enable the user to display documents but not to change them. In contrast to conventional office integration technologies, the Document Viewer is supported by the SAP GUI for HTML.

integration

You are using the SAP GUI from version 4.6c. The Document Viewer is compatible with both the SAP GUI for Windows and the SAP GUI for HTML.

The following components must also be installed on your PC:

  • Microsoft Internet Explorer version 4 or higher

  • The desktop application required for the type of document you want to view (eg Word for DOC files)

You can use the SAP Business Document Service to store documents. The URL addresses or internal tables returned by the BDS can be used directly in the methods of the document viewer interface.

Features

With the Document Viewer you can display documents either in a browser within the SAP GUI (for Windows or HTML) or in a separate browser window.

In contrast to conventional office integration technologies, the Document Viewer is compatible with the SAP GUI for HTML.

The ABAP programming interface for the Document Viewer is available via the global interface i_oi_document_viewer.

The Document Viewer supports HTML as well as the following document types:

Document type

extension

ProgID in the registry

Microsoft Word document

.DOC

Word.Document

Microsoft Excel workbook

.XLS

Excel sheet

Microsoft PowerPoint presentation

PowerPoint show

Rich text format

.RTF

Application, the files of this type in the Windows dialog box Open with assigned

Portable document format

.PDF

Application, the files of this type in the Windows dialog box Open with assigned

Quicktime movie

.MOV

Quicktime.Mov

Lotus 123 workbook

123

Lotus123.Workbook

Lotus Word Pro document

LWP

Wordpro.Document

Visio graphics

VSD

Visio.Drawing

These document types are definitely supported. Depending on the range of functions of the web browser used, it may be possible to display further types.

The Document Viewer is based on the plug-in mechanisms of the web browser used. This determines the format of the document and the application required to start the document in order to display the document. To do this, the browser uses the following information from the Windows registry:

HKEY_CLASSES_ROOT \. ***

Content type and ProgID

HKEY_CLASSES_ROOT \ <ProgID> \ shell \ open \ command

Application path

HKEY_CLASSES_ROOT \ MIME \ database \ content type

extension

These entries can be created in the following two ways:

  • When installing an application. When you install Word, for example, the file type .DOC is registered on it.

  • The first time you open a file with an unregistered extension. In this case, the Open With dialog box appears , in which you must assign an application to the extension.

restrictions

It is currently not possible to edit or save documents in the Document Viewer.

example

The SAP system contains a sample program called SAPRDEMOVIEWING.

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多