!--a11y-->
Switching Web Templates 
As well as being able to call up Web templates you are also able to switch between different Web templates. When you switch to a different Web template, all the Web items and data providers in the Web template in which you started, are retained. The Web items and data providers that appear in the new Web template, and for which there is no object with the same name, are generated from scratch. The system identifies the objects by their logical name.
The main difference between calling a Web template and switching to a different Web template is that when you switch to a different Web template, the objects from the initial Web template are transferred without being modified into the new Web report. This means, for example, that the query view of the navigation status stays the same.
This function is particularly useful for switching from overview pages (often containing only diagrams) to detailed pages (with tables and navigation blocks).
|
CMD |
CHANGE_TEMPLATE |
|
Parameter |
Description |
|
TEMPLATE_ID |
Name of the Web template Name under which you stored the Web template in the Web Application Designer. |

The parameters PAGEID and WBID that are used in BW 2.x are supported for the Web templates created under BW 2.x. However, we recommend that you no longer use these.
If you still want to set paratmeters for the new Web template, you can use command sequences. With the parameter APPLY_CMD_ON_TARGET = X, the command sequence can then be used from the newly created page.

<SAP_BW_URL CMD='CHANGE_TEMPLATE' TEMPLATE_ID=’DETAILS'>