Developing IACs with the Integrated SAP ITS

Use

The integrated ITS can only exexute dynpro-based application on the basis of an SAP transaction with or without mixed mode. It does not support WebRFC and WebReporting. For information about how to run ITS services with flow logic in integrated ITS, see Migration of ITS Services with Flow Logic.

When using the integrated ITS, as a web server the ICM service integrated in the SAP Web Application Server is used.

User Logon to the SAP System

With the integrated ITS, the web server is the ICM, which is a service of the SAP Web Application Server. An authentication at the SAP system is already executed before the ICM receives the HTTP request to forward it to the ITS. This means that service parameters for login data are either not necessary (for example, ~messageserver or ~client), or they are defined in transaction SICF as ICF parameters, for example, login data for the user (formerly ~login, ~password), and timeout information (formerly ~timeout ). For more information, see Maintaining ITS Service Parameters.

Storing and Calling HTML Templates, MIMEs, Language Resources and JavaScript Files at Runtime

With the integrated ITS, all files named above are stored in the database of the SAP Web Application Server. Because the ICM is a service within the SAP Web Application Server, every HTTP request (even, for example, for an image) results in a request to the SAP system. At runtime, the ITS service files need not additionally be stored on a file system.

Publishing the ITS Service

The integrated ITS at runtime retrieves required files directly from the database. Nevertheless, you have to publish the templates and MIME files. This procedure is required to activate changes to the ITS service files (which means that the integrated ITS uses the changed templates at runtime only after the publishing).

Publishing ITS Services to the Web Server

To be able to call an ITS service with the ICM, you must, apart from the described publishing operation, create and activate an ICF service of the same name once, using the ITS-specific handler CL_HTTP_EXT_ITS (for details, see Setting Up an ICF Service for the ITS Service (IAC)).

URL Syntax

An URL for the call of an ITS service with the standalone ITS looks as follows:

<protokoll>://<icm_server>:<icm_server_port>/<icf_path>/<its_service_name><service_parameter>
            

where icf_path is the path under which the ICF service was defined (default is sap/bc/gui/sap/its).

If you want to test an ITS service from within the Workbench, then you must maintain the ITS server and path of the integrated ITS in the Workbench under Start of the navigation pathUtilities Next navigation step Settings Next navigation step Internet Transaction Server Next navigation step Test Service in the field Other ITS Web ServerEnd of the navigation path.

Other Special Features When Programming ITS Services for the Integrated ITS

  1. Auto scroll to step loops is no longer supported. However, the screen with the step loop can be defined with maximum size (200 lines). Thus, all 200 lines of the screen are output (as with auto scroll) in one go. For step loops that exceed this limit, you must rewrite the IAC.

  2. When using logon parameters in HTML templates, enter them concurring to ICF. These are sap-language, sap-client, sap-user, sap-alias, and sap-password.