Hi.
I'm developing a dynamic ALV which I need to format a line with a color.
I've added field celltab to my internal dynamic table (ALV out). But when adding lines to that, it gives a dump.
FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE, <dyn_wa>. (...) data: l_lvc_t_styl TYPE lvc_t_styl.. *-Columna celttab (Style) r_datadescr ?= cl_abap_datadescr=>describe_by_data( l_lvc_t_styl ). gw_component-name = 'CELLTAB'. gw_component-type = r_datadescr. APPEND gw_component TO gt_component. (...) DATA : ls_cell type lvc_s_styl. FIELD-SYMBOLS: <fs_COLLTAB> TYPE STANDARD TABLE. " OF lvc_s_styl. ls_cell-fieldname = L_COL. ls_cell-style = '0000000C'. ASSIGN COMPONENT 'CELLTAB' OF STRUCTURE <dyn_wa> TO <fs_COLLTAB>. APPEND ls_cell TO <fs_COLLTAB>. <------ - - - - - - - - - - - - - - - - - -- DUMP here APPEND <dyn_wa> TO <dyn_table>.
thanks.
Glauco