<?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: Table Control Enable / Disable Row in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-enable-disable-row/m-p/1012480#M79200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Say your Table control in TABCON.&lt;/P&gt;&lt;P&gt;You screen structure is SC_ITAB.&lt;/P&gt;&lt;P&gt;Your internal table is ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO of screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   LOOP AT ITAB INTO SC_ITAB WITH CONTROL TABCON.&lt;/P&gt;&lt;P&gt;    module SUPPRESS_ROW.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ABAP Module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE SUPPRESS_ROW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SC_TAB IS INITIAL.&lt;/P&gt;&lt;P&gt; LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;  SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;  MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;   SCREEN-INPUT = 1.&lt;/P&gt;&lt;P&gt;   MODIFY SCREEN.&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;This will help you suppress at row level.&lt;/P&gt;&lt;P&gt;You may change the if condition to suit your need .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Sep 2005 04:33:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-20T04:33:54Z</dc:date>
    <item>
      <title>Table Control Enable / Disable Row</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-enable-disable-row/m-p/1012479#M79199</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 have a table control with 6 columns also screen contains some header input fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of 6 columns first two columns are disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on value entered in certain field in the header I fill the table control. e.g. if the value in certain field is X, table control is filled with say 15 rows, if value is Y, table control is filled with say 5 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my requirement is only those rows which are filled should be disabled. i.e. If user chooses value Y then all rows after 5 should be input enabled. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But since I have disabled the columns statically complete column remains disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me How to enable a particular row in table control ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks n Regards,&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Nitin Pawar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2005 04:11:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-enable-disable-row/m-p/1012479#M79199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-20T04:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control Enable / Disable Row</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-enable-disable-row/m-p/1012480#M79200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Say your Table control in TABCON.&lt;/P&gt;&lt;P&gt;You screen structure is SC_ITAB.&lt;/P&gt;&lt;P&gt;Your internal table is ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO of screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   LOOP AT ITAB INTO SC_ITAB WITH CONTROL TABCON.&lt;/P&gt;&lt;P&gt;    module SUPPRESS_ROW.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ABAP Module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE SUPPRESS_ROW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SC_TAB IS INITIAL.&lt;/P&gt;&lt;P&gt; LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;  SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;  MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;   SCREEN-INPUT = 1.&lt;/P&gt;&lt;P&gt;   MODIFY SCREEN.&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;This will help you suppress at row level.&lt;/P&gt;&lt;P&gt;You may change the if condition to suit your need .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2005 04:33:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-enable-disable-row/m-p/1012480#M79200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-20T04:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control Enable / Disable Row</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-enable-disable-row/m-p/1012481#M79201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link.It will help you.Kindly reward points if you find it as useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/table" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/table&lt;/A&gt; control in abap.pdf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2005 04:40:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-enable-disable-row/m-p/1012481#M79201</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-09-20T04:40:37Z</dc:date>
    </item>
  </channel>
</rss>

