Creating ITS Themes 
Themes are instances of Internet Transaction Server (ITS) services that differ only in their look and feel (appearance, graphics, layout or language).
- Each service can be divided into one or more themes.
- Each theme has its own set of HTMLBusiness templates, flow files (if applicable), language resources, and Multipurpose Internet Mail Extension (MIME) files, but the functionality of the service is identical. In the SAP@Web Studio, themes are stored in subdirectories of the service directory.
When creating HTMLBusiness templates, you can accept the default theme
99
proposed by the SAP@Web Studio or rename the theme. If necessary, you can create further themes for your service and even define a default theme:
- To create a theme for a service, you must create a subdirectory for all the HTMLBusiness templates and other files associated with the theme. This subdirectory should have the same name as the theme.
- To define a default theme for a service, you add a
~theme
parameter to the service file and specify a value. This default can be overridden at runtime.
Procedure
The procedures in the table below table describe how to:
- Create a theme for a service.
- Specify a default theme for a service.
Function |
Procedure |
Create a theme |
- Choose the File View tab, and select the service.
- Choose Project
®
Add to project
®
Theme, or press the right mouse button and choose Insert
®
Theme.
The SAP@Web Studio creates a new directory in the File View, and places the cursor in the directory name box. - Enter a name for the directory and press
Enter
.
If you intend to use ITS source control to manage your files, choose a theme name that is no more than two characters long. |
Specify a default theme |
- Choose the File View and double-click on the service.
The SAP@Web Studio displays the service file in the main work area. - Find the
~theme
parameter in the file.
- If the parameter already exists, select it.
- If the parameter does not exist:
- Place the cursor in the bottom (blank) field in the Name column.
- Enter
~theme
in this field.
- Click on the Value part of the same row, and enter a two-character theme name.
|
Result
When you have created a new theme, you can add HTMLBusiness templates and other ITS files, or copy existing files from another theme to the new theme.