Skip to Content

How to use annotations for smart controls?

Apr 20, 2017 at 10:38 AM


avatar image

Hi All,

In one use-case I need to add more properties in Define Conditions Dropdown list of SmartFilterbar's Value help dialog(Highlighted in Image) using annotation, since I am using List Report Template.

Need pointers.

Please help!



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

2 Answers

Veeraraghavan Narasimhan
Apr 20, 2017 at 05:59 PM

Hello ,

The annotations are evaluated automatically by the smart controls. For this scenario in the entity whichever attributes you want to be available in dropdown provide the sap:filterable to true in the backend service.

Thanks and Regards,


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

Hi Veera,

Thanks for reply.

I am already using sap:filterable annotation and that is working fine for Smart filter bar. I am getting all filterable property in Filter bar. But the scenario I have mentioned above comes in picture when we click on any filterable property of filter bar and the Value help pops up. There, in Define conditions tab I want all filterable property again in Drop down, so that user can select any property to filter. This thing is not working using sap:filterable alone.



Akhilesh Upadhyay Apr 23, 2017 at 08:11 AM

what you are getting thats expected behavior only and there is no way to achieve from standard code what you are talking about.

I believe you are getting this popup by clicking on valuehelp of one of the filtrable field and this is for individual field only, other filtrable property wont be shown in this popup.

In order to apply condition on other fields, similarily you need to open respective valuehelp popup only.

10 |10000 characters needed characters left characters exceeded