Use
To start a Web application and log on to the SAP System, there must be a service for the ITS. In SE80, the service file is represented by a development object of the Internet Service type. The system also needs a set of specific parameters to assign the Web application to a service.
Procedure
To create a new Internet service for the Web application:
The system checks to see whether or not an object with that name already exists. If there is not, the Create Object dialog box appears.
The system displays the Create Service dialog box.
The system then displays the Create Object Catalog Entry dialog box.
The system displays the service you have created in the object list tree structure. By default, Theme 99 is automatically assigned to the service as the current theme.
You can use the possible entries help to display a list of all service parameters, including a short description of each one.
Parameter |
Value |
Description |
~INITIALTEMPLATE |
<Template name> for example, initial |
Name of the HTML template that is used to start the Web application (choose any name you want). This parameter is mandatory for flow-based Web applications. |
~WEBTRANSACTIONTYPE |
MM MiniApp |
Type of service This parameter is mandatory for MiniApps |
~XGATEWAY |
sapxginet |
X gateway name This parameter is mandatory for flow-based Web applications. |
~LOGIN |
For MiniApps, this parameter is entered without a value | |
~PASSWORD |
For MiniApps, this parameter is entered without a value |
If you create a MiniApp, you must enter the two service parameters,
~LOGIN and ~PASSWORD without a value, so that later, when the MiniApp is integrated into the Workplace, the system can get the user data from the cookie. (When users log on to the Workplace, their User ID and password are stored in a Cookie; otherwise Single Sign-On does not work).When you test the Web application as a standalone application (in Step 7 of this tutorial), the system displays a message relating to these two parameters
Result
The Internet service is stored in the R/3 Repository as a development object.
Theme 99 is created as the current theme for the service. The additional parameters specify the type of service and the way the ITS will execute it. The example in this tutorial shows you how to execute a service of the MiniApp type, which is started with the
initial template using the X Gateway sapxginet . If you defined the name for a Start template (step 6), this template is also generated.
In the next lesson:
Step 3: Creating HTML Templates