<?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: disable single cell in table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-cell-in-table-control/m-p/3676463#M885368</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;plz help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 05 Apr 2008 16:17:52 GMT</pubDate>
    <dc:creator>Karan_Chopra_</dc:creator>
    <dc:date>2008-04-05T16:17:52Z</dc:date>
    <item>
      <title>disable single cell in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-cell-in-table-control/m-p/3676462#M885367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have a TC with 3 columns , suppose on entering data in any cell i want to disable it if value is greater than some particular  value . How to do it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S i want to disable only single CELL not the entire row or column&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Apr 2008 16:01:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-cell-in-table-control/m-p/3676462#M885367</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2008-04-05T16:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: disable single cell in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-cell-in-table-control/m-p/3676463#M885368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;plz help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Apr 2008 16:17:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-cell-in-table-control/m-p/3676463#M885368</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2008-04-05T16:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: disable single cell in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-cell-in-table-control/m-p/3676464#M885369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look at [http://help.sap.com/erp2005_ehp_03/helpdata/EN/45/adee2396f711d1b46b0000e8a52bed/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Heinz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Apr 2008 16:57:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-cell-in-table-control/m-p/3676464#M885369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-05T16:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: disable single cell in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-cell-in-table-control/m-p/3676465#M885370</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;To change the attributes of individual cells temporarily, change the SCREEN table in a PBO module that you process between LOOP and ENDLOOP in the flow logic (LOOP AT SCREEN, MODIFY SCREEN).&lt;/P&gt;&lt;P&gt;In the LOOP, the runtime system initializes the attributes set statically for the table control in the Screen Painter. You can change these attributes only in a module called from a LOOP through the table control. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assume your table control name is TC.&lt;/P&gt;&lt;P&gt;In the PBO of the screen, write this logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at &amp;lt;your internal table&amp;gt; into sdyn_conn with control TC.&lt;/P&gt;&lt;P&gt;   MODULE CHANGE_FIELD.&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;&lt;/P&gt;&lt;P&gt;MODULE CHANGE_FIELD OUTPUT.&lt;/P&gt;&lt;P&gt;CHECK &amp;lt;your intetnal tables workarea&amp;gt;-mark = 'X'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;  if screen-group1 = 'SEL'.&lt;/P&gt;&lt;P&gt;   screen-input = 0.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Apr 2008 17:16:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-cell-in-table-control/m-p/3676465#M885370</guid>
      <dc:creator>rajasekhar_matukumalli3</dc:creator>
      <dc:date>2008-04-05T17:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: disable single cell in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-cell-in-table-control/m-p/3676466#M885371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;some days ago i worked on the same issue and got success, its too easy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare one output module within loop at internal table with table control in your program flow logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex.&lt;/P&gt;&lt;P&gt;(in flow logic under PBO )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_emp WITH CONTROL tblctr CURSOR tblctr-current_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       MODULE edit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here it_emp is internal table ( for table control ) and tblctr is table view control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now write implemetation for module edit in main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex.&lt;/P&gt;&lt;P&gt;MODULE edit OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF screen-name = 'IT_EMP-SAL' AND it_emp-sal &amp;gt; 0.&lt;/P&gt;&lt;P&gt;      screen-input = 0.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " edit  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here 'IT_EMP-SAL' is TC column and it_emp-sal is internal table column. This code will disable those cell which has value &amp;gt; 0 under column 'SAL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can also add all columns of TC in if condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck....&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Sudhir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sudhir manjarekar on Jun 19, 2008 12:24 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 10:16:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-single-cell-in-table-control/m-p/3676466#M885371</guid>
      <dc:creator>Sidh_M</dc:creator>
      <dc:date>2008-06-19T10:16:39Z</dc:date>
    </item>
  </channel>
</rss>

