cancel
Showing results for 
Search instead for 
Did you mean: 

Table filter

0 Kudos

Hi All,

I am using transparent table and I need column filter for the table. Please help.

Thanks and Regards,

Sachin.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Code of Table filter and declare an attribute of type IF_WD_TABLE_METHOD_HNDL.in attributes tab.

METHOD wddomodifyview .

IF first_time = abap_true .

DATA wd_table TYPE REF TO cl_wd_table.

  • Name of the table UI element to be provided

wd_table ?= view->get_element( 'TABLE' ).

wd_this->table_filter ?= wd_table->_method_handler.

ENDIF.

ENDMETHOD.

METHOD onactionfilter .

wd_this->table_filter->apply_filter( ).

ENDMETHOD.

Regards,

Basuvaraj.P

0 Kudos

Hi Basuvaraj,

I did the same as you suggested, but it is giving error that 'Table-' is expected and not 'Table_filter'. So I made it 'wd_this->table ?= wd_table->_method_handler'. After doing changes I could eliminate errors but when I test the application It is giving error that 'Assert condition is violated'.

Answers (0)