cancel
Showing results for 
Search instead for 
Did you mean: 

logic regarding EVENTS OnFilter and OnLeadSelect for table ui element

Former Member
0 Kudos

provide me logic regarding EVENTS OnFilter and OnLeadSelect for table ui element for webdynpro abap application.

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

OnLeadSelect - What kind of logic do you want? There are many different things that you could do inthe OnLeadSelect

onFilter- Generally you use IF_WD_TABLE_METHOD_HNDL~APPLY_FILTER to perform the filter operation.

In the onFilter itself you probably just have one line of code:

wd_this->table_method_hndl->apply_filter( ).

In your WDDOMODIFYVIEW you probably have this code to capture the table_method_hndl object:

if first_time = abap_true.
  * Get reference of the table view element
  l_table ?= view->get_element( 'TABLE' ).

* Get reference to the Filter & Sorting API
  wd_this->table_method_hndl ?= l_table->_method_handler.
endif.