Entering content frameFunction documentation Components Locate the document in its SAP Library structure

Use

Complex BSP applications that are based on the MVC Design Pattern have many extensive components. Each individual part, consisting of a complex BSP application, contains precise application logic and well thought out presentation logic. It makes sense to create the individual BSP components as reusable modules. These reusable modules are:

Together they form a component.

Caution

Components are only available for stateful BSP applications.

Integration

The use of components is integrated in the MVC design pattern.

Prerequisites

You are in SAP Web AS 6.20.

Functions

A component consists of a controller, whose class is derived from CL_BSP_CONTROLLER2, as well as one or more views, which can result in regular nesting. This is outlines in the following graphic:

This graphic is explained in the accompanying text

 

Central features of components are:

Note

If you want to use data binding functionality, you can add a model class to your component. For more information see Data Binding.

Activities

  1. Create the top-level controller
  2. Create a component
  3. Call the component
  4. Determine the input processing

 

 

Leaving content frame