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

Web Dynpro for ABAP Tutorial 7 - Column Coloring in ALV

$
0
0

Hi Dear All,

 

When I go through this tutorial to get the knowledge of ALV, I encounter some issues. Could any one give me some hints. Thank you so much.

 

   I do not find ' Method Call' in Wizard in the method WDDOINIT. As the screen shot below, in my code wizard I can not find it.

1.png

 

   So I write the codes as in the tutorial, like

   DATA: lv_columns TYPE salv_wd_t_column_ref.

   DATA: wa_cols    TYPE salv_wd_s_column_ref.

 

   CALL METHOD lv_value->if_salv_wd_column_settings~get_columns

     RECEIVING

       value = lv_columns.


But when I tried to change the color of the column it informs me the error message 'Type "CL_WD_TABLE_COLMUN" is unknown'


   LOOP AT lv_columns INTO wa_cols.

     CASE wa_cols-id.

       WHEN 'MATNR'.

         CALL METHOD wa_cols-r_column->set_cell_design

           EXPORTING 

             value = cl_wd_table_colmun=>e_cell_design-one.

     ENDCASE.

   ENDLOOP.


Regards

Jay




Viewing all articles
Browse latest Browse all 3667

Trending Articles



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