Skip to Content
0

How to get the suggestions for F4 Value help in UI5 screen

Mar 16, 2017 at 08:42 AM

186

avatar image

Hi ,

We have created OData service using SEGW annotations and from UI side we are using smart tables.

To get the suggestions for F4 help , we have added the SEGW annotation "Value list" for Country field. And we are able to get all the suggestions related to that Country field.

Issue: When we key in some value in the country field we are not getting the suggestions corresponding to the Keyed in value, instead we are getting all the data related to Country field.

We have also referred to SAP UI5 explored: https://sapui5.hana.ondemand.com/explored.html#/sample/sap.ui.comp.sample.smartfilterbar/preview

Here also we are not getting the data relevant to keyed in value, instead the whole data will be displayed as suggestions here.

Kindly let us know how can we get the suggestions corresponding to Keyed in values/ input values.

Thanks in Advance.

Regards,

Pooja

image1.png (104.5 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Christian Wolter Mar 23, 2017 at 08:56 AM
1

Dear Pooja,

you have to set the SearchSupported in the valuelist annoations to true. Then you can implement the search in the get_entityset-method of your valuehelp-entityset. The values you typed into your filterfield will be visible in the parameter IV_SEARCH_STRING. If the valuehelp-entityset uses SADL, you maybe don't have to implement the search.

Best regards

Christian Wolter

Share
10 |10000 characters needed characters left characters exceeded
VenkataAnilKumar Munnaluru Mar 28, 2017 at 10:32 AM
0

Hi Pooja,

The Search Parameter which be stored in the IV_SEARCH_STRING which is an Importing parameter of GET_ENTITYSet and by using this parameter you can restrict the output records, by passing to the Select Statement or SADL class.

Thanks and Regards,

Venkata Anil kumar M.

Share
10 |10000 characters needed characters left characters exceeded