<?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 Row Colour at Modulepool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/row-colour-at-modulepool/m-p/5472404#M1253138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi GURU ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to row colour at Modulepool Table Control .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two screen at modulepool and I am using Table Control .I want to colour the row of thats Table Control .&lt;/P&gt;&lt;P&gt;How Can I do this , Is there any Method to do this .&lt;/P&gt;&lt;P&gt;Please reply me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Tarak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Apr 2009 06:01:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-14T06:01:45Z</dc:date>
    <item>
      <title>Row Colour at Modulepool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/row-colour-at-modulepool/m-p/5472404#M1253138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi GURU ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to row colour at Modulepool Table Control .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two screen at modulepool and I am using Table Control .I want to colour the row of thats Table Control .&lt;/P&gt;&lt;P&gt;How Can I do this , Is there any Method to do this .&lt;/P&gt;&lt;P&gt;Please reply me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Tarak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2009 06:01:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/row-colour-at-modulepool/m-p/5472404#M1253138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-14T06:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Row Colour at Modulepool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/row-colour-at-modulepool/m-p/5472405#M1253139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the module program the condition on which the colour change / input&lt;/P&gt;&lt;P&gt;status etc has to be changed using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF condition = true&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN&lt;/P&gt;&lt;P&gt;IF SCREEN-NAME = column name&lt;/P&gt;&lt;P&gt;Make your colour / input status change&lt;/P&gt;&lt;P&gt;MODIFY SCREEN&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;ENDLOOP&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2009 06:07:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/row-colour-at-modulepool/m-p/5472405#M1253139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-14T06:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Row Colour at Modulepool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/row-colour-at-modulepool/m-p/5472406#M1253140</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 want to colour row not column ,, So please tell me where I have to pass the colour code ,,,,,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2009 06:12:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/row-colour-at-modulepool/m-p/5472406#M1253140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-14T06:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Row Colour at Modulepool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/row-colour-at-modulepool/m-p/5472407#M1253141</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 color a row in table control, but you can color text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want tot color a row, then go for ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Color text in module pool:-&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;it_zekpo is my internal table w/o header line,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wa_zekpo is work area.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Name of input/output fields on screen are:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wa_zekpo-field1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wa_zekpo-field2, and so on...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take the group1 for all textboxes as &lt;STRONG&gt;'ABC'&lt;/STRONG&gt; in the table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using code:-&lt;/P&gt;&lt;P&gt;At screen logic:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PROCESS BEFORE OUTPUT.
*  MODULE status_8003.
 
  LOOP WITH CONTROL po_tb.
    MODULE read_data.
  ENDLOOP.
 
PROCESS AFTER INPUT.
*  MODULE user_command_8003.
 
  LOOP WITH CONTROL po_tb.
    MODULE modify_data.
  ENDLOOP.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In PBO&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  READ_DATA  OUTPUT
*&amp;amp;---------------------------------------------------------------------*
MODULE read_data OUTPUT.
  READ TABLE it_zekpo INTO wa_zekpo INDEX po_tb-current_line. "po_tab is table control name
 
  data : line_count type i.
 
  describe it_zekpo
  lines line_count.
 
  po_tb-lines = line_count + 10.
  "to increase the number of lines in table control dynamically

  if po_tb-current_line = '4'. "&amp;lt;--say u want to color text in 4 row
    if screen-group1 = 'ABC'.
      loop at screen.
        screen-intensified = 1.
      endloop.
      modify screen.
    endif.
  endif.
  
ENDMODULE.                 " READ_DATA  OUTPUT
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In PAI&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  MODIFY_DATA  INPUT
*&amp;amp;---------------------------------------------------------------------*
MODULE MODIFY_DATA INPUT.
  MODIFY IT_ZEKPO FROM WA_ZEKPO INDEX po_tb-currentline.
  "this will insert a new line
  "and will modify the contents of existing line
ENDMODULE.                 " MODIFY_DATA  INPUT
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tarun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2009 06:57:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/row-colour-at-modulepool/m-p/5472407#M1253141</guid>
      <dc:creator>I355602</dc:creator>
      <dc:date>2009-04-14T06:57:12Z</dc:date>
    </item>
  </channel>
</rss>

