This method returns the name of the template attached to the word processor document currently open.
CALL METHOD wp->get_template_info
EXPORTING no_flush = no_flush
IMPORTING retcode = retcode
error = error
CHANGING template_info = template_info
Parameter |
Optional |
Description |
template_info |
An internal table containing the name, path, and full name (path + name) of the template currently applied to the document. You should declare your actual parameter with reference to type SOI_TEMPLATE_INFO . |