Show TOC

Configuring a ProxyLocate this document in the navigation structure

Use

If you use the Application Server as an HTTP client, you can determine a proxy that is used for outgoing HTTP requests.

A proxy server is used as a security barrier between the internal network (intranet) and the Internet, by preventing other persons on the Internet from having access to the confidential information in the intranet.

Procedure

The following describes how you can configure a proxy server in Transaction SICF. As a developer, you can also make the configuration in your client ABAP program when you generate the client object. Example Program: Executing an HTTP Request).

  1. Enter the transaction code SICF. On the subsequent selection screen, choose Execute.

  2. Choose Start of the navigation path Client Next navigation step Proxy Settings End of the navigation path.

    A dialog box appears, in which you can configure the proxy server. Here you can configure the proxy server that should be used.

    • Use the Proxy setting is active checkbox to determine whether the connection to the Internet should be made via a proxy server, using the configuration that you have specified here.

    • If you activate No proxy setting for local servers, you determine that the proxy server should be used for all local (intranet) addresses. Those servers with hostnames that do not contain any domains, such as PC01 instead of PC01.sap.com, count as local servers.

      Note

      Since a proxy server works as a security barrier between the internal network (intranet) and the Internet, you may require special authorization from the system administrator to access websites with the proxy server. It may be easier and faster to access local addresses if you do not use the proxy server.

    • You can use the field Authorization as follows: When you enter a text (such as 'CHECK') in this field, when you use the global proxy setting the system checks the user's authorization for this value. The authorization object used is S_ICF. In this example, the user must have the following authorization: S_ICF-ICF_FIELD = 'PROXY' and S_ICF-ICF_VALUE = 'CHECK'. If the user does not have this authorization, the settings that were maintained are not evaluated for the HTTP request.

    • In No Proxy for the Following Addresses, you can maintain the Web addresses (host names) that should not be accessed using the proxy server. If you want to connect to a server in the intranet, ensure that its address is entered here. If, for example, the server is called PC01, enter PC01 in the field.

      Note

      You can use placeholders to assign domain and host names, such as www.*.com;*x* and so on.

      The ABAP language element CP compares addresses to assess individual entries for the use of the proxy setting.

      The individual entries must be closed by a semi colon (;).

      Furthermore, for the HTTP and HTTPS protocols, you can store the host name and the proxy server port, as well as users and passwords for logging onto the proxy server.

      Caution

      Ensure that the proxy settings are not transported!

More Information

For detailed information about authorization object S_ICF, see: