<?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 increment lines dynamically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-increment-lines-dynamically/m-p/5979347#M1340604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check if you are moving every line from table control to internal table as it should happen in PAI.&lt;/P&gt;&lt;P&gt;If you have not handled then after you scroll the PAI is triggering and again loading empty internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Augustin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2009 05:09:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-24T05:09:35Z</dc:date>
    <item>
      <title>table control increment lines dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-increment-lines-dynamically/m-p/5979344#M1340601</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;  i want  to increment table control lines dynamically while creation only.i searched in sdn.i hav got the code as below to add in PBO.&lt;/P&gt;&lt;P&gt;  tctrl --table control name&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DESCRIBE TABLE it_cro_item LINES line.
  line = line + 25.
  tctrl-lines = line.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my table control visible lines are 11 lines.after entering 11 lines for entering into 12th line im scrolling down, as soon as i scrolled down the 11 lines data is disappearing y it is happening like dis..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my PAI i wrote like dis..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CASE ok_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'SAV'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      wa_cro_it-mandt = sy-mandt.        &lt;/P&gt;&lt;P&gt;      wa_cro_it-zenquiry = w_enquiry.&lt;/P&gt;&lt;P&gt;      wa_cro_it-zlineno = sy-stepl.&lt;/P&gt;&lt;P&gt;      wa_cro_it-zpartno = zcro_item-zpartno.&lt;/P&gt;&lt;P&gt;      wa_cro_it-zdesc = zcro_item-zdesc.&lt;/P&gt;&lt;P&gt;      wa_cro_it-zcustmatno = zcro_item-zcustmatno.&lt;/P&gt;&lt;P&gt;      wa_cro_it-zmake = zcro_item-zmake.&lt;/P&gt;&lt;P&gt;      wa_cro_it-zoem = zcro_item-zoem.&lt;/P&gt;&lt;P&gt;      wa_cro_it-zapplication = zcro_item-zapplication.&lt;/P&gt;&lt;P&gt;      wa_cro_it-zquantity = zcro_item-zquantity.&lt;/P&gt;&lt;P&gt;      wa_cro_it-zunit = zcro_item-zunit.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;      MOVE-CORRESPONDING wa_cro_it TO wa_cro_item.&lt;/P&gt;&lt;P&gt;      insert into zcro_item values wa_cro_item.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please do need ful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THX&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2009 10:49:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-increment-lines-dynamically/m-p/5979344#M1340601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-21T10:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: table control increment lines dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-increment-lines-dynamically/m-p/5979345#M1340602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE it_cro_item LINES line.&lt;/P&gt;&lt;P&gt;  line = line + 25.&lt;/P&gt;&lt;P&gt;  tctrl-lines = line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this code you reserve 25 more lines for table control than entries in table IT_CRO_ITEM. This means that these 25 remaining rows will be empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the scrolling in PAI it will be automatically provided for manual scroll, but if you would like to use PAGE DOWN, UP buttons simply set &lt;STRONG&gt;tab_control-top_line&lt;/STRONG&gt; to desired line. This way you can scroll either by one or couple rows, or by entire page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2009 11:24:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-increment-lines-dynamically/m-p/5979345#M1340602</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-08-21T11:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: table control increment lines dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-increment-lines-dynamically/m-p/5979346#M1340603</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;If you want to dynamically increase the number of lines in the table control, the you can use the code that you have written. Your code will increase the number of lines in the table control to an additional 25 lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the problem with your scroll bar, whenever you scroll down or scroll up the table control, the PAI is triggered. So, debug whenever you scroll down and check where the table control data vanishes. Once your PAI is triggered after scrolling down, the PBO is triggered for displaying the table control back where I am sure you wouldnt have populated data in the table control. So, try populating data from the internal table or work area onto the table control fields in the PBO as well inside a module within the LOOP...ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Aug 2009 11:27:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-increment-lines-dynamically/m-p/5979346#M1340603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-22T11:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: table control increment lines dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-increment-lines-dynamically/m-p/5979347#M1340604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check if you are moving every line from table control to internal table as it should happen in PAI.&lt;/P&gt;&lt;P&gt;If you have not handled then after you scroll the PAI is triggering and again loading empty internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Augustin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 05:09:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-increment-lines-dynamically/m-p/5979347#M1340604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T05:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: table control increment lines dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-increment-lines-dynamically/m-p/5979348#M1340605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved thx..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 09:18:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-increment-lines-dynamically/m-p/5979348#M1340605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T09:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: table control increment lines dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-increment-lines-dynamically/m-p/5979349#M1340606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved thx..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 09:33:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-increment-lines-dynamically/m-p/5979349#M1340606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T09:33:37Z</dc:date>
    </item>
  </channel>
</rss>

