
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.
|
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. |
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 )
Remember always to use the format that applies to the respective office application (MS Word, Lotus WordPro, ...).