<?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 Enabling /Disabling the Table Control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-disabling-the-table-control/m-p/6114906#M1362873</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am preparing a MPP in which i want to disable the table control initially but on click on a Button, &lt;STRONG&gt;Some of the field of the table become enable for any modifications in the entry.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have Un-tick the Input allowed option in the Table control properties. Now initially the table control is disable for any input. Now on click of a button how to enable it?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me the code for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ankur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Sep 2009 06:34:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-08T06:34:04Z</dc:date>
    <item>
      <title>Enabling /Disabling the Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-disabling-the-table-control/m-p/6114906#M1362873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am preparing a MPP in which i want to disable the table control initially but on click on a Button, &lt;STRONG&gt;Some of the field of the table become enable for any modifications in the entry.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have Un-tick the Input allowed option in the Table control properties. Now initially the table control is disable for any input. Now on click of a button how to enable it?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me the code for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ankur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 06:34:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-disabling-the-table-control/m-p/6114906#M1362873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-08T06:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling /Disabling the Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-disabling-the-table-control/m-p/6114907#M1362874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In PAI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Module xx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case sy-ucomm.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;when button_clicked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   loop at screen.&lt;/P&gt;&lt;P&gt;     If sceen - name = table control field.&lt;/P&gt;&lt;P&gt;        screen-input = 1.&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; &lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;end module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to make use of above logic , it will enable the fields on button click..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 06:37:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-disabling-the-table-control/m-p/6114907#M1362874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-08T06:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling /Disabling the Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-disabling-the-table-control/m-p/6114908#M1362875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Coing it via the table conrol properties you might not be able to put in input mode programatically so i suggest that you disable and enable the fields on the table control programmatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO of the screen you can loop on the screen and when the screen-name = field (that you want to dsiable ) set screen-input = 0 and modify screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the forum you would sure get a lot of threads related to this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 06:40:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-disabling-the-table-control/m-p/6114908#M1362875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-08T06:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling /Disabling the Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-disabling-the-table-control/m-p/6114909#M1362876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ankur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in screen flow logic make new module disable....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;*&amp;amp;SPWIZARD: PBO FLOW LOGIC FOR TABLECONTROL 'TAB1'&lt;/P&gt;&lt;P&gt;MODULE tab1_change_tc_attr.&lt;/P&gt;&lt;P&gt;*&amp;amp;SPWIZARD: MODULE TAB1_CHANGE_COL_ATTR.&lt;/P&gt;&lt;P&gt;LOOP AT itab&lt;/P&gt;&lt;P&gt;INTO itab&lt;/P&gt;&lt;P&gt;WITH CONTROL tab1&lt;/P&gt;&lt;P&gt;CURSOR tab1-current_line.&lt;/P&gt;&lt;P&gt;MODULE tab1_get_lines.&lt;/P&gt;&lt;P&gt;MODULE disable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;SPWIZARD: MODULE TAB1_CHANGE_FIELD_ATTR&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;MODULE status_1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the click event of the button, set Screen-Input=1.&lt;/P&gt;&lt;P&gt;Hope, it would help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Mamta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Mamta Kumari on Sep 8, 2009 8:54 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 06:43:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-disabling-the-table-control/m-p/6114909#M1362876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-08T06:43:39Z</dc:date>
    </item>
  </channel>
</rss>

