Inicio del área de contenido

Procedimiento Creating HTML Templates Manually Localizar documento en árbol de navegación

Use

You use this procedure to create HTML templates manually.

Prerequisites

There must be a user in the R/3 System which your service is using.

You must create a service file first.

Procedure

  1. Choose File ® New and select the Files tab.
  2. Este gráfico es explicado en el texto respectivo

  3. Select HTML Business Template.
  4. Enter information depending on the type of application you are developing:
      1. In the Service Name field, enter the service name or select one from the list box.
      2. In the Program and Screen Number fields, enter the program name and screen number of the underlying R/3 transaction.
      1. In the Service Name field, enter the service name or select one from the list box.
      2. In the Template Name field, enter a name for the HTML template.
  1. Enter theme and language information as required in the following fields:
    1. Theme
    1. Language

If you enter a language explicitly, remember that the language key must be:

One character for R/3 releases prior to 4.0 (for example, e for English)

Two characters for R/3 releases from 4.0 (for example, en for English)

If you select a language from the list box, you must also check R/3 4.0 System for Releases 4.0 or higher.

  1. If you intend to use the controls in the SAP General HTMLBusiness Functions Library, select SAP Template Library.

This tells the SAP@Web Studio to create a skeleton HTML template for the purpose.

  1. Add the file to the current project or choose a different location:
      1. Ensure that Add to Project is selected.
      1. Deselect Add to Project.
      2. In the Location field, enter the desired project or browse to find a project.
  1. Choose OK.

Result

The SAP@Web Studio creates a new skeleton HTML template and displays it in the Workspace – Project View under the current service and theme (if applicable).

The format of the file name depends whether you have created a language-independent template or a language-specific HTML template:

HTML Template

File Format

Language-independent

<program name>_<screen number>.html

Language-specific

<program name>_<screen number>_<language>.html

You can now do one or both of the following, as required:

Fin del área de contenido