cancel
Showing results for 
Search instead for 
Did you mean: 

Set the Image + text into dynamic ALV columns

Former Member
0 Kudos

Hi All,

I would like to set the image + text into dynamic ALV columns please suggest me the way to use.

Currently i am able to get the image using

create object lr_caption.

call METHOD lr_caption->set_image_sourcE

EXPORTING

value = <fieldname>-icon.

call METHOD lr_caption->set_text_fieldname

EXPORTING

value = lr_column->id.

call METHOD lr_caption->set_tooltip_fieldname

EXPORTING

value = lr_column->id.

lr_column->set_cell_editor( value = lr_caption ).

when i use this piece of code i abel to get the text and image but the text is getting displayed as wrapping text hope u understand wrapping here means ..

Ex; project name user id

My project U1111

test data

according to the above example here the text My project test data whcih was supposed to come in single line it is getting wrappd and displaying in this way which i want to avoid..

Regards,

Misbah

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sultana,

Please refer this thread, it might helps you...

Thanks,

Kris.

Answers (0)