cancel
Showing results for 
Search instead for 
Did you mean: 

Navigation Linked to "Link To Action"

0 Kudos

Dear all,

   I am currently facing an issue. The requirement here is I am displaying a list in list UIBB. One of column in this list is hyper-link "Link-to-action", if user clicks on any value in this column. I have to open another form UIBB which will have the details. This detail screen has to replace the first screen.

Request you all to help me out with this scenario.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Abhijeet,

From above I can understand, is that you want to show some details of the linked which clicked.

One suggestion I can give in your case is that instead of replacing the current List UIBB with the detailed form UIBB(which is bit difficult)  try to open a dialog box(pop up) in which you can place your form UIBB contents.
This can save lot of time of yours.

Regards,
Sanket.

JBrook
Explorer
0 Kudos

Abhijeet, what I did was have the two GUIBBs switch by one becoming hidden and the other not hidden.

I used the interface IF_FPM_OVP_CONF_EXIT~OVERRIDE_EVENT_OVP.

Look at :

call method io_ovp->get_uibbs
            exporting
              iv_content_area = iv_content_area
              iv_section      = iv_section
            importing
              et_uibb         = et_uibb.

     -------------------------------------------------------------------------------------------------------------------------

First you determine which cell is selected and then pass that information to the get data method of the new GUIBB to be shown. If you want to switch back you will need another event to switch back and hide the current GUIBB and not hide the first GUIBB.

Once the link to action is selected you can call the methods

   *----- get list cell field name

      call method iv_eventid->mo_event_data->get_value
            exporting
              iv_key   = if_fpm_guibb_list=>gc_event_par_column_name
            importing
              ev_value = lv_fieldname.

*----- get row index
          call method iv_eventid->mo_event_data->get_value
            exporting
              iv_key   = if_fpm_guibb_list=>gc_event_par_row
            importing
              ev_value = lv_row_index.
      .

Good luck.

Jesse

Aliaksandr
Active Participant
0 Kudos

Hi Abhijeet Kulshreshtha,

Could you clarify which exactly issue do you have?

Do you have problem with organizing "link-to-action" column? Or with managing of UIBBs visibility?

Kind regards, Aliaksandr.