<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/5282335#M1219072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whenever you carry on a scrollbar movement(horizontal/vertical) ,the PBO of the respective screen get executed followed by a PAI execution.So check your code setting proper breakpoint at PBO module. &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, 03 Mar 2009 12:52:30 GMT</pubDate>
    <dc:creator>sarbajitm</dc:creator>
    <dc:date>2009-03-03T12:52:30Z</dc:date>
    <item>
      <title>Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/5282333#M1219070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My data from the top of the table control are disappearing when i press the horizontal scroll down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2009 12:44:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/5282333#M1219070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-03T12:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/5282334#M1219071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might have written some code for scroll bar, please check that once by mistake if you are doing something or Check in the properties of table control&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2009 12:47:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/5282334#M1219071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-03T12:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/5282335#M1219072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whenever you carry on a scrollbar movement(horizontal/vertical) ,the PBO of the respective screen get executed followed by a PAI execution.So check your code setting proper breakpoint at PBO module. &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, 03 Mar 2009 12:52:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/5282335#M1219072</guid>
      <dc:creator>sarbajitm</dc:creator>
      <dc:date>2009-03-03T12:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/5282336#M1219073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly check the case,where u have written the code for table control data or scroll bar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is always good to use table control wizard,bcz there is one option for scroll bar in wizard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2009 12:54:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/5282336#M1219073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-03T12:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/5282337#M1219074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now check the PBO and PAI and i have not seen anything. There must be some code to this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2009 12:58:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/5282337#M1219074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-03T12:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/5282338#M1219075</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;All you need to dos is to read the internal table into the table control in PBO of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer the below code:-&lt;/P&gt;&lt;P&gt;In PBO, you read internal table to table control on screen.&lt;/P&gt;&lt;P&gt;In PAI, you modify internal table from the table control on screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;it_zekpo is my internal table w/o header line,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wa_zekpo is work area.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Name of input/output fields on screen are:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wa_zekpo-field1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;wa_zekpo-field2, and so on...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use code:-&lt;/P&gt;&lt;P&gt;At screen logic:-&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PROCESS BEFORE OUTPUT.
*  MODULE status_8003.
 
  LOOP WITH CONTROL po_tab. "po_tab is table control on screen 8003
    MODULE read_data.
  ENDLOOP.
 
PROCESS AFTER INPUT.
*  MODULE user_command_8003.
 
  LOOP WITH CONTROL po_tab.
    MODULE modify_data.
  ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In PBO:-&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  READ_DATA  OUTPUT
*&amp;amp;---------------------------------------------------------------------*
MODULE read_data OUTPUT.
  READ TABLE it_zekpo INTO wa_zekpo INDEX po_tab-current_line. "po_tab is table control name
  " read the record from internal table to table control
  data : line_count type i.
 
  describe it_zekpo
  lines line_count.
 
  po_tab-lines = line_count + 10.
  "to increase the number of lines in table control dynamically
 
ENDMODULE.                 " READ_DATA  OUTPUT
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In PAI:-&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  MODIFY_DATA  INPUT
*&amp;amp;---------------------------------------------------------------------*
MODULE MODIFY_DATA INPUT.
  MODIFY IT_ZEKPO FROM WA_ZEKPO INDEX po_tab-currentline.
  "this will modify the contents of existing line
ENDMODULE.                 " MODIFY_DATA  INPUT
&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, 04 Mar 2009 04:05:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/5282338#M1219075</guid>
      <dc:creator>I355602</dc:creator>
      <dc:date>2009-03-04T04:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/5282339#M1219076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create a module and write down the code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE it_table LINES tabcntrl-lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: don't put the module in the loop and place it in such a way that before executing this statement it_table should be filledup with the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Nilay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 07:01:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/5282339#M1219076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-06T07:01:37Z</dc:date>
    </item>
  </channel>
</rss>

