Entering content frame

Procedure documentation Implementing Event Handlers Locate the document in its SAP Library structure

To define an event handler, you must create a method for the view. To do so, proceed as follows.

Prerequisites

You have created two views, one of which is the start view and the other the subsequent view. An action has also been implemented.

Procedure

Et...

       1.      In the Web Dynpro Explorer, start the change mode for the subsequent view by choosing the context menu entry This graphic is explained in the accompanying textEdit.

       2.      Choose the Methods tab.

       3.      Choose New. Select Event handler in the dialog box that appears.

       4.      Choose Next.

       5.      In the next wizard window, specify the properties of the event handler.

       6.      Select the event source and the subscribed event and choose Next.

       7.      In the next window, you define the parameters for the event handler. Select the type from the corresponding dropdown list. Alternatively, you can select a simple data type from the Dictionary. Choose to select a DDIC type. In this window, you can also define the Java native types for your event handler.

       8.      Close the wizard by choosing Finish.

       9.      Save your changes by choosing This graphic is explained in the accompanying textSave all Metadata.

 

Leaving content frame