HTTP Communication Using the SAP System as a Server 

Purpose

You can use the Internet Communication Framework to enable the system to process HTTP requests as a server.

The HTTP Request Handler implements the application logic called by the request.

The ICF provides interfaces that make it possible to use the HTTP connection. The interface IF_HTTP_SERVER models the entire HTTP connection. This interface is used to access the request and the response.

Prerequisites

You have configured SAP Web Application Server so that it can receive requests from the Internet. For more information on this, see SAP Web Application Server Architecture. The parameter icm/server_port_<xx> is used to parameterize the Internet Communication Manager.

Process

First, you need a HTTP Request Handler. (The HTTP request handler CL_BSP_EXTENSION is delivered with the system so that you can use Business Server Pages. For more information on this, see Creating Web Applications with Business Server Pages.)

The section Design describes the Interaction Model, which defines the behavior of the ICF in the server role.

The section ICF Interfaces describes the interfaces that the ICF provides for working with a HTTP connection. You need these when implementing your HTTP request handler.

See Using the ICF for information on how to make the HTTP request handler known to the ICF using transaction SICF.