on 01-25-2016 5:10 PM
Hi all,
We have an FPM_SEARCH_UIBB with some filters, some of them with DDIC search help and other ones with freely programmed search help.
For DDIC search helps, when multiple values are selected, the different filter rows are automatically created.
For the freely search help, we would like to have also this option.
We have the listener initializaed in SET_VALUE_HELP_LISTENER (from interface IWD_VALUE_HELP):
DATA: lo_event_param TYPE REF TO cl_fpm_parameter.
CREATE OBJECT lo_event_param.
lo_event_param->if_fpm_parameter~set_value(
EXPORTING
iv_key = 'FIELDNAME'
iv_value = listener->f4_attribute_info-name
).
wd_this->mo_vh_listener = listener.
And in action when values are selected, the following:
wd_comp_controller->mo_vh_listener->f4_context_element->get_node( )->get_node_info(
)->get_controller( )->get_context( )->add_context_attribute_change(
element = wd_comp_controller->mo_vh_listener->f4_context_element
attribute_name = wd_comp_controller->mo_vh_listener->f4_attribute_info-name
new_value = lv_value ).
wd_comp_controller->mo_vh_listener->f4_context_element->set_attribute(
name = wd_comp_controller->mo_vh_listener->f4_attribute_info-name
value = lv_value ).
Whit this code, we are able to set the filter value for 1 selection. But, now, we would like to select multiple values in freely search help and generate the proper filter rows in search_uibb.
Any solution for this issue?
Thanks a lot,
Kr,
Agustín.
We have tried the multi-value fields, but that's not the best option for us, as the DDIC helps work different.
We would like to have the same solution for all search fields.
We are checking the different select options 2.0 events and methods, for example when a table is pasted, it works properly.
There is no way to replicate that using a freely programmed help??
Thanks in advance,
Agustín.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.