Skip to Content
0

Change Filter Field to Dropdown in FIORI elements

Mar 07 at 11:28 PM

167

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Jocelyn Dart
Mar 08 at 12:33 PM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thanks a lot Jocelyn :-)

0