Quantcast
Channel: SCN: Message List - Floorplan Manager for Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 2665

Re: How to display data from search UIBB to list UIBB

$
0
0

Hi,

 

I found the solution. Created one singleton class to set and get data and used raise_event_by_id method to call the PROCESS_EVENT method.

 

sample code: in PROCESS_EVENT method of Search UIBB

 

CHECK io_event->mv_event_id = if_fpm_guibb_search=>fpm_execute_search.

     TRY .

         DATA: lr_fpm        TYPE REF TO if_fpm.

         lr_fpm = cl_fpm_factory=>get_instance( ).

 

           DATA mo_instance TYPE REF TO zcl_emp_details2_singleton.

           CALL METHOD zcl_emp_details2_singleton=>get_instance

             RECEIVING

               re_instance = mo_instance.

 

           CALL METHOD mo_instance->set_user_details

             EXPORTING

               iv_condition = it_fpm_search_criteria."lt_where.

 

         lr_fpm->raise_event_by_id(

           EXPORTING

             iv_event_id   = if_fpm_guibb_list=>gc_event_open_search"gc_event_list_filter    " This defines the ID of the FPM Event

*            io_event_data = lr_event_data    " Property Bag

         ).

       CATCH cx_fpmgb.

     ENDTRY.


sample code: in PROCESS_EVENT method of LIST UIBB


DATA: lt_fpm_search_criteria TYPE fpmgb_t_search_criteria.

 

     CASE io_event->mv_event_id.

       WHEN if_fpm_guibb_list~gc_event_open_search.

         DATA mo_instance TYPE REF TO zcl_emp_details2_singleton.

         CALL METHOD zcl_emp_details2_singleton=>get_instance

           RECEIVING

             re_instance = mo_instance.

 

         CALL METHOD mo_instance->get_user_details

           IMPORTING

             ev_condition = gt_condition.



Best regards,

Narasimha.


Viewing all articles
Browse latest Browse all 2665

Trending Articles



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