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

multiple exclude data can't catch in filter option

former_member275924
Active Participant
0 Kudos
1,303

Hi Experts,

I create smart table sapui5 screen by using odata (S4Hana) .

On the odata side , get the filter value from smart filter by using this method ⇒ [ io_tech_request_context->get_filter( )->get_filter_select_options( ).]

It is ok when I pass the filter value as multiple Include option .

When I pass the filter value as multiple Exclude option , the data can't access from filter_select option method. The data can be get in filter_string method but it is difficult to get the data and put to range table .

Let me know how to get the filter value from entity set of odata .

Thanks and Best Regards,

Phyo

View Entire Topic
jhodel18
Active Contributor

Hi Phyopa,

The case you encountered is due to the nature of a complex filter. The basic select options couldn't handle this kind of complex filter/query, that's why you can only get it from the filter string. You need to decompose the filter string manually and apply the appropriate handling based on the filter scenario.