Skip to Content
avatar image
Former Member

ALV: ICON with Hyperlink

Hello,

is there a possibility to get an ICON with Hyperlink into an ALV Table?

I used the following coding for the ICON:

lr_column = lr_cmdl->if_salv_wd_column_settings~get_column( 'ANLAGE' ).

create object lr_image.

lr_image->set_source_fieldname( 'ANLAGE' ).

lr_column->set_cell_editor( lr_image ).

If I now change to cell editor 'lr_hyperlink', I am loosing my ICON.

regards

stefan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Mar 30, 2007 at 02:08 PM

    Found it myself:

    • Column als Hyperlink

    lr_column = lr_cmdl->if_salv_wd_column_settings~get_column( 'ANLAGE' ).

    CREATE OBJECT lr_hyperlink.

    lr_hyperlink->set_image_source_fieldname( 'ANLAGE' ).

    lr_column->set_cell_editor( lr_hyperlink ).

    thanks

    stefan

    Add comment
    10|10000 characters needed characters exceeded