Entering content frameProcedure documentation Creating Error Pages Locate the document in its SAP Library structure

Use

If on a page that contains flow logic, a view, or a controller, a runtime error occurs, you can assign an error page to it. When a runtime error occurs during execution of this (other) page or this controller, the system automatically processes the assigned error page and sends it to the browser. If no error page is assigned to a page/a controller, in case of a runtime error the system displays a standard page. If runtime errors occur in a called controller or view and there is no error page, this section remains empty.

Prerequisites

Procedure

To identify a page / a controller as an error page:

  1. Select the page or the controller for your BSP application.
  2. Go to the properties display and switch to Change mode if necessary.
  3. In section Error Handling, mark the checkbox Is Error Page.
  4. Save your entries and activate the page or controller.

Result

You can now assign this page or controller as Assigned Error Page to another page or another controller.

Example

The BSP application ITMVC contains an example of how to implement and use an error page.

 

 

Leaving content frame