<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1199040#M130567</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 to create a table control where the number of columns are going to be dynamic. I am able to make it disable not invisible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The scenario is When ever i am executing the report depeding upon the number of days left in that month I have display the days as columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: If i execute on 2/1/2006 i should have 30 column staring from 2/1/1006 to 31/1/2006.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i execute on 18/1/2006 i should have 14 column staring from 18/1/1006 to 31/1/2006.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know if anybody haave worked on this scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Bala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jan 2006 04:28:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-18T04:28:43Z</dc:date>
    <item>
      <title>Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1199040#M130567</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 to create a table control where the number of columns are going to be dynamic. I am able to make it disable not invisible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The scenario is When ever i am executing the report depeding upon the number of days left in that month I have display the days as columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: If i execute on 2/1/2006 i should have 30 column staring from 2/1/1006 to 31/1/2006.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i execute on 18/1/2006 i should have 14 column staring from 18/1/1006 to 31/1/2006.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know if anybody haave worked on this scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Bala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2006 04:28:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1199040#M130567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-18T04:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1199041#M130568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of a table control, I think you can achieve this with an ALV in a custom control. Define a custom control on your screen and display your dynamic internal table in the ALV grid in this control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2006 04:56:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1199041#M130568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-18T04:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1199042#M130569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hope you find this useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;tab_ctrl(control table) type cxtab_control.
* code to hide starts here.

data cols  type &amp;lt;b&amp;gt;cxtab_column&amp;lt;/b&amp;gt;. 
data col_tab type &amp;lt;b&amp;gt;cxtab_column&amp;lt;/b&amp;gt; occurs 10.
col_tab = tab_ctrl-cols[]. 

loop at col_tab  into cols. 
  check cols-screen-name = col_name. "column name to hide 
  cols-invisible = 'X'.
  modify col_tab from cols. 
endloop. 

tab_ctrl-cols[] = col_tab[].&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2006 06:10:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1199042#M130569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-18T06:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1199043#M130570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI BALA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when the number of rows are dynamic, its always best to use custom control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use alv objects concept for that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2006 08:20:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/1199043#M130570</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-01-18T08:20:41Z</dc:date>
    </item>
  </channel>
</rss>

