Entering content frame

Procedure documentation Determining Input Processing Locate the document in its SAP Library structure

Use

The browser sends its request to the top-level controller. This main controller dispatches the input to the appropriate sub-controller. This is why it is necessary to call method DISPATCH_INPUT in the top-level controller.

Procedure

Input processing consists of three steps:

  1. Filling data
  2. For every controller, method DO_HANDLE_DATA is called with a list of form fields that should be handled by this method.
    If an error occurs during the data conversion, then this method can also pass one or more messages to the global error object (
    global_messages).

  3. Handle event
  4. Method DO_HANDLE_EVENT is called for exactly one controller. The event is passed on and object htmlb_event is filled if it is an HTMLB-event. Method DO_HANDLE_EVENT has access to object global_messages, in order to determine the additional steps that are necessary, depending on the error. For example, in the case of an error, you can specify that you want to display the data again. You can also set a global_event using method DO_HANDLE_EVENT.

  5. Finish input processing

For every controller, method DO_FINISH_INPUT is called with a global event, which is set by the event handler method. The closing input processing is carried out here.

 

 

Leaving content frame