Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to change color of table control rows?


I have a table control and I want to change color for alternate rows.

How to do make zebra line for the table control?



Former Member


You can use loop at screen inside the loop with <tab_ctrl> , and can alternative use code:-

screen-intensified = '1'.
screen-intensified = '0'.

This will color the text no the background.

In module pool you cant color in background, but can use ALV to do so.

For Color in alv refer code in wiki:-

Hope this solves your problem.

Thanks & Regards,


Edited by: Tarun Gambhir on Feb 25, 2009 3:52 PM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question