<?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 Table control with cells modifiable input in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-cells-modifiable-input/m-p/7714491#M1579441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;   I built a Table control in a subscreen for the user to input some fields in an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a row is entered, some further processing is done on this row. for this, I need that some fields in this row become dimmed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the solution that i used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;in PBO of the Subscreen:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;     LOOP AT CSITAB cursor TCCS-current_line WITH CONTROL TCCS .&lt;/P&gt;&lt;P&gt;          module change_fields.&lt;/P&gt;&lt;P&gt;     ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;in the Module change_fields:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;data:  my_tc type SCXTAB_COLUMN.&lt;/P&gt;&lt;P&gt;     LOOP AT tccs-cols into my_tc .&lt;/P&gt;&lt;P&gt;          IF csitab-salesdocument &amp;lt;&amp;gt; space.&lt;/P&gt;&lt;P&gt;            IF my_tc-screen-group1 = '001'.&lt;/P&gt;&lt;P&gt;               my_tc-screen-input = '0'.&lt;/P&gt;&lt;P&gt;               modify tccs-cols from my_tc.&lt;/P&gt;&lt;P&gt;            ENDIF.&lt;/P&gt;&lt;P&gt;          modify screen.&lt;/P&gt;&lt;P&gt;     ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The effect of this code, is that it changes the whole column to output only &amp;amp; no other value can be entered.&lt;/P&gt;&lt;P&gt;I want to have some fields on the same column as editable and others as output only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Feb 2011 12:40:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-08T12:40:46Z</dc:date>
    <item>
      <title>Table control with cells modifiable input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-cells-modifiable-input/m-p/7714491#M1579441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;   I built a Table control in a subscreen for the user to input some fields in an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a row is entered, some further processing is done on this row. for this, I need that some fields in this row become dimmed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the solution that i used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;in PBO of the Subscreen:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;     LOOP AT CSITAB cursor TCCS-current_line WITH CONTROL TCCS .&lt;/P&gt;&lt;P&gt;          module change_fields.&lt;/P&gt;&lt;P&gt;     ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;in the Module change_fields:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;data:  my_tc type SCXTAB_COLUMN.&lt;/P&gt;&lt;P&gt;     LOOP AT tccs-cols into my_tc .&lt;/P&gt;&lt;P&gt;          IF csitab-salesdocument &amp;lt;&amp;gt; space.&lt;/P&gt;&lt;P&gt;            IF my_tc-screen-group1 = '001'.&lt;/P&gt;&lt;P&gt;               my_tc-screen-input = '0'.&lt;/P&gt;&lt;P&gt;               modify tccs-cols from my_tc.&lt;/P&gt;&lt;P&gt;            ENDIF.&lt;/P&gt;&lt;P&gt;          modify screen.&lt;/P&gt;&lt;P&gt;     ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The effect of this code, is that it changes the whole column to output only &amp;amp; no other value can be entered.&lt;/P&gt;&lt;P&gt;I want to have some fields on the same column as editable and others as output only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 12:40:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-cells-modifiable-input/m-p/7714491#M1579441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-08T12:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Table control with cells modifiable input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-cells-modifiable-input/m-p/7714492#M1579442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A this PBO level, forget the Control fields, use a simple LOOP AT SCREEN, like &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* in the Module change_fields:
LOOP AT SCREEN.
  IF csitab-salesdocument NE space.
    IF screen-group1 = '001'.
      screen-input = '0'.
    ENDIF.
    MODIFY screen.
  ENDIF.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 15:20:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-cells-modifiable-input/m-p/7714492#M1579442</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2011-02-08T15:20:20Z</dc:date>
    </item>
  </channel>
</rss>

