Inicio del área de contenido

Documentación proceso de fondo ITS File Types Localizar documento en árbol de navegación

All applications developed in the SAP@Web Studio are known to the Internet Transaction Server (ITS) as services.

A service is the set of files required by the ITS to drive an application that accesses data in the R/3 System and users can run from any Web browser. Each service can contain up to five ITS file types:

The ITS also derives information from the global service file, which contains settings that apply to all services.

Service File

The service file contains the service description, which is the set of parameters that determines how a service runs. If this information is incomplete at runtime, the ITS may derive some details from the global service file (see below) and/or require the user to enter logon information. There is one service file for each application.

Each service can be divided into one or more themes. Themes are instances of services that differ only in look and feel (appearance, graphics, layout or language). Each theme has its own set of files, which can include HTML templates, flow files, JavaScript files, language resource files and MIME files, but the functionality of the service is identical.

HTML templates

HTML templates are the means used by the ITS to display application screens in a Web browser when running a service. For each screen, there must be one HTML template. Each template contains standard HTML code and HTMLBusiness statements. HTML Business is an SAP-specific macro language, which allows you to merge R/3 data dynamically into HTML templates.

Flow Files

Flow files contain the flow logic that defines the dialog flow in screen-independent applications based on the ITS Flow Logic implementation model. The course of the dialog flow depends on what the user decides to do at runtime.

In these applications, there is one flow file for each HTML template that requires a dialog flow definition. Each flow file contains eXtensible Markup Language (XML) statements, using a predefined subset of XML elements.

Language Resource Files

Language resource files contain language-independent texts used by the ITS to run a service in a particular language.

Instead of hard-coded texts in a specific language, HTML templates contain placeholders and the actual texts are stored in language resource files. At runtime, the ITS looks for placeholders in the templates and replaces them with texts from the language resource file for the relevant language.

MIME Files

MIME files contain the image, sound, and video elements often included in services to enhance the visual appearance and effectiveness of applications.

Global Service File

Services also derive information from the global service file, which is created automatically during ITS setup and defines default parameter values for all services. The values defined in individual service files always override values in the global service file.

Summary of ITS File Types

The following table summarizes the file types used in ITS-driven Internet applications and specifies their name format and extenson. The table also specifies whether each file type is required or optional.

File Type

File Name Format and Extension

Required or Optional?

Service file

<service>.srvc

Required.

HTML templates

The name format of HTML templates depends on the ITS implementation model you use to develop applications.

Format for screen-based applications driven by R/3 dialog transactions:

  • Language-independent templates:

<program>_<screen>.html

  • Language-specific templates:

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

The <program> , <screen> , and <language> elements refer to the R/3 program, screen, and development language of the associated ABAP transaction.

Format for screen-independent applications based on ITS Flow Logic:

  • <template name>.html

Required.

Flow files

  • <template name>.flow

In screen-independent applications based on flow logic, the flow file is attached to the HTML template with the same name.

Required only in applications based on ITS Flow Logic.

Language resources

<service>_<language>.htrc

Optional.

MIME files

MIME file name formats are arbitrary and the file extensions depend on the type of file you are using. Here are some examples:

  • Image files:
    • <name>.gif
    • <name>.jpeg
  • Video files
    • <name>.avi
  • Sound files
    • <name>.wav

Optional.

Global service file

global.srvc

Required.

The location of files that make up ITS-driven applications depends on the file type and whether the files have already been published.

Fin del área de contenido