Entering content frameBackground documentation From Pages to Controllers Locate the document in its SAP Library structure

With a "normal" page, the presentation is determined by the layout, whilst in the MVC design pattern, views specify the presentation. With normal BSPs, predefined event handlers are available to process events. With MVC on the other hand, events are handled by controllers.

Normal pages are different from controllers especially with regard to event handling and programming. The events of the pages can be matched with the controller methods:

Page events and main controller methods

This graphic is explained in the accompanying text

A main controller handles both input and output processing, where it uses the central method DO_REQUEST to call the methods specializing in input processing: DO_HANDLE_DATA, DO_HANDLE_EVENT and DO_FINISH_INPUT. In method DO_REQUEST, input processing must be triggered using DISPATCH_INPUT. This corresponds to the processing steps in the purely page-based BSP programming model that are executed using events Structure linkOnRequest, Structure linkOnInputProcessing, Structure linkOnManipulation and Structure linkLayout.

Page events and sub-controller methods

From method DO_REQUEST, the three following methods required for input processing are called:

This graphic is explained in the accompanying text

 

 

Leaving content frame