Show TOC

Syntax documentationinstall_template Locate this document in the navigation structure

You use this method to install a template for the office application on the presentation server:

Syntax Syntax

  1. CALL METHOD wp->install_template
    EXPORTING template_name = template_name
    url = url
    user_info = user_info
    no_flush = no_flush
    IMPORTING retcode = retcode
    error = error.
End of the code.
Description of parameters

Parameter

Optional

Description

template_name

The name of the file to be created on the presentation server for the template you are installing

If you want to use a MS Office 2007 template format (dotm) you have to use the extension '.dotm' as part of the template's name.

url

The URL address of the template

user_info

X

Logon and proxy data for accessing an HTTP or FTP server.

Note Note

If MS Office 2007 dotm format is used the extension '.dotm' must be part of the value of the template_name parameter (see SAP note 1106657)

End of the note.

Caution Caution

Remember always to use the format that applies to the respective office application (MS Word, Lotus WordPro, ...).

End of the caution.