Quantcast
Channel: SCN : Popular Discussions - Floorplan Manager for Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 1726

Multiple values F4 help - FPM_SEARCH_UIBB

$
0
0

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.


Viewing all articles
Browse latest Browse all 1726

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>