remove_template 

You use this method to remove a template that has been installed locally on the presentation server:

CALL METHOD wp->remove_template
       EXPORTING template_name = template_name
                 no_flush      = no_flush
       IMPORTING retcode       = retcode
                 error         = error.

Description of parameters

Parameter

Optional

Description

template_name

 

The name of the template to be deleted (in accordance with the name given during installation)

The name of the template must not include path or extension data.

If you have used the template in the document, you must call the set_template method with template name ‘ ’ (space) before deleting.