Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Dump - OBJECTS_NOT_FLATLIKE

Former Member
0 Likes
694

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
569

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'.

2 REPLIES 2
Read only

Former Member
0 Likes
570

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'.

Read only

0 Likes
569

yes I corrected the same. thank you