The Internet Communication Manager guarantees communication between the SAP System (SAP Web Application Server) and the outside world via the protocol HTTP, HTTPS and SMTP. In its role as a server the ICM can process requests from the Internet that arrive as URLs with the server/port combination that the ICM can listen to. The ICM then calls the relevant local handler for the URL in question.
You need the ICM if you want your SAP Web AS to communicate with the Internet via HTTP, HTTPS or SMTP, like Web applications do with Business Server Pages.
The ICM is a component of the SAP Web AS. It is implemented as a separate process, which is started and monitored by the dispatcher. In the profile parameters you can set whether the ICM is to be started and how it is to be configured. The sections below contain more details:
Administration of the Internet Communication Manager
Parameterization of the ICM and the ICM Server Cache
The ICM process uses threads to parallel process the load.
The following illustration shows a detailed overview of the ICM.
Besides the pool of worker threads, which process incoming requests, the following ICM components are also implemented as threads:
● Thread Control
This thread accepts the incoming TCP/IP requests and creates (or wakes) a worker thread from the thread pool to process the request. From this point on, thread control initializes the connection info data.
● Worker Threads
These threads handle connection requests and responses. A worker thread contains an I/O handler for the network input and output, diverse plugins for the various supported protocols (HTTP, SMTP,…), which are required to be able to decide when the sent packet is finished (depends on the protocol). You can more information about processing requests under Processing HTTP Requests.
● Watchdog
Usually, a worker thread waits for the response, regardless of whether the worker thread is a server or a client. If a timeout occurs, the watchdog takes on the task of waiting for the response. This makes the worker thread available for other requests. When the watchdog receives the response, it informs the thread control components, which then call a worker thread.
● Signal Handler
This thread processes signals sent from the operating system or from another process (for example, the dispatcher).
● Connection Info
This table contains information about the state of the connection, the memory pipes, and the plug-in data for every existing network connection.
● Memory Pipes
Memory pipes are memory-based communication objects that handle data transfer between the ICM and the work processes. For each connection there are four pipes: for each request and response one data pipe and an OOB (Out Of Band) pipe. The OOB pipe is used for control data.
● Internet Server Cache
The ICM contains another cache to enable repeated requests to be quickly responded to. This cache is not shown in the graphic,; it is described in a separate section: ICM Server Cache.