Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to display an OO ALV in a Popup?

The ALV will be non-editable but it has to be able to have the hotspot functionality, so it has to be done in OO. Is there any function module that will display my OO alv as a popup?

Former Member
replied

* Show as popup


   CALL METHOD gr_grid->set_screen_popup( EXPORTING start_column = 10

                                                    end_column = 130

                                                    start_line = 5

                                                    end_line = 15 ).


* Define a column as hotspot


DATA:

          lr_columns TYPE REF TO cl_salv_columns_table,

           lr_column TYPE REF TO cl_salv_column,

           lr_cols   TYPE REF TO cl_salv_columns,

           lr_column_list TYPE REF TO cl_salv_column_list.


  lr_cols = lr_columns.

  lr_columns = gr_grid->get_columns( ).

  lr_column_list ?= lr_cols->get_column( 'MYCOLUMN' ).

  lr_column_list->set_cell_type( if_salv_c_cell_type=>hotspot ).

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question