Skip to Content
avatar image
Former Member

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

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Mar 23, 2017 at 08:56 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 28, 2017 at 10:32 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded