You need to link a HTTP request to an ICF service so that the HTTP request handler is called up in the browser when a URL is entered. Use transaction SICF to do this. You must first have implemented the class that represents the HTTP request handler. This class implements the interface IF_HTTP_EXTENSION. You have then implemented the method HANDLE_REQUEST().
Once you have performed these actions, you can link your HTTP request handler with an ICF service in transaction SICF. For more detailed information, see the section Creating a Service.
If required, you can use virtual hosts/servers. In Web server systems, virtual hosts allow a host to be accessible via various combinations of host names and ports. The host names here must be aliases. The computer then acts differently depending on the method of access; for example, it takes different locations in the file system as the root. For more detailed information, see the section Virtual Hosts.
If you want to use internal or external aliases, read the following detailed information about assigning aliases when implementing handlers:
You must first activate your service before you can call it from the browser. A service in the HTTP service tree can be active (black font) or inactive (gray font). A client (such as a Web browser) can only call active services. If you call an inactive service, you will see a message that access to this page is locked. For information about how to proceed, see Activating and Deactivating an ICF Service. You can now call your HTTP request handler by calling the corresponding URL.
SAP Web Application Server is running on the host saphost on port 8080.
In transaction SICF, you have created the service sap/bc/ping in the HTTP service tree, and entered your handler class CL_HTTP_MYHANDLER in the handler list (see Creating an HTTP Request Handler).
If you enter the URL http://saphost:8080/sap/bc/ping, the method handle_request(), which you created for your HTTP request handler, is called.
Services are defined under the node Public. These services are mainly intended for test purposes. These services are different from other services in the tree in that although no user data is set for these services, they require no logon to the SAP System. All actions in these services are carried out under a standard system user. For this reason, you cannot create your own service under the node Public.
Special services are located under the Options node. These services are for internal SAP use.
In the following section, you can read about creating an ICF service.