Show TOC

 Method Handlers for View Elements Locate this document in the navigation structure

 

In some UI elements additional actions connected with Customizing can be executed, and these methods are then available in addition to the standard methods.

UI Element

Method handler

Gantt

IF_WD_GANTT_METHODS

Network

IF_WD_NETWORK_METHODS

OfficeControl

IF_WD_OFFICE_METHOD_HNDL

InteractiveForm

IF_WD_IACTIVE_FORM_METHOD_HNDL

BIApplicationFrame

IF_WD_BI_APPLFRAME_METHOD_HNDL

BusinessGraphics

IF_WD_BUSIN_GRAPHICS_MTD_HNDL

Table

IF_WD_TABLE_METHOD_HNDL

You can use the method handler with method WDDOMODIFYVIEW.

Syntax Syntax

Example of Table:

  1. method wddomodifyview.
  2. data:
  3. lr_table_control type ref to cl_wd_table,
  4. lr_container type ref to cl_wd_uielement_container,
  5. lt_items type string_table,
  6. lt_actions type string_table.
  7. * save the method handler
  8. check first_time = abap_true.
  9. lr_table_control ?= view->get_element( 'TABLE' ).
  10. wd_this->m_table_method_handler ?= lr_table_control->_method_handler.
End of the code.

Then you can also access the various methods in actions.

Application developers work with the interface IF_WD_TABLE_METHOD_HNDL only; classes are created automatically by Web Dynpro.

More Information

For more information about the methods see the relevant documentation for the respective method.