<?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 Columns Disable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-columns-disable/m-p/6654313#M1445402</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. I need to disable some of the fields in the table control..means it should be visible but not enable..How to do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Mar 2010 11:54:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-19T11:54:00Z</dc:date>
    <item>
      <title>Table Control Columns Disable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-columns-disable/m-p/6654313#M1445402</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. I need to disable some of the fields in the table control..means it should be visible but not enable..How to do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Mar 2010 11:54:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-columns-disable/m-p/6654313#M1445402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-19T11:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control Columns Disable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-columns-disable/m-p/6654314#M1445403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Be specific with your requirement. Can you just elaborate your question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Mar 2010 12:07:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-columns-disable/m-p/6654314#M1445403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-19T12:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control Columns Disable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-columns-disable/m-p/6654315#M1445404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are two ways of making a screen element invisible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In your loop at screen, check out the screen-name for your table control and make screen-invisible = 1 apart from screen-input = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Go to transaction SHD0. Using Screen variant you can make any element in a screen visible or invisible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have a call function RS_HDSYS_SET_SC_VARIANT to which you have to pass ur screen variant name, screen number, program name and overwrite option to 'X'.&lt;/P&gt;&lt;P&gt;After this Fm, call your PF-Status. This is will work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also,&lt;/P&gt;&lt;P&gt;To disable/enable fields of a column we will use the field SCREEN-INPUT of the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;structure CXTAB_COLUMN and set its value to 0 or 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. To disable input at column 3 of the table control .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA col LIKE LINE OF tab_con-COLS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE tab_con-COLS INTO col INDEX 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;col-SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY tab_con-COLS FROM col INDEX 3.    d) ABAP DECLARATION :&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Mar 2010 12:13:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-columns-disable/m-p/6654315#M1445404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-19T12:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control Columns Disable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-columns-disable/m-p/6654316#M1445405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You meant to say,,, only display and not abe to edit. then we have option in the screen field attributes called Output only. Just select that one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Double click on the screen field for which you need to put it in display mode and here go for Program tab and select the check box Output only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Mar 2010 12:20:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-columns-disable/m-p/6654316#M1445405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-19T12:20:26Z</dc:date>
    </item>
  </channel>
</rss>

