cancel
Showing results for 
Search instead for 
Did you mean: 

image in ALV table

Former Member
0 Kudos

Hello All,

I have a AVL table with some data in it, but one of the columns of the AVL table I want to put an image.

Is that possible?

How do I do that?

Thanks & Regards,

Chris Bogers

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

It is possible to insert image.

Refer the code below :

DATA: lr_column TYPE REF TO cl_salv_wd_column,
lr_image TYPE REF TO cl_salv_wd_uie_image,
lv_icon TYPE string.
lr_column = l_value->if_salv_wd_column_settings~get_column( 'STATUS' ).
CREATE OBJECT lr_image.
lr_image->SET_SOURCE_FIELDNAME( 'STATUS' ).
lr_column->set_cell_editor( lr_image ).

Former Member
0 Kudos

Hi Saurav,

Thanks for your answer, but can you explain the code to me?

Chris

Former Member
0 Kudos

ok, it's working now.

only the image is not displayed as it should be.

how do I refer to the MIME images that I have imported?

Thanks.

Chris

Former Member
0 Kudos

Hi chris,

check out this documentation: [Handling Web Icons|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/ec/bb08428dab5f24e10000000a1550b0/frameset.htm]

It describes the different options.

Kind regards

Stefanie

Answers (0)