Show TOC

Office IntegrationLocate this document in the navigation structure

Use

Applications created with Microsoft Office can be integrated into Web Dynpro ABAP using UI element OfficeControl. This enables standard Web Dynpro to be enhanced with new components. These new components are implemented with Microsoft Office and run on the local client PC or browser. An OfficeControl UI element can be embedded in Web Dynpro views, can access Web Dynpro context, and can trigger Web Dynpro actions.

The following Microsoft Office products are supported:

  • Microsoft Excel documents in Microsoft binary format with the extension xls.

    If you have Microsoft Office 2007 installed, XML-based file name extensions xls and xlsm are supported.

  • Microsoft Project documents with the extension mpp.

    Note

    When importing or exporting MS Project documents (IF_IOS_PROJECT~EXPORT_XML and IF_IOS_PROJECT~IMPORT_XML), for security reasons a whitelist is evaluated. To do this, in interface IF_IOS_PROJECT~SET_WHITELIST the names on the whitelist are referenced. The same whitelist is used as for AcfUpDownload. Note that for reasons of security, abbreviations such as $HOME are not supported during the Microsoft Project Integration.

  • Microsoft Word documents in Microsoft binary format with the extension doc.

    If you have Microsoft Office 2007 installed, XML-based file name extensions docx and docm are supported.

Office integration in Web Dynpro ABAP is based on the Active Component Framework (ACF).

Prerequisites

To use OfficeControl to implement Microsoft Office applications for Web Dynpro ABAP, you require the following:

  • Installation of Microsoft Office

  • Microsoft Office file, which can be found in the ABAP back end as XSTRING, for example, as the object in the MIME repository

  • The front-end ACF components must be installed. We strongly recommend you install the components using SAP Service Marketplace.

    You can find the latest ACF version on SAP Service Marketplace in the following directory: Start of the navigation path www.service.sap.com/patches Next navigation step Applications by Index Next navigation step A Next navigation step ACF End of the navigation path. Open the ACF version displayed, and then choose the Win32 link. Here you can find the installation to download. After downloading it, open the file to run the installation. For more information about the ACF installation, see SAP Note 766191 Information published on SAP site.

    As an alternative to the recommended procedure using SAP Service Marketplace, in exceptional cases you can install ACF using an automatic download function. However, additional browser prerequisites must be met for this. These are described in SAP Notes 1016683 Information published on SAP site and 1150277 Information published on SAP site.

  • ActiveX should be activated in your browser.

    To activate ActiveX, for example, for Microsoft Internet Explorer 8, proceed as follows: Under Start of the navigation path Tools Next navigation step Internet Options End of the navigation path go to tab Security, choose Custom level.... Under ActiveX controls and plugins choose options Download signed ActiveX controls (select Prompt) and Run ActiveX controls and plugins (select Enable) and Script ActiveX controls marked save for scripting (select Enable).

Note

If there are any problems displaying OfficeControl make sure that the Active Component Framework (ACF) is correctly installed. See also SAP Note 846952 Information published on SAP site.

Example

You can find demo applications and components in the system in package SIOS. The basic functions of Office integration are described using the following examples:

  • IOS_TEST_HELLOWORLD_MS

  • IOS_TEST_WORDPROCESSING

  • IOS_TEST_EXCEL

More Information

For more information about ACF, see Active Component Framework (ACF).

You can find general information about Office integration in the Notes below.

Note Number

Description

892638 Information published on SAP site

Supporting Microsoft Office products in conjunction with Office integration in Web Dynpro ABAP

766191 Information published on SAP site

Active Component Framework Installation

846952 Information published on SAP site

Remove ACF from client PC

1150277 Information published on SAP site

Prerequisites for using ACF

1446519 Information published on SAP site

Safari Restrictions for Unified Rendering and ACF

1073704 Information published on SAP site

IOS: Office 2007 XML

1016683 Information published on SAP site

Microsoft Vista and OfficeControl

You can find more information about Office integration in the SAP Notes below:

Note Number

Description

1481194 Information published on SAP site

Ascertaining the ACF version

949770 Information published on SAP site

Creating Traces for OfficeControl

Special Notes for using OfficeControls in WebDynpro ABAP applications

Caution

If you set the inplace# attribute when using an OfficeControl and want to use a relative size, read the SAP Notes 1266588 Information published on SAP site and 1753544 Information published on SAP site, Restrictions in Standard Mode.

FAQ

You can find the answers to frequently asked questions in the following SAP Notes:

Note Number

Description

1481875 Information published on SAP site

IOS WD ABAP: Document is not accepted

1488874 Information published on SAP site

ACF: Automatic download or installation