Show TOC

Step 2: Create and Adjust an Internet Service and TemplatesLocate this document in the navigation structure

Use

The second step of making ITS services with flow logic executable in the integrated ITS is to generate the corresponding Internet service and the corresponding templates.

Prerequisites

You have successfully performed Step 1: Create an ABAP Program.

Procedure

Create a Service

If the relevant Internet service does not yet exist in the system, you have two options: Either use the report SIAC_UPLOAD to upload it into the system and then continue with the Creating and Adjusting Templates section below. Or create the service manually as follows:

  1. Open the Object Navigator (SE80).

  2. In the context menu of the package, choose Start of the navigation path Create Next navigation step More Next navigation step Internet Service End of the navigation path.

  3. Specify the service name.

    In this case, use the name of the ABAP program you created in step 1 as the service name. Leave the Transaction field empty and the ITS Mixed Mode option unselected and save your entries.

    The new service appears as an entry in the ITS Services folder. By default, the created Internet Service is assigned the theme 99.

Creating and Adjusting Templates

  1. In transaction SE80, switch to your ABAP application and select all of the screens for which you want to create a template, and choose Create Template from the context menu (if necessary, through More Functions).

  2. Specify the name of the service created above and a theme (such as 99). Since you can choose any generation style, accept the generation style default WebGUI.

  3. Choose Save to confirm.

    You have now generated an ITS template for every selected screen. The templates appear in the ITS service folder under Theme99.

    Open the HTML Editor by double-clicking a template. In this way, you can copy the HTMLBusiness code for each template from the templates of the old flow logic service.

    Note

    In the templates, you need to replace ~event with ~OKcode for the templates to be correctly processed.

  4. If necessary, also create corresponding Mimes.

Result

The Internet service is stored with the corresponding templates in the Repository as a development object.

So that you can call your service using the browser, you now need to Create an ICF Service in step 3 that links your Internet service with an HTTP access path, and therefore allows browser display.