coloring the statement
i am getting the color for my out put text but that is up to the
text only. my requiement is to color the entire line for the particular text ..means till the line end.
Did you mean the text in the write stmt is dynamic
DATA : SIZE TYPE I, COL TYPE I, TEXT TYPE STRING, SIZE_CHAR TYPE CHAR05. DO 10 TIMES. SIZE = SY-INDEX + 20. SIZE_CHAR = SY-INDEX. CONCATENATE 'This is Line' SIZE_CHAR INTO TEXT. FORMAT COLOR COL_HEADING . WRITE AT /COL(SIZE) TEXT. FORMAT COLOR OFF. ENDDO.