Entering content frame

Procedure documentation Step 2: Creating a Service Locate the document in its SAP Library structure

Use

To start a Web application and log on to the SAP System, there must be a service for the ITS. The service file is represented in SE80 using 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:

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.

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 service dialog.

6.       Choose Flow-Based Application as the type of Internet service. In the First Template field, enter the name of the HTML template with which the system will launch the Web application. (You will create this template later).

7.       Choose This graphic is explained in the accompanying textSave.

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

8.       Assign a package to the service.

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.

9.       In the object list, double-click on the new service.

10.   Choose Change mode and click the Parameters tab.

11.   Enter other parameters and values as necessary.

This graphic is explained in the accompanying text

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

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

Caution

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

12.   Choose This graphic is explained in the accompanying text.

Result

The Internet service is stored in the 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.

This graphic is explained in the accompanying text

In the next lesson:

Step 3: Creating HTML Templates

 

 

Leaving content frame