Skip to Content
avatar image
Former Member

Table filter

Hi, I have created a filter on one of my fields in a table ui element in my view. I have also created a context attribute that I bind to the table element. I fill that context attribute with values so that the user can choose a value to filter on. In order to get the input field of the selection value open for input I am switching the filter function on /off. So far it's working. But my question is, when the user selects a value in the dropdown list, where should I create the action to handle the filter?

I suppose I have to add my own code that really filter the valus in my table? What is the method IF_WD_TABLE_METHOD_HNDL~APPLY_FILTER doing?

I found th component DEMO_TABLE but unfortunaltely I can not find the action FILTER anywhere, anyone that could help?

Thanks a lot, regards Lena

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • May 04, 2012 at 07:23 AM


    IF_WD_TABLE_METHOD_HNDL~APPLY_FILTER table utility functions r lik

    1. data-source must be bound to node without subnotes.

    2.Only static attributes may be attached to this node.

    3.The filter function does not work for hierarchical tables.

    here follow the below link for functionality of filter table

    and as per my understanding there s no logic of filter action in webdynpro , you can write a action code according to your requirements using context element, and bind with node. u can also try with onLeadSelection option to execute the action.

    Also u can refer the following threads for better understanding

    Hope its useful to u,



    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 06, 2012 at 03:50 AM

    Hi Lena

    If you put a DropDown UI in the table, you must use the action assigned to this DD.

    In the properties of this DD, there is an action called 'OnSelect'. Use this

    to create a new action. Each time the user selects an item

    you can find out what item he selects by probing the current

    element of the node this DD is attached to.



    Add comment
    10|10000 characters needed characters exceeded