cancel
Showing results for 
Search instead for 
Did you mean: 

Autocomplete input field for Webdynpro ABAP

Former Member
0 Kudos

Dear Sir/Madam,

We implemented a custom user interface  for material search based on Search Engine Service (SES – TREX) with WebDynpro Abap. On this tool, our users can type a free text to find materials. Our master data has too much characteristics and not always the user knows the exactly word to type. We would like to improve our tool by making available text suggestion features. Also known as autocomplete input field search. For webdynpro Java, we find some material talking about Suggest Values features for Input field, but we did not find anything similar for Web Dynpro ABAP. Could you suggest an alternative to implement this requirement (such as google like suggestion for material)? Is there any standard component available for WebDynpro ABAP?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

amy_king
Active Contributor
0 Kudos

Hi Wei Huei,

With NetWeaver 7.0 EhP2, the InputField element has a new property, suggestValues. I believe this is what you're looking for. What Enhancement pack level are you on?

See also, Proposals for InputFields.

Cheers,

Amy

Former Member
0 Kudos

Hi Amy,

Thanks for your reply!!

We are in transition from Netweaver 7.0 EHP01 to 7.31 EHP06, soon we will have the necessary tools to develop it.

Best Regards,

Wei

Answers (2)

Answers (2)

Former Member
0 Kudos
Dhivya
Active Participant
0 Kudos

Hi Lai,

  1. First Create the search help (ZXXXXX) for the input field .

  2. Use that search help in attributes which you will create in the controller of the view.

       In Attribute Property :

          

          a. Input Help Mode : Dictionary Search Help

           b. Dictionary Search Help : <ZXXXXX>

  3. Create InputField Element in view.

  4. In Value property of the InputField Element, map the attribute created in controller.

  5. Check the Suggest Value Property of the InputField Element.

I hope you get the solution for your problem.

Thanks,

Dhivya