Class CL_BSP_CONTROLLER 

The methods of controller class CL_BSP_CONTROLLER are similar to those of CL_BSP_PAGE (see also the description of Interface IF_BSP_PAGE ), although the class also contains a few additional service routines that are important for application developers:

Central Methods

Method

Description

DO_INIT

Constructor

Attributes can be initialized here.

DO_INITATTRIBUTES

Reads the parameters from the request

The parameters can also be read in DO_REQUEST, but if this controller determines a component or if it can be called by a goto or call tag, then additional attributes can be set after DO_INITATTRIBUTES.
In this method, initializations that are required for each request can also be executed.

DO_REQUEST

Processes the request

This method does the main work; in particular it should branch to the correct view.

This method must be overwritten.

DO_DESTROY

Destructor

This method is not generally required.
It is called when the instance is deleted. It is not called if the instance is destroyed when the work process is deleted (for example, on timeout).

SET_ATTRIBUTE and GET_ATTRIBUTE

In the basis class, these methods are programmed very generally. If you know exactly which attributes should be set or read, you can specify these methods in greater detail. In doing so, you can use method INSTANTIATE_PARAMETER.