‎2008 Nov 01 1:13 AM
Deep data objects other than strings are not allowed here.
I want to have individual cell colored , so added following to my field catalog
wa_fieldcat-fieldname = 'T_CELLCOLORS'.
wa_fieldcat-ref_field = 'COLTAB'.
wa_fieldcat-ref_table = 'CALENDAR_TYPE'.
APPEND wa_fieldcat TO t_fieldcat1.
and then using following method to display it
CALL METHOD grid1->set_table_for_first_display
EXPORTING
is_layout = gs_layout
CHANGING
it_outtab = <t_dyn_table>
it_fieldcatalog = t_fieldcat1.
Also please note that I am using dynamic internal table created by method create dynmaic table.
Any clues as to why I am getting a dump.
‎2008 Nov 01 4:28 AM
for color field you don't need to populate any fieldcatalog entry.
just specify that filedname in the layout option CTAB_FNAME and pass the layout to the method.
layout-ctab_fname = 'COLTAB'.
‎2008 Nov 01 4:28 AM
for color field you don't need to populate any fieldcatalog entry.
just specify that filedname in the layout option CTAB_FNAME and pass the layout to the method.
layout-ctab_fname = 'COLTAB'.
‎2008 Nov 01 11:56 AM