Skip to Content
0
Jan 04, 2008 at 07:44 PM

TOP_OF_PAGE icon not displayed - for SALV

623 Views

Hi,

I am using OO model for ALV. I am displaying an ALV of incomplete orders , in the top of page i need to display a incomplete icon, for user easy verification.

My problem is top of page is displaying but icon is not displayed. why?

Here is the code :

data: gr_table   type ref to cl_salv_table.
data: l_top_element type ref to cl_salv_form_layout_grid.
data: l_icon type ref to cl_salv_form_icon.

create object l_top_element
   EXPORTING
     COLUMNS = 2.

create object l_icon
    exporting
      icon   = '@02@'      " Incomplete
      tooltip = text-100.  " Incomplete Orders

   
 gr_table->set_top_of_list( l_top_element ).