Show TOC Entering content frame

Procedure documentation Creating an Internet Service Locate the document in its SAP Library structure

Use

In order for you to log onto the SAP system and start a Web application, the Internet Transaction Server (ITS) requires a relevant Internet service. This is created as a development object in the Workbench and includes further components that represent components of an ITS-based Web application.

Prerequisites

·         You know the significance of the different ITS implementation modes (screen-based applications versus screen-independent applications).

·         If you want to create an Internet service for a transaction (screen-based model), you should check the classification of this transaction in the SAP system and change it if necessary. The default classification of a transaction is Professional User Transaction.

Procedure

You create a new Internet service in the initial screen of the Object Navigator.

       1.      Open the Object Navigator (transaction: SE80).

       2.      From the object list, choose Internet Service.

       3.      Enter a name for the service you want to create.

Note that all Repository objects in the customer namespace begin with Y or Z.

       4.      Click This graphic is explained in the accompanying text or choose Enter to confirm your entry.

The system checks to see whether or not an object with that name already exists in the SAP system. If it does not exist already, the Create Object dialog box appears.

       5.      Choose Yes to create the service.

The system displays the Create Internet Service dialog box.  

       6.      Select the Type of Internet Service.

You can specify the type of Internet service depending on the programming model you want to use to implement your Web application. In general you can choose a programming model that is screen-based or screen-independent. If you use the screen-based model, you should choose the type Screen-based application and then enter the transaction code of the relevant SAP transaction. If you only want to generate HTML templates for some of the screens in the SAP transaction, set also the flag ITS Mixed Mode. For more information, see Using Mixed Mode.

If your Web application is for a programming model based on the flow logic that is not screen-based, you should select the option for a Flow Logic-Based Application. You can also enter the name for a Start template. In this case, the corresponding template is generated once the Internet service has been created.

       7.      Choose This graphic is explained in the accompanying text Save.

The system then displays the Create Object Directory Entry dialog box.

       8.      Assign a package to the service and choose This graphic is explained in the accompanying text Save.

Result

The Internet service has now been created as a development object in the SAP Repository, and appears in the object list. The service has been assigned the theme 99, which is the current theme.
If you selected the type Screen-Based Application in step 6, the corresponding parameter ~TRANSACTION is generated for the service. If you also set the flag for ITS Mixed Mode, the corresponding parameters are generated and assigned values. You can find a short description of these parameters under Using Mixed Mode.

This graphic is explained in the accompanying text

Note

Flow Logic-Based Application is only valid for SAP ITS 6.20.

If you chose Flow Logic-Based Application as the type of Internet service, the following 3 parameters are generated:

Parameter

Value

Description

~INITIALTEMPLATE

<Template name>

for example, initial

Name of the HTML template that is used to start the Internet.

This parameter is required for flow logic-based Web applications.

~WEBTRANSACTIONTYPE

miniapp

Type of service

This parameter is mandatory for MiniApps.

~XGATEWAY

sapxginet

Name of the X gateway with which the Internet service is started.

This parameter is required for flow logic-based Web applications.

See also:

·        Components of Internet Services

·        Using Mixed Mode

·        Generating HTML Templates

·        Publishing a Web Application

 

 

Leaving content frame