Procedure documentationStep 1: Generating an Internet Service and Templates Locate this document in the navigation structure

 

To make your application executable on the browser of a mobile device in the context of ITSmobile, you first need to generate the corresponding Internet service and the relevant templates.

Prerequisites

  • To be able to generate templates, you require a functioning SAP Web AS ABAP application. The screen layout of the application must be designed for mobile devices and their limited visualization functions.

    • The maintenance size of the screen must be adjusted to the screen size of the mobile device. The HTML template generator uses the maintenance size of the screens (number of rows / columns) to build an HTML table with a character matrix.

    • The application should use only screen elements that are supported by ITSmobile. For a list of supported elements, see Supported Screen Elements.

Procedure

To create an Internet service with the relevant templates, proceed as follows:

  1. In transaction SE80, select the package in which you want to create the Internet service.

  2. In the tree structure of the package, select the ITS Services entry, and choose Create from the context menu.

    Note Note

    If you have newly created a package, choose   Create   More   Internet Service  .

    The screen for creating an Internet service appears.

    End of the note.
  3. Enter a service name and a transaction that is to be linked to the service. Leave the ITS Mixed Mode option unselected and save your entries.

    A Theme 99 folder is created for the service at the same time as the service.

  4. 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).

  5. Enter the name of the previously created service and a theme (such as 99) and selection Mobile Devices as the generation style.

  6. Choose Save to confirm.

    You have now generated an ITS template for every selected screen.

  7. In transaction SE80, switch back to your Internet service.

  8. Select the service and choose   Publish   Entire Service   from the context menu.

  9. Ensure that you publish to SITE INTERNAL.

    A message in the status line shows whether the publishing to the INTERNAL site was successful.

Result

This completes the generation of the service and the templates. So that you can call your service using the browser, you now need to Create an ICF Service that links your Internet service with an HTTP access path.