<?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: Scrolling in table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/scrolling-in-table-control/m-p/1880860#M369893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;have a look at this link ..&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac4435c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac4435c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sts1.sts.tu-harburg.de/teaching/sap_r3/ABAP4/contro02.htm" target="test_blank"&gt;http://sts1.sts.tu-harburg.de/teaching/sap_r3/ABAP4/contro02.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also look at the sample program &amp;lt;b&amp;gt;demo_dynpro_tabcont_loop&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jan 2007 17:28:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-19T17:28:14Z</dc:date>
    <item>
      <title>Scrolling in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scrolling-in-table-control/m-p/1880858#M369891</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 am stuck in a problem related to scrolling in table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table control ( named TBCL ) there is a field that is mandatory. i.e. it needs to be filled.&lt;/P&gt;&lt;P&gt;Problems comes up when without filling all the values for all the ( 16 ) rows of the table control, I try to scroll down.&lt;/P&gt;&lt;P&gt;As soon as I try to scroll, PAI is trigerred and I am forced to enter row by row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field is an important one and should be made mandatory.&lt;/P&gt;&lt;P&gt;Can I set the length of the table control ? or provide scrolling down from 1st page to next?            &amp;lt;b&amp;gt;PLEASE HELP&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is :&lt;/P&gt;&lt;P&gt;=========&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  MODULE status_1332.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT it_zresb INTO wa_zresb WITH CONTROL tbcl.&lt;/P&gt;&lt;P&gt;    MODULE get_data.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;  LOOP AT it_zresb .&lt;/P&gt;&lt;P&gt;    MODULE put_data.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  MODULE user_command_1332.&lt;/P&gt;&lt;P&gt;                                                   whereas the declarations are:&lt;/P&gt;&lt;P&gt;                                                   =====================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONTROLS : tbcl TYPE TABLEVIEW USING SCREEN '1332'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2007 12:48:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scrolling-in-table-control/m-p/1880858#M369891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-19T12:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Scrolling in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scrolling-in-table-control/m-p/1880859#M369892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Srivastava&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following Document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Screen tables&lt;/P&gt;&lt;P&gt;A table can be created in transaction. These tables, when designed on the screen are called as SCREEN TABLES. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are of two types.&lt;/P&gt;&lt;P&gt;Table Controls and Step loops&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These tables are treated as Loops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)Features of Table Controls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data is displayed in the form of table.&lt;/P&gt;&lt;P&gt;Table control gives user the feeling of an actual table.&lt;/P&gt;&lt;P&gt;You can scroll through the table vertically as well as horizontally.&lt;/P&gt;&lt;P&gt;You can select rows and columns.&lt;/P&gt;&lt;P&gt;You can resize the with of columns.&lt;/P&gt;&lt;P&gt;You can have separator lines between rows and columns.&lt;/P&gt;&lt;P&gt;Automatic resizing of the table when the user resizes the window.&lt;/P&gt;&lt;P&gt;You can update information in the table control and it can be updated in the database table by writing code for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)Steps for creating table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declaration of table control in module pool program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Designing of table controls on the screen.&lt;/P&gt;&lt;P&gt;Passing data to table control in flow logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4)Declaration of TC in MPP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;controls &amp;lt;name of table control&amp;gt; type tableview using screen &amp;lt;&amp;#129;escreen no.&amp;#129;f&amp;gt;.&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;5)Designing Table control on screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on Table in Control bar and place it on the screen. You can adjust the length and width of the Table Control.&lt;/P&gt;&lt;P&gt;Name the table control.(same name as given in data declaration).&lt;/P&gt;&lt;P&gt;From dictionary object OR from program fields select the fields and place them in the table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6)Passing data to table control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually transfer of data from program to screen is automatic.&lt;/P&gt;&lt;P&gt;In case of TC, you need to explicitly transfer the data to table control.&lt;/P&gt;&lt;P&gt;ABAP/4 provides Loop statement, which is associated with flow logic to transfer the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7)Passing of data contd.&lt;/P&gt;&lt;P&gt;PBO.&lt;/P&gt;&lt;P&gt;Loop at &amp;lt;name of internal table&amp;gt; with control &amp;lt;name of table control&amp;gt; cursor &amp;lt;scroll variable&amp;gt;.&lt;/P&gt;&lt;P&gt;module&amp;#129;c&amp;#129;c.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;PAI.&lt;/P&gt;&lt;P&gt;Loop at &amp;lt; name of internal table&amp;gt;.Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;8)Scroll variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Top_line : the row of table where the screen display starts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current_line : the row currently being processed inside a loop.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;9)Transfer of data from prg to TC.&lt;/P&gt;&lt;P&gt;With &amp;#129;eLoop at &amp;#129;c&amp;#129;f statement, the first row is placed in the header of internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any module is specified between Loop and End loop, it will be executed. In this module, generally we will be assigning this internal table fields to table control screen fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The row in internal table is transferred to the TC as stated in the &amp;#129;eLoop at&amp;#129;c..&amp;#129;f statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system encounters the &amp;#129;eEndloop&amp;#129;f statement and control is passed back to the next line of internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the same way all the records of the internal table are passed to the TC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sreeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2007 17:11:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scrolling-in-table-control/m-p/1880859#M369892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-19T17:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Scrolling in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scrolling-in-table-control/m-p/1880860#M369893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;have a look at this link ..&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac4435c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac4435c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sts1.sts.tu-harburg.de/teaching/sap_r3/ABAP4/contro02.htm" target="test_blank"&gt;http://sts1.sts.tu-harburg.de/teaching/sap_r3/ABAP4/contro02.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also look at the sample program &amp;lt;b&amp;gt;demo_dynpro_tabcont_loop&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2007 17:28:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scrolling-in-table-control/m-p/1880860#M369893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-19T17:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Scrolling in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scrolling-in-table-control/m-p/1880861#M369894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Mr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u say that one of the feature of table ctrl is &lt;/P&gt;&lt;P&gt;'You can scroll through the table vertically as well as horizontally", why is my table ctrl cannot be scrolled vertically. I have 24 records in db, only 22 appear and i tried to scroll to 2 the other 2, but the scroll has no response. how can i make the scroll functioning. do i need to add additional code? i used table ctrl wizard to create the tc and my current version is 4.6c&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 07:09:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scrolling-in-table-control/m-p/1880861#M369894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T07:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Scrolling in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scrolling-in-table-control/m-p/1880862#M369895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the PBO of the Table control module wirte these statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABCTRL is the table control name&lt;/P&gt;&lt;P&gt;and itab is the internal table being passed to the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;describe table itab lines N.
tabctrl-lines = N.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 07:13:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scrolling-in-table-control/m-p/1880862#M369895</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-07-02T07:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Scrolling in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/scrolling-in-table-control/m-p/1880863#M369896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mr Gopi Narendra ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've done what u suggested above but still no response from the vartical scrollbar.&lt;/P&gt;&lt;P&gt;this is  in my PBO:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;  module status_1000." declrare of pf-status&lt;/P&gt;&lt;P&gt;*&amp;amp;spwizard: pbo flow logic for tablecontrol 'TC001' &lt;/P&gt;&lt;P&gt;  module TC001_init. "created by wizard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;spwizard: module TC001_change_tc_attr.&lt;/P&gt;&lt;P&gt;*&amp;amp;spwizard: module TC001_change_col_attr.&lt;/P&gt;&lt;P&gt;  loop at   g_TC001_itab&lt;/P&gt;&lt;P&gt;       into g_TC001_wa&lt;/P&gt;&lt;P&gt;       with control TC001&lt;/P&gt;&lt;P&gt;       cursor TC001-current_line.&lt;/P&gt;&lt;P&gt;*&amp;amp;spwizard:   module TC001_change_field_attr&lt;/P&gt;&lt;P&gt;    module TC001_move. "created by wizard&lt;/P&gt;&lt;P&gt;    module TC001_get_lines. "created by wizard&lt;/P&gt;&lt;P&gt;    module row.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 07:31:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/scrolling-in-table-control/m-p/1880863#M369896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T07:31:10Z</dc:date>
    </item>
  </channel>
</rss>

