cancel
Showing results for 
Search instead for 
Did you mean: 

Drop-Down list in an Item table of Fiori elements list report app coming twice

3,109

Hello SAP folks,

I have created a list report application with Fiori elements.

On an object page, I have a header section and an item section, each having drop-down input fields.

To create a drop-down, I have used an annotation '@Consumption.valueHelp'. It is working fine for header section but for an item section, drop-down values are coming twice.

Below are the few links, that I followed to get the drop-down in an item section same as in header section, but nothing worked for me.

https://blogs.sap.com/2018/11/16/dropdown-list-in-fiori-elements/

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

How to build a drop down list using Smart template + CDS view | SAP Blogs

Can anyone shed some light on this?

Thanks!!

0 Kudos

Hi Neha,

The value we see inside the parenthesis is the corresponding ID for the texts?

Regards,

Abhilash

0 Kudos

Hi abhilash.pollath,

The drop-down values are coming from the value table and it is the only field in the table. There is no such 'Id' & it's corresponding 'text' concept in our scenario.

Thanks!!

View Entire Topic
daniel_nanovski
Employee
Employee
0 Kudos

Hi Neha,


Can you also provide the generated service metadata (from $metadata request) here so we can also try from SmartField side to see if there is something wrong with it? Or best if you have a link to a running application.

Best regards,
Daniel