<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: coloring the statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614747#M1087302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORMAT COLOR COL_HEADING .
WRITE /(125) 'Hi' .
WRITE /(15) 'Hi'.
WRITE /(120) 'Hi'.
FORMAT COLOR OFF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Oct 2008 04:19:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-17T04:19:32Z</dc:date>
    <item>
      <title>coloring the statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614739#M1087294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guru's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am getting the color for my out put text but that is  up to the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text only. my requiement is to color the entire line for the particular text ..means till the line end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;sravan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 13:11:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614739#M1087294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T13:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: coloring the statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614740#M1087295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use it like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write 'Hello world!' color 1. "colors through 1-7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is for list processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;deniz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 13:15:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614740#M1087295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T13:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: coloring the statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614741#M1087296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you use WRITE with COLOR addition it will color only this text which is being outputed.&lt;/P&gt;&lt;P&gt;If you want to use color for entire line use FORMAT statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
"after this statement everything will be colored until color changes
FORMAT COLOR COL_HEADING.
    write: ...
"now if you want to rest color use
 FORMAT RESET INTENSIFIED ON.
"here no color will be used
 write:....

"and again after this everything will be color
FORMAT COLOR COL_HEADING.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 13:17:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614741#M1087296</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-10-16T13:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: coloring the statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614742#M1087297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you are talking about inverse color..i.e Background color....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In yours case you can have a Empty string to be printed to cover the left line space...sp as to get complete line as Inversed colored....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 13:18:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614742#M1087297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T13:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: coloring the statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614743#M1087298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i was written the code as shown below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;format color 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;format color off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but still i am getting up to the output text only.&lt;/P&gt;&lt;P&gt;my requirement is only on foreground not background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 13:23:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614743#M1087298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T13:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: coloring the statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614744#M1087299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any updates.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 04:00:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614744#M1087299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T04:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: coloring the statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614745#M1087300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this . Increase the length to change how much it is colored.&lt;/P&gt;&lt;P&gt;Does this solve your issue ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;WRITE (125) 'Hi' COLOR 1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 04:07:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614745#M1087300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T04:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: coloring the statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614746#M1087301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we need to write for every statement ...&lt;/P&gt;&lt;P&gt;but i want for bunch of write stements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of adding color for every write statement.. is there any other way to do that...  ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 04:15:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614746#M1087301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T04:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: coloring the statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614747#M1087302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORMAT COLOR COL_HEADING .
WRITE /(125) 'Hi' .
WRITE /(15) 'Hi'.
WRITE /(120) 'Hi'.
FORMAT COLOR OFF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 04:19:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614747#M1087302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T04:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: coloring the statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614748#M1087303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ravi  !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for ur response.but i know this .In my Function Module requirement Line Size was dynamic.how can i handle this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 04:27:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614748#M1087303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T04:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: coloring the statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614749#M1087304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you meant "Line size was dynamic" Did you mean something like this as i did not properly understand your question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : SIZE TYPE I,
       COL  TYPE I.
DO 10 TIMES.

  SIZE = SY-INDEX.

  FORMAT COLOR COL_HEADING .

  WRITE AT /COL(SIZE) 'Hi' .

  FORMAT COLOR OFF.

ENDDO.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 04:32:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614749#M1087304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T04:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: coloring the statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614750#M1087305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case output text  also dynamic....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 05:17:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614750#M1087305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T05:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: coloring the statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614751#M1087306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Did you mean the text in the write stmt is dynamic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;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.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 05:22:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/coloring-the-statement/m-p/4614751#M1087306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T05:22:58Z</dc:date>
    </item>
  </channel>
</rss>

