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

Value help search in Smart Filterbar

Anjan_3331
Explorer
0 Likes
1,062

Hi Experts,

I have requirement to add valuehelpsearch in the smart filterbar. I have already created custom fiori app which has smartfilterbar and smarttable which are refering some "abcentitySet" like below 

Anjan_3331_0-1740221801265.png

When i click on CompCode filter its not showing the search option , requirement is to search by Id and Name and get the results. So user can select 

Anjan_3331_1-1740221974152.png

Now my requirement is when user clicks on Compcode filter it should call diff  "xyzentityset" and display user to select. Below is the expected result

 

Anjan_3331_3-1740222532425.png

Can someone please throw some light on this and how can i achieve it ? 

KR,

Anji

 

Accepted Solutions (1)

Accepted Solutions (1)

Anjan_3331
Explorer
0 Likes

I was giving the wrong annotation target in the file. it should be like below 

<Annotations Target="Odataservice.Mainentity(which is mapped to smart filterbar) /Plant">
 
Finally the issue got resolved.

Answers (1)

Answers (1)

junwu
SAP Champion
SAP Champion
0 Likes

if you can achieve it by using local annotation, just go ahead.

Anjan_3331
Explorer
0 Likes

I have wrote the annotations like below my annotations file and updated the manifest.json file but still its not refecting

Anjan_3331_0-1740397358952.png

Anjan_3331_2-1740397418127.png

Anyone suggest where i am doing the mistake.

 

 

junwu
SAP Champion
SAP Champion
0 Likes
why you annotate the valuehelp's companycode? i think you have to annotate the main entity's company code.