Hi,
is it possible to get images into a Dropdownlistbox of a TableView Filter ?
I tried it like it works with buttons including images:
filters TYPE TABLEVIEWFILTERTAB.
field-symbols: <filter> like line of filters, <wa> type IHTTPNVP2. append initial line to filters assigning <filter>. <filter>-columnName = 'NAME'. *First the Joker append initial line to <filter>-dropdownlistbox_table assigning <wa>. <wa>-name = '*'. <wa>-value = '*'. *Second the Image data l_image type ref to cl_htmlb_image. data l_image_string type string. create object l_image. l_image->id = 'i_1'. l_image->src = cl_bsp_mimes=>sap_icon( 'ICON_MSG' ). clear l_image_string. l_image_string = l_image->IF_BSP_BEE~RENDER_TO_STRING( page_context ). append initial line to <filter>-dropdownlistbox_table assigning <wa>. <wa>-name = '1'. <wa>-value = l_image_string.
As result I get a clean line in the dropdownlistbox of the filter.
regards,
Stefan Huemer