Use
You create a controller to use a
Model View Controller design pattern in your BSP application.Prerequisites
You are in an SAP Web AS 6.20 system.
Procedure
In doing so, you determine the controller name and the class name of the controller. The URL is automatically inserted from the name of the BSP application and the controller name.

If you create your class directly from the Web Application Builder by double-clicking on the class names, then the inheritance of
CL_BSP_CONTROLLER has already been configured.You can find additional information about these methods in
CL_BSP_CONTROLLER.Example
You can find examples of controllers in BSP application
ITMVC.