Start of Content Area

Background documentation Setting Up Error Pages  Locate the document in its SAP Library structure

Use

For each service, you can specify which pages are sent to the caller if errors occur.

Features

You can define the following types of error pages:

·        Logon error (HTTP 401: Logon failed)

·        Application error (HTTP 500: Application error, such as an ABAP short dump)

·        Logoff page

·        Not accessible (HTTP 404)

For each error, an explicit page can be sent to the browser, or the user can be redirected to a particular URL.

When logon errors occur, you can also give the user the option of logging on to the system directly.

Activities

       1.      In transaction SICF, double-click the required service or service node.

       2.      Choose This graphic is explained in the accompanying text Change.

       3.      Under Error Pages, choose the required error type.

       4.      For each error type, select the option Explicit Response Page, Redirect to URL, or System Logon.

       5.      Define the error pages:

Note

When you make these settings in a service node, it is passed on to all services under this node.

Response Page

Define the header and body of the page that you want to send to the client if an error occurs. The body of the page is given an OTR (Online Text Repository) alias. This means that the body text is available in the OTR and will be included in the translation process. Once the text has been translated, it is available in the user’s logon language.

Redirect to URL

Specify a URL to which the call is sent if an error occurs. The form fields can be either omitted, specified in text form, or Base64-encoded.

System logon

If you select the System Logon option, you can send a response page that prompts the user to log on to the system directly.

Note

You can create a variant of the page to meet your requirements. To do this, implement a separate class that overwrites certain methods of the class CL_ICF_SYSTEM_LOGIN. You can then specify this class under Settings when you activate System Logon.

See also Logging on to BSP Applications.

 

       6.      Save your data by choosing This graphic is explained in the accompanying text.

Additional Information

Format and Parameters of the Error Document

Managing Error Information

 

 

 

 

 

 

End of Content Area