You use this method to install a template for the office application on the presentation server:
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.
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 | |
url |
The URL address of the template | |
user_info |
X |
Logon and proxy data for accessing an HTTP or FTP server. |

The name of the template must not include path or extension data. The template is saved in the default template directory for the current user.

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