Show TOC

Creating Controller MethodsLocate this document in the navigation structure

This option allows you to add a method.

Context

You can define custom methods for both View controller and Component controller in addition to the default methods available for each controller.

Procedure
  1. In the Project Explorer view, access the required Web Dynpro component.
  2. Expand the Web Dynpro component.
  3. Select the required controller.
    Note

    Open a View controller context or a Component controller context to define a custom method.

  4. Click the Methods page.
  5. Click Add Method.

    The New Method window appears.

  6. Enter a method name and description.
  7. Click Finish.

    Method

  8. Activate the Web Dynpro Component. For information about activation, see Activating Web Dynpro Components.
Note

To navigate to the programming interface, select a method and use any of the following options:

  • Select F3.
  • In the context menu, choose Navigate To