
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 |
|
Network |
|
OfficeControl |
|
InteractiveForm |
|
BIApplicationFrame |
|
BusinessGraphics |
|
Table |
You can use the method handler with method WDDOMODIFYVIEW.
Syntax
Example of Table:
method wddomodifyview.
data:
lr_table_control type ref to cl_wd_table,
lr_container type ref to cl_wd_uielement_container,
lt_items type string_table,
lt_actions type string_table.
* save the method handler
check first_time = abap_true.
lr_table_control ?= view->get_element( 'TABLE' ).
wd_this->m_table_method_handler ?= lr_table_control->_method_handler.
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.
For more information about the methods see the relevant documentation for the respective method.