<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1727864#M317156</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;normally u can go to properties of table control and hide the column...or else in one scenario if u want then u have to loop at screen...and  make the column invisible and modify screen...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Dec 2006 11:09:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-05T11:09:55Z</dc:date>
    <item>
      <title>table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1727861#M317153</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;i have an issue regarding table control.&lt;/P&gt;&lt;P&gt;i want to hide an entire column in a table control.&lt;/P&gt;&lt;P&gt;how can i do it.&lt;/P&gt;&lt;P&gt;please send me the code.&lt;/P&gt;&lt;P&gt;thanks .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 10:40:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1727861#M317153</guid>
      <dc:creator>sushant_singh</dc:creator>
      <dc:date>2006-12-05T10:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1727862#M317154</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;&lt;/P&gt;&lt;P&gt;try with abap command:&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; screen-invisible = 1...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 10:52:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1727862#M317154</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-12-05T10:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1727863#M317155</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 need to change the attribute of table control out of the loop of PBO:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- In the TOP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CONTROLS &amp;lt;TABLE CONTROL&amp;gt; TYPE TABLEVIEW USING SCREEN &amp;lt;SCREEN&amp;gt;.

DATA: BEGIN OF WA_CTRL,
        SCREEN        LIKE SCREEN,     "Attributes struktur SCREEN
        INDEX            TYPE I,         "Position of a column on the screen
        SELECTED(1) TYPE C,          "Indicator 'column selected'
        VISLENGTH    LIKE ICON-OLENG, "Visualised length of a column
        INVISIBLE(1)   TYPE C,         "Indicator 'column invisible'
      END   OF WA_CTRL.

* In the PBO

MODULE CHANGE_TABLE_CONTROL.

LOOP..
ENDLOOP.

MODULE CHANGE_TABLE_CONTROL.
  LOOP AT  &amp;lt;TABLE CONTROL&amp;gt;-COLS INTO WA_CTRL.
    IF WA_CTRL-SCREEN-NAME.
      WA_CTRL-SCREEN-INPUT = 0.
      WA_CTRL-INVISIBLE = 'X'.
      MODIFY  &amp;lt;TABLE CONTROL&amp;gt;-COLS FROM WA_CTRL.
    ENDIF. 
  ENDLOOP.
ENDMODULE.&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>Tue, 05 Dec 2006 11:04:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1727863#M317155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T11:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1727864#M317156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;normally u can go to properties of table control and hide the column...or else in one scenario if u want then u have to loop at screen...and  make the column invisible and modify screen...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 11:09:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1727864#M317156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T11:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1727865#M317157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sushant, As per my understanding u want to hide the couloumn after a button click is it??? You can do this in the User command of the screen control by reading the reading the column which was selected using the below syntax...&lt;/P&gt;&lt;P&gt;Read TABLE &amp;lt;TCNAME&amp;gt;-COLS INTO &amp;lt;WA_TC&amp;gt; WITH KEY SELECTED = X&lt;/P&gt;&lt;P&gt;(declare a work area of type &amp;lt;TCNAME&amp;gt;-COLS ). Now try use the invisble option of this work area. I hope this might help you in solving u r query...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swaroop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 11:13:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1727865#M317157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T11:13:15Z</dc:date>
    </item>
  </channel>
</rss>

