Skip to Content
0
Former Member
Apr 13, 2010 at 04:26 AM

filter option in table not in alv

30 Views

Hi,

I want filter option in table same as alv.

For this I created the node filter in that declared the attributes for the table coulumns. and binded to the each column filtervalue.

created the linktoaction in the table for filter...

in that action written: DATA: l_node TYPE REF TO if_wd_context_node.

  • in any case clear the table's filter strings

l_node = wd_context->get_child_node( if_View_name=>wdctx_filter ).

l_node->invalidate( ).

  • if the filter is off: show the whole shebang

wd_this->table_method_hndl->apply_filter( ).

here I am getting the error like Access via 'NULL' object reference not possible..

how can I know IF_WD_TABLE_METHOD_HNDL this interface is used in which class.

Please help me the same