
Use transaction SICF to create and maintain virtual hosts and services. The logon data to the AS-ABAP in particular is stored with the service. For more details, see Defining Logon Procedures.
If a request is sent to the AS- ABAP, there are two options:
If all of the user data is stored with the service, this data is used by the system for logon to the AS-ABAP without any user logon dialog. We refer to this as an anonymous logon with a default user.
If either the user name or the password is not stored, the browser sends a dialog box the first time the user submits a request, where the user must enter user name and password. The browser then generates a cookie in accordance with the Basic Authentication Standard that remains valid for the duration of the browser session. If the browser is restarted, the system queries the user data once again. Basic Authentication does not query client or language data. This information is stored with the service. If no language is stored there, the logon language is automatically taken. The same applies to the client.
See also:Anonymous Logon Data
If the BSP application should be accessible without logging on, you can store a default user for the application. You do so by creating a new ICF Service in transaction SICF with the name of the BSP application under the relevant handler for BSP applications (for SAP applications /sap/bc/bsp/sap). For details on how to create a new ICF Service, refer to Creating an ICF Service.
You can assign this service user information such as name, password, and default language. All HTTP requests to the BSP application are then automatically executed using the authorizations of the user stored. The user stored should be of the type Standard SAP User, which has the required attributes:
The password is retained
Multiple logons are possible
A dynamic user switch to an Internet user is possible
Note when setting up a default user for an application, this user is only used for URLs that reference this application. the HTML pages receive references to other applications or images in other paths such as style sheets or graphics in the PUBLIC directory in the MIME Repository, these paths must also be provided with default users. Otherwise, when it attempts to request the style sheets or images, the browser will be refused and the logon dialog box displayed.
You created a BSP application entitled bookstore that contains the page default.htm as the initial BSP. If you then call the application in the browser with the URL
http://<host>:<port>/sap/bc/bsp/<namespace>/bookstore/default.htm
you will have to log on to the SAP System with the Basic Authentication in the dialog box that appears.
To avoid this, perform the following steps:
In SICF, create a service bookstore under the ICF Service sap/bc/bsp/<namespace> as described in Creating an ICF Service.
Under Service Attributes, enter a user known to the system (that has the required authorizations) and the password. You can also specify a language and a client here.
The logon dialog will now be omitted when you call the URL.