<?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: Add dynamic column to table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-dynamic-column-to-table-control/m-p/8136420#M1619947</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;declare as many columns as u like initially. u can hide the display of the columns as and when u wish..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is possible with the use of TYPE-POOLS cxtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare TYPE-POOLS cxtab.&lt;/P&gt;&lt;P&gt;DATA v_tccols TYPE cxtab_column .&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;tc_cols&amp;gt; TYPE cxtab_control .&lt;/P&gt;&lt;P&gt;data tcname(25) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign table control name to tcname and assign tcname to tc_cols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with this u can manipulate what ever columns u want to display or hide&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sapabap403 on Sep 14, 2011 10:09 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2011 08:08:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-14T08:08:25Z</dc:date>
    <item>
      <title>Add dynamic column to table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-dynamic-column-to-table-control/m-p/8136417#M1619944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want add new column dynamically (code abap) to table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 17:32:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-dynamic-column-to-table-control/m-p/8136417#M1619944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-13T17:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Add dynamic column to table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-dynamic-column-to-table-control/m-p/8136418#M1619945</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;As far I know it is not possible to add columns to table control dynamically,  Instead first  Add all columns to table control and hide them . At runtime you can show the columns of table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to add dynamically only then.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use OO ALV. build a dynamic internal table and pass it to ALV .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps u.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 05:41:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-dynamic-column-to-table-control/m-p/8136418#M1619945</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2011-09-14T05:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Add dynamic column to table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-dynamic-column-to-table-control/m-p/8136419#M1619946</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;declare as many columns as u like initially. u can hide the display of the columns as and when u wish..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is possible with the use of TYPE-POOLS cxtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare TYPE-POOLS cxtab.&lt;/P&gt;&lt;P&gt;DATA v_tccols TYPE cxtab_column .&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;tc_cols&amp;gt; TYPE cxtab_control .&lt;/P&gt;&lt;P&gt;data tcname(25) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign table control name to tcname and assign tcname to tc_cols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with this u can manipulate what ever columns u want to display or hide&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 08:07:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-dynamic-column-to-table-control/m-p/8136419#M1619946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T08:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Add dynamic column to table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-dynamic-column-to-table-control/m-p/8136420#M1619947</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;declare as many columns as u like initially. u can hide the display of the columns as and when u wish..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is possible with the use of TYPE-POOLS cxtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare TYPE-POOLS cxtab.&lt;/P&gt;&lt;P&gt;DATA v_tccols TYPE cxtab_column .&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;tc_cols&amp;gt; TYPE cxtab_control .&lt;/P&gt;&lt;P&gt;data tcname(25) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign table control name to tcname and assign tcname to tc_cols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with this u can manipulate what ever columns u want to display or hide&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sapabap403 on Sep 14, 2011 10:09 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 08:08:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-dynamic-column-to-table-control/m-p/8136420#M1619947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-14T08:08:25Z</dc:date>
    </item>
  </channel>
</rss>

