Show TOC

Accessing a BSP ApplicationLocate this document in the navigation structure

Procedure

As explained previously, you access BSP applications using the HTTP or HTTPS (Secure HTTP) protocol. The BSP runtime environment uses the HTTP framework of the SAP Web Application Server (compare Server Architecture). In the Internet Communication Framework (ICF), for a BSP application to function smoothly you need a node, that is, a service in the service tree (see also Creating a BSP Application

).

Caution

Ensure that after a SAP Web AS has been installed, that all services are inactive and that they must be activated accordingly. For more information on activation, see Activating/Deactivating ICF Services and in document Business Server Pages Administration. The node is activated in the service tree only with BSP applications that were newly created for SAP Web AS 6.20 as part of automatically creating the corresponding node.

A BSP application is addressed and executed through HTTP using a Uniform Resource Locator (URL). The URL of a BSP application has the following structure (default configuration):

<Prot>://<Host>.<domain>.<extension>:<Port>/sap/bc/bsp/<namespace>/<application name>

Protocol Prot is http or http (if configured). Host is the name of the application server that should execute the application. The domain with the extension encompasses several hosts under a common name. These can either be part of an individual host or a network. The Port number can be omitted if the default port 80 (http) or 443 (https) is used.

For SAP Web Application Server, the default port number is 1080 (HTTP) or 1443 (HTTPS). The namespace is the namespace ID of the BSP application. SAP applications are delivered in the sap namespace. If you create your BSP application in a separate namespace, it must be used in the URL. The application name is the name of the BSP application as defined in the development environment.

Example

Here is an example of a URL for BSP test application IT00:

http://myServer.sap-ag.de:1080/sap/bc/bsp/sap/it00

Caution

The full name of the server is specified, including the network domain (here: sap-ag.de). If this is not done, the BSP runtime environment returns an error. The full domain must be entered, as there may otherwise be problems with HTTP cookies (such as Single Sign On).

If the BSP that you start by calling Transaction SE80 contains a shortened URL (excluding the host name), proceed as described in SAP Note 434918.

When this URL is started in the Web browser, the BSP application is started, and the initial page is displayed (by default this is default.htm).

To determine the URL of a BSP or BSP application in the SAP development environment, select the Properties tab to the right of the SAP GUI screen.

Example

Example of page default.htm of BSP application IT00: