Inicio del área de contenido

Procedimiento Creating Themes Localizar documento en árbol de navegación

Use

You use this procedure to create themes.

When you have created a service, you should create at least one theme to store your HTML templates and other Internet Transaction Server (ITS) files. If necessary, you can create multiple themes for your service and define a default theme.

Procedure

The procedures in the table below table describe how to:

Function

Procedure

Create a theme

  1. Choose the Workspace – Project View and select a service.
  2. Choose Project ® Add To Project ® Theme, or press the right mouse button and choose Insert ® Theme.

The SAP@Web Studio creates a new directory called <th> , where th is a 2-digit number, in the Workspace – Project View under the selected service. The value of th is the lowest available value. Therefore, the first theme you create is called 00 , the second theme 01 , and so on.

If you wish, you can rename this directory. However, if you intend to source-control your files in the R/3 Repository, you should choose a theme name that is no more than two characters long.

When you have created a new theme, you can add HTML templates and other ITS files, or copy existing files from another theme to the new theme.

Specify a default theme

  1. Choose the Workspace – Project View and double-click on the service.
  2. The SAP@Web Studio displays the service file in the main work area.

  3. Find the ~theme parameter in the file.
  • If the parameter already exists, select it.
  • If the parameter does not exist:
    1. Place the cursor in the bottom (blank) field in the Name column.
    2. Enter ~theme in this field.
  1. Click on the Value part of the same row, and enter a two-character theme name.
Fin del área de contenido