Skip to Content
0
Former Member
Aug 10, 2009 at 07:06 AM

Icon in Header of ALV list

334 Views

Hello friends,

I want to display icon in ALV header list.

Caould you please tell me how can i achieve this.

Currently instead of icon it is showing as '@5B@'.

CREATE OBJECT document.

CALL METHOD document->add_icon

EXPORTING

sap_icon = 'ICON_LED_GREEN'.

ls_header-typ = 'S'.

write ICON_LED_GREEN AS ICON TO text_001.

CONCATENATE 'Aufnr:'

p_aufnr

text_001

INTO ls_header-info.

APPEND ls_header TO lt_header.

CLEAR: ls_header.

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

it_list_commentary = lt_header

  • I_LOGO =

  • I_END_OF_LIST_GRID =

  • I_ALV_FORM =