on 06-28-2013 8:10 AM
Hi,
I want functionality where an input field could execute a function which searches for the key entered right when the key is being entered without hitting any buttons, like in the "filter by txt" field on the home page of sdn. Any suggestions on which events could be used?
Regards,
Dhiraj
Hi Dhiraj,
This is pretty much possible to realize in Web Dynpro. You need to do 2 things:
1) Associate a search help with the context attribute to which you are binding your input field. Lets say I have an input field on my screen wherein the user types in a, "Commodity Code" and I want the system to filter & suggest him matching commodity codes as he's typing into the field. I need to create a search help in SE11 which would take in a "Commodity code" as importing parameter and export back lets say, "commodity code & description". So the requirement is that as the user is keying in a commodity code the application would suggest him matching commodity codes and their descriptions.
2) Checkmark the, "suggestValues" property of the input field within the View layout. This signals to the framework that it should suggest possible values to the user as the user is keying in a value in the input field. Internally the framework exports the text that the user is typing to the search help that you had attached to the context attribute & shows the values that the search help exports back as possible suggestions.
Regards,
Uday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dhiraj,
Its now possible in WDA from NW7.02 & WDJ from NW7.30 as clearly specified by Uday!
Here is another link (from NW7.02) for the config needed for InputField and don't forget to check the DEMO_VALUE_SUGGEST demo WDA application for testing!
Thanks,
MS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dhiraj,
I would also like to add that this "suggestValues" feature is only available from Netweaver 7.0 Enhancement Pack 2. You can get further information about this feature & the prerequisites by going through this link
Regards,
Uday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dhiraj,
I think this is not possible as input field has only one event associate with it i.e ONENTER.
So can achieve the above functionality when user enters some text and presses enter.
Regards,
Sanjeev Kotwal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.