<?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 ctrl in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-ctrl/m-p/4530227#M1070718</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;clear tabctrl_lines.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before or at the end of calling table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sathish reddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Sep 2008 04:07:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-22T04:07:26Z</dc:date>
    <item>
      <title>table ctrl</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-ctrl/m-p/4530224#M1070715</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 a problem while displaying table ctrl.&lt;/P&gt;&lt;P&gt;i have a transaction where the input for the table ctrl is given(subscreen a)&lt;/P&gt;&lt;P&gt;i see the output in a table ctrl (subscreen b).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i execute the transaction for the first time with a n entry which has 3 records in the dbase table it is shown correctly. I have a option in subscreen b to go back to subscreen a , now if i make another entry removing the first one which has 15 records in dbase table only 3 of them are shown in the table ctrl of subscreen b.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i make an entry which has 15 records in dbase table after restarting the transaction i can see all the 15 records in table ctrl of subscreen b. if i nce again go back and overwrite the entry which has 3 entries in the dbase table i can see all the 3 entries and also scroll bar to drag down upto 15  entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the code is  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
LOOP AT IT_COMPCTRL WITH CONTROL COMPCTRL
                 CURSOR COMPCTRL-CURRENT_LINE.

  ENDLOOP. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me in this issue.&lt;/P&gt;&lt;P&gt;tks &amp;amp; reg&lt;/P&gt;&lt;P&gt;-Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2008 13:49:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-ctrl/m-p/4530224#M1070715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-20T13:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: table ctrl</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-ctrl/m-p/4530225#M1070716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your query is bit confusing can it be more precise so that we can get back to you quickly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Sep 2008 20:13:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-ctrl/m-p/4530225#M1070716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-20T20:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: table ctrl</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-ctrl/m-p/4530226#M1070717</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 have a situtaion where i need to populate the table ctrl in a subscreen.&lt;/P&gt;&lt;P&gt;if i execute the transaction for the first time with an entry for whoch 3 rec are fetched from dbase, they were populated correctly in tabctrl, if i go back and enter another value for which it fetches 15 rec from the dbase, unfortunately only 3 of them are shown in tab ctrl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i once again restart the transaction with an entry that has 15 rec in dbase, they were displayed correctly in tabctrl, if i go back and overwrite the entry with another entry that has only 3 recs in dbase , 3 recs are shown but with a scroll bar that can be dragged up to 15 rows in tabctrl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code is simple &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; loop at itab with  control tabctrl
                            cursor tabctrl- current_line.
      endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;in the above code itab is filled with correct records for their respective entries in the selscreen. but it is not looped for all the records in the tabctrl tab(itab).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case 1:  entry 1 : recs-&amp;gt;3  tabctrl disp-&amp;gt; 3  itab has 3 records&lt;/P&gt;&lt;P&gt;             entry 2 : recs-&amp;gt;15 tabctrl disp-&amp;gt;3 itab has 15 recs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case 2: entry 1: recs-&amp;gt;15 tabctrl disp -&amp;gt;15  itab has 15 recs&lt;/P&gt;&lt;P&gt;            entry 2: recs-&amp;gt; 3 tabctrl disp -&amp;gt; 3  itab has 3 recs&lt;/P&gt;&lt;P&gt;            but we can see scroll bar that can be dragged upto   15 lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in both cases sy-loopc is 14. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is clear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tks &amp;amp; regs&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Sep 2008 09:22:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-ctrl/m-p/4530226#M1070717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-21T09:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: table ctrl</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-ctrl/m-p/4530227#M1070718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;clear tabctrl_lines.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before or at the end of calling table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sathish reddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 04:07:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-ctrl/m-p/4530227#M1070718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-22T04:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: table ctrl</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-ctrl/m-p/4530228#M1070719</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;tks for the inputs &lt;/P&gt;&lt;P&gt;issue is solved&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; refresh control '&amp;lt;tabctrl&amp;gt;' from screen &amp;lt;scr&amp;gt; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 10:07:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-ctrl/m-p/4530228#M1070719</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-22T10:07:53Z</dc:date>
    </item>
  </channel>
</rss>

