Skip to Content
0
Former Member
Oct 13, 2014 at 08:50 AM

Web Dynpro for ABAP Tutorial 7 - Column Coloring in ALV

21 Views

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.

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



Attachments