on 2011 Nov 21 6:13 AM
Hi All,
I am using transparent table and I need column filter for the table. Please help.
Thanks and Regards,
Sachin.
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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'.
User | Count |
---|---|
49 | |
6 | |
5 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.