cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple values F4 help - FPM_SEARCH_UIBB

a_figueredo
Explorer
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

a_figueredo
Explorer
0 Kudos

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.