Skip to Content

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

how to change color of table control rows?

Hello,

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

How to do make zebra line for the table control?

Regards,

RH

Former Member
replied

Hi,

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:-

https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/coloring%252ba%252brow%252band%252bc

Hope this solves your problem.

Thanks & Regards,

Tarun

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