Skip to Content

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

coloring the statement

hi guru's,

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.

cheers,

sravan.

Tags:
Former Member
Former Member replied

Hi Kumar,

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.

Regards

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question