cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smart Multi Input as ValueListParameterIn

ez_p
Discoverer
0 Likes
2,795

Good day!

We would like to ask for your expertise on the functionality we are trying to achieve.

We have fiori application with smart multi input filters. The annotation ValueListParameterIn works fine with smartfield control (single entry filter) as Parameter Input but when we convert the control into Smart Multi Input (multiple entries filter) the annotation ValueListParameterIn does not work anymore.


We are trying to replicate this blog below but we would like to use Smart Multi Input Control (based on requirements).

https://blogs.sap.com/2018/09/02/fiori-elements-list-report-selection-fieldssmart-filterbar-passing-...


Note: Smart Filter bar is not an option since we are not using smart table.


Requesting for your help. Thank you.

Accepted Solutions (0)

Answers (2)

Answers (2)

sunny20
Explorer
0 Likes

Hey Hi,

Probably its too late, In future if have a similar issue. try to keep the parent entity field case and the multi input entity which is child of parent entity field case same. Then it will worked for me.

Example.
parent have fields

sitecode,

...... your header fields

Child should have fields

sitecode,

@Consumption.valueHelpDefinition: [{ entity: {name: '<valuehelpentity>' , element: '<valuehelpfield>' } ,
additionalBinding: [{ localElement: 'sitecode', element: '<sitecode from valuehelp>' , usage: #FILTER}],
distinctValues: true }]

<yourfield>




 

0 Likes

Hi,

Currently you can have a SmartField and SmartMultiInput where the selection in SmartField can act as a ValueListParameterIn to the SmartMultiInput. This is supported and you can make the entries in the Value help of the multi input be filtered accordingly

However, unfortunately, picking the selection from a SmartMultiInput and adding it as ValueListParameterIn to the other MultiInputs/fields are currently not supported by the underlying control.

To sum up, if you want to filter the value help of a multi input from based on a SmartField selection, that is possible but the reverse (filtering the value help of a multi input or a single input field based on a multi input selection) is not supported. I hope this answers your question.

Thanks and best regards,

Reshma

jessicademarchi
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi, reshmaravinandana.varma



Do you know if picking the selection from a SmartMultiInput and adding it as ValueListParameterIn to the other MultiInputs/fields still not supported?Thank you!