<?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 dynamic rows in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-dynamic-rows/m-p/4928479#M1149786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my dialog prog i have one change button which will fetch the data from database table and will put it in table control in screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table control i want the provisison of adding more data but except first row all the other rows are in grey mode kindly guide me how to make the rows editable so the user can add more rows of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Dec 2008 09:35:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-17T09:35:17Z</dc:date>
    <item>
      <title>table control dynamic rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-dynamic-rows/m-p/4928479#M1149786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my dialog prog i have one change button which will fetch the data from database table and will put it in table control in screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table control i want the provisison of adding more data but except first row all the other rows are in grey mode kindly guide me how to make the rows editable so the user can add more rows of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 09:35:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-dynamic-rows/m-p/4928479#M1149786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-17T09:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: table control dynamic rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-dynamic-rows/m-p/4928480#M1149787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny ,&lt;/P&gt;&lt;P&gt;Incase u have made the table control with wizard then do the following : &lt;/P&gt;&lt;P&gt;when you go through the coding of table control which wizard has done u will find one OK_CODE&lt;/P&gt;&lt;P&gt;i.e. 'INSR;,specify the button with fcode 'INSR' &amp;amp; debug it I am sure u will get the solution to add one more line and in this way u can ask user to add number of lines as per the reuirement .&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;Thnks &lt;/P&gt;&lt;P&gt;Sahil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 09:43:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-dynamic-rows/m-p/4928480#M1149787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-17T09:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: table control dynamic rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-dynamic-rows/m-p/4928481#M1149788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the PBO module, inside the table control loop.. endloop write a module and in that module, write the below piece of code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DESCRIBE TABLE &amp;lt;internal_table_name&amp;gt; LINES tablecontrolname-lines.
tablecontrolname-lines = tablecontrolname-lines + 1. " here, 1 blank line will be added after the display of all the records.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 09:49:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-dynamic-rows/m-p/4928481#M1149788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-17T09:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: table control dynamic rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-dynamic-rows/m-p/4928482#M1149789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are fetching the data from internal table say itab into the table control and you want that the number of blank lines should be created after the last record, then you can use this code:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA : line_count TYPE i. "variable to store the number of records in internal table
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PBO of the screen in which the data is being displayed in the table control, use code:-&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DESCRIBE TABLE itab "itab is the internal table
LINES line_count. "number of records populated into the internal table

tab_ctrl-lines = line-count + 10. "will insert 10 blank line after the internal table records
"tab_ctrl is the name of the table control on the screen
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Tarun Gambhir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 09:58:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-dynamic-rows/m-p/4928482#M1149789</guid>
      <dc:creator>I355602</dc:creator>
      <dc:date>2008-12-17T09:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: table control dynamic rows</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-dynamic-rows/m-p/4928483#M1149790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THNKS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 11:22:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-dynamic-rows/m-p/4928483#M1149790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-17T11:22:02Z</dc:date>
    </item>
  </channel>
</rss>

