<?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: Deactivate line in table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-line-in-table-control/m-p/1925362#M384062</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not working. The field remains in the status set in the last step of the loop.&lt;/P&gt;&lt;P&gt;For example, if in the last step of the loop the screen-input was set to '1', all the fields in the column will have input = '1'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Feb 2007 15:35:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-08T15:35:54Z</dc:date>
    <item>
      <title>Deactivate line in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-line-in-table-control/m-p/1925359#M384059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table control, in which one of the columns is editable. However, I need to make some lines not editable. is it possible?&lt;/P&gt;&lt;P&gt;For example, the 3rd column of my table control is editable (screen-input = '1'), but I need this column to be display-only, only for the first line (in other words, I need to control the input attribute cell by cell, not column by column).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance for your help,&lt;/P&gt;&lt;P&gt;Hermes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Hermes Felipe Alves&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 13:21:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-line-in-table-control/m-p/1925359#M384059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-08T13:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate line in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-line-in-table-control/m-p/1925360#M384060</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;U have to change the attribute of the fields into the loop of PBO:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS PBO.&lt;/P&gt;&lt;P&gt;   LOOP....&lt;/P&gt;&lt;P&gt;      MODULE LOOP_SCREEN.&lt;/P&gt;&lt;P&gt;   ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE LOOP_SCREEN.
    LOOP AT SCREEN.
        IF SY-STEPL = 1. "&amp;lt;----- The first line of table control
          IF SCREEN-NAME = &amp;lt;FIELD NAME&amp;gt;.
            SCREEN-INPUT = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
    ENDLOOP.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 13:31:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-line-in-table-control/m-p/1925360#M384060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-08T13:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate line in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-line-in-table-control/m-p/1925361#M384061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this thread which addresses a similar issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2938558"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=736686&amp;amp;messageID=1794330" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=736686&amp;amp;messageID=1794330&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just add another field say FIELD1(6) to your internal table, set this to ON or OFF according to ur requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ....&lt;/P&gt;&lt;P&gt;MODULE LOOP_SCREEN.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE LOOP_SCREEN.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-NAME = 'FIELD1'. &lt;/P&gt;&lt;P&gt;IF ITAB-FIELD1 = 'OFF'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = 1.&lt;/P&gt;&lt;P&gt;ENDIF.&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;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this sample the field of colunm FIELD1 will be avaible for input if the value of ITAB-FIELD1 is ON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you delete the control of field name (so the cell) the attribute'll be valide for whole row:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE LOOP_SCREEN.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF ITAB-FIELD1 = 'OFF'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = 1.&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;In this way the row with field FIELD1 is OFF aren't available for input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;award points if found helpful, this solves the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 13:31:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-line-in-table-control/m-p/1925361#M384061</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2007-02-08T13:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate line in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-line-in-table-control/m-p/1925362#M384062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not working. The field remains in the status set in the last step of the loop.&lt;/P&gt;&lt;P&gt;For example, if in the last step of the loop the screen-input was set to '1', all the fields in the column will have input = '1'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 15:35:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-line-in-table-control/m-p/1925362#M384062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-08T15:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Deactivate line in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-line-in-table-control/m-p/1925363#M384063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys, the solutions above do work. The problem was another loop at screen outtside the table control loop, that was overwriting the first loop at screen. Thank you all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 16:31:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deactivate-line-in-table-control/m-p/1925363#M384063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-08T16:31:21Z</dc:date>
    </item>
  </channel>
</rss>

