Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Display Icon in WebDynpro ALV column

$
0
0

Hi experts,

 

I am trying to display ICON in WebDynpro ALV column by using below code.

 

data:  lr_image           TYPE REF TO cl_salv_wd_uie_image,

         ls_column          TYPE salv_wd_s_column_ref.

         CREATE OBJECT lr_image.

         lr_image->set_source_fieldname( ls_column-id ).

         ls_column-r_column->set_cell_editor( lr_image ).


When the data is fetched this column field fills with the value 3(ICON_LED_GREEN) and 1(ICON_LED_RED).


But it is displayed in the below way.

Icon display.PNG

What is the problem ?


BR,

Eshwar


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>