Show TOC

Creating Mobile Applications with ITSmobileLocate this document in the navigation structure

Use

You can use ITSmobile to make an application or parts of an application executable in the browser of mobile devices.

ITSmobile uses the tried-and-tested ITS template technique to do this. This technique is based on the concept that an HTML template for visualization in the browser is provided for every screen (dynpro) of the application. Dynamic content/data can be included in the templates at runtime using HTMLBusiness (HTMLB).

ITSmobile is delivered with a new template generator that allows you to generate the templates of simple screens directly. If necessary, you can then change these further to meet your requirements.

Caution

If you make changes to the application screens (dynpros), you always need to regenerate or manually adjust the templates.

If necessary, you can also create a completely new template generator, or create a new template generator based on the one delivered.

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.

  • On the system side, you also require an integrated ITS with at least the following service/patch status:

    • 640: 640: Kernel Patch 161, SAP Basis Support Package: 20 (SAPKB64020)

Advantages

Using the integrated ITS to visualize ABAP applications on mobile devices offers the following advantages:

  • The application can be developed and tested entirely in ABAP.

  • You can use SAP GUI for Windows to perform ABAP debugging.

  • Generating templates ensures a fast initial visualization of the application in HTML.

  • The templates and therefore the generated HTML can be tailored to your own needs.

  • Device-specific HTML or JavaScript functions can be easily integrated.

Procedure

To make an application or parts of an application executable in the browser of mobile devices, proceed as follows.

  1. Step 1: Generate an Internet Service and Templates

    First generate the templates for the required application screens (dynpros).

    To provide simple screens quickly, two standard services delivered by SAP (ITSMOBILE and ITSGENMOBILE) are used as the basis for the template creation in step 1.

  2. Step 2: Create an ICF Service

    In step 2, you create an ICF service with which you can call the generated templates over HTTP.

    Optional: Making Manual Adjustments

    If the templates generated in the standard way from steps 1 and 2 do not entirely fulfill your requirements, you can adjust them.