on 09-17-2012 2:07 PM
Dear Experts.
How to create a filter criteria for webdynpro table...
The senario is like this..If i have a username and user description in table.If the click on username table row header a filter criteria should open in which can enter username and if i click on OK button only that row should be visible in the table.
Awating for your reply
Katrice
Hi Katrice
Ditto on what Monishankar says above, I just wanted to add some links to documentation.
Cheers,
Amy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Katrice,
It good to use ALV instead of table to get a filter criteria in the output & also u can do more if u want.
However in case of specific requirement if u r using table & want to apply filter then u have to follow some certain steps to get the functionality.
Check component 'DEMO_TABLE' in your system. Chek view 'SORT_AND_FILTER_VIEW'. Its very easy to define & also test the appplication to get a overview of the filter functionality.
Reply in case of any issue.
Regards,
Monishankar Chatterjee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can create a filter on the column 'user name'. In the Layout, go to this Column and Bind the 'Filtervalue' property to some attribute in a context node.
Also assign some action to the Table event 'onFilter'. In the handler read the value of user input and accordingly remove the rows which does not fulfill the filter criteria and bind the internal table again.
Don't forget to keep a copy of the internal table in a view attribute or any other place.
Regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create Toolbar and Add Filter(link to URL),Search Button, Input field at top.
By clicking Filter, Search button & input field should be visible.
Enter the search criteria in input field and click on search using Select stmt fetch the query(use keyword LIKE).Populate result in Table control.
Regards,
Ashok.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please use ALV instead of Table COntrol in Wendynpro and that will provide the Filter utility by default.
Phani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think if you use ALV table output , it is inbuilt functionality.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.