Skip to Content

Change Filter Field to Dropdown in FIORI elements

Hello,

I have created a FIORI elements application, By default the values for selection are displayed as input help. I would like these fields to be displayed as drop downs. Where can I change this ? Do we have any annotations in ABAP CDS to display this field as a drop down ? or do I have to extend my FIORI app ?

Thank You,

Kabir

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 08 at 12:33 PM

    Hi Kabir,

    Yes it is possible to create value help drop downs. You can see examples of this in the SAPUI5 SDK here:

    https://sapui5.hana.ondemand.com/#/topic/2a0a630e50c7472b803fb94dab922d18

    To achieve this your OData Service needs to provide fixed values or value helps (the dropdown list) for the relevant property (the field).

    If you are following the ABAP Programming Model for Fiori:

    Typically you would provide value helps via foreign key or modeled associations in the CDS view used to create the OData Service.

    https://help.sap.com/viewer/cc0c305d2fab47bd808adcad3ca7ee9d/7.52.1/en-US/ce9deec2b91746f7b2f1ca4421256754.html

    Rgds

    Jocelyn

    Add comment
    10|10000 characters needed characters exceeded