cancel
Showing results for 
Search instead for 
Did you mean: 

How to handle "link to action" in a GUIBB

Former Member
0 Kudos

I have a GUIBB table, where a specific column is link to action.

So if the user clicks on such a cell i want to navigate to another application.

The question from my side is, how/where can i handle the link to action?

Accepted Solutions (1)

Accepted Solutions (1)

Aliaksandr
Active Participant
0 Kudos

Hi Rene,

You can use IF_FPM_GUIBB_LIST~PROCESS_EVENT method of component configuration feeder class. In common case on manipulation with 'link-to-action' column if_fpm_guibb_list=>gc_guibb_list_on_cell_action action is triggered.

Example:

if if_fpm_guibb_list=>gc_guibb_list_on_cell_action.

     io_event->mo_event_data->get_value(

          exporting iv_key   = if_fpm_guibb_list=>gc_event_par_column_name

          importing ev_value = lv_column ).

    

          if lv_column = 'LINK_TO_APP_COLUMN'.

         

               io_parameter->get_value(

                      exporting iv_key   = if_fpm_guibb_list=>gc_event_par_row

                      importing ev_value = lv_row_index ).

         

               " read data by index and call application


          endif.


endif.

Kind regards, Aliaksandr.

Former Member
0 Kudos

Hi Aliaksandr,

works very well.

Thanks a lot

René

Aliaksandr
Active Participant
0 Kudos

Hi Rene,

It will be nice if you mark my post as correct answer.

Kind regards, Aliaksandr.

Answers (0)