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

Dump while trying to display details from an ALV grid with colors

Former Member
0 Kudos


I am trying to display the details from an ALV with colored cells, program is ending with a dump. I used COLOR internal table in the output display internal table as a column.


This is the sequence that I am displaying my ALV

  • ALV Color table

DATA: tbl_color TYPE slis_t_specialcol_alv WITH HEADER LINE.

  • Internal table for ALV display

DATA : BEGIN OF tbl_scorecard OCCURS 0,





*-- Color column to set color for individual columns

color TYPE slis_t_specialcol_alv, " Color column

END OF tbl_scorecard.

  • in field catalog

tbl_color-fieldname = text-013.

tbl_color-color-col = c_th.

tbl_color-color-int = c_one.

tbl_color-color-inv = c_one.

APPEND tbl_color.

  • in layout mentioned the color column table

st_alv_layout-coltab_fieldname = 'COLOR'.

Please help me out in avoiding this dump.


Former Member
0 Kudos


What is the dump that you are getting ?

And what is the purpose of the internal table tbl_color ?


Anand Mandalika.

Active Contributor
0 Kudos

Hi Sree

Firstly, you should fill color tab for each row of the data table. That is you append <i>tbl_color</i> to <i>tbl_scorecard-color</i> for each data row. Remember, adding "color", your data table is now has a deep structure.

In color table the <i>"fieldname"</i> field must not contain a name which does not exist in the <b>field catalog (!)</b>, otherwise you get dump.


0 Kudos

hi Serdar Simsekler

Thank u very much for the reply. it helped me sove my problem



0 Kudos

Hi Sree

Happy that you solved your problem. Then you should mark your question as solved. To do so;

i. you mark the relevant checkbox while replying a post

ii. you assign a 10 points to the solving post

Please choose one of the above ways and mark the question as solved.