on 2020 Aug 21 11:12 AM
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
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.