<?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 Vertical Scroll in Dynpro Table Control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/vertical-scroll-in-dynpro-table-control/m-p/4533346#M1071265</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;I am currently having an issue with the vertical scroll control in my classic dynpro table.  When I scroll down it will scroll past the first record and then freeze.  I cannot scroll back up to the first record.  If I try to scroll down it jumps many records and then will not let me scroll back.  I have compared the coding from this screen to one that works and cannot find any differences. Is there somewhere else I should be looking?  Has anyone else experienced this issue? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jereme&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Oct 2008 13:24:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-01T13:24:50Z</dc:date>
    <item>
      <title>Vertical Scroll in Dynpro Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vertical-scroll-in-dynpro-table-control/m-p/4533346#M1071265</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;I am currently having an issue with the vertical scroll control in my classic dynpro table.  When I scroll down it will scroll past the first record and then freeze.  I cannot scroll back up to the first record.  If I try to scroll down it jumps many records and then will not let me scroll back.  I have compared the coding from this screen to one that works and cannot find any differences. Is there somewhere else I should be looking?  Has anyone else experienced this issue? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jereme&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 13:24:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vertical-scroll-in-dynpro-table-control/m-p/4533346#M1071265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T13:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Vertical Scroll in Dynpro Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vertical-scroll-in-dynpro-table-control/m-p/4533347#M1071266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jereme Ebaugh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clear SY-UCOMM after it has processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R.Nagarajan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2008 00:41:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vertical-scroll-in-dynpro-table-control/m-p/4533347#M1071266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-02T00:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Vertical Scroll in Dynpro Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vertical-scroll-in-dynpro-table-control/m-p/4533348#M1071267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out this example program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT demo_dynpro_tabcont_loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTROLS flights TYPE TABLEVIEW USING SCREEN 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ok_code TYPE sy-ucomm,&lt;/P&gt;&lt;P&gt;      save_ok TYPE sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: itab TYPE TABLE OF demo_conn,&lt;/P&gt;&lt;P&gt;      fill TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      TABLES demo_conn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lines TYPE i,&lt;/P&gt;&lt;P&gt;      limit TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM spfli INTO CORRESPONDING FIELDS OF TABLE itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE status_0100 OUTPUT.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'SCREEN_100'.&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE itab LINES fill.&lt;/P&gt;&lt;P&gt;  flights-lines = fill.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE fill_table_control OUTPUT.&lt;/P&gt;&lt;P&gt;  READ TABLE itab INTO demo_conn INDEX flights-current_line.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE cancel INPUT.&lt;/P&gt;&lt;P&gt;  LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE read_table_control INPUT.&lt;/P&gt;&lt;P&gt;  lines = sy-loopc.&lt;/P&gt;&lt;P&gt;  MODIFY itab FROM demo_conn INDEX flights-current_line.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_0100 INPUT.&lt;/P&gt;&lt;P&gt;  save_ok = ok_code.&lt;/P&gt;&lt;P&gt;  CLEAR ok_code.&lt;/P&gt;&lt;P&gt;  CASE save_ok.&lt;/P&gt;&lt;P&gt;    WHEN 'NEXT_LINE'.&lt;/P&gt;&lt;P&gt;      flights-top_line = flights-top_line + 1.&lt;/P&gt;&lt;P&gt;      limit = fill - lines + 1.&lt;/P&gt;&lt;P&gt;      IF flights-top_line &amp;gt; limit.&lt;/P&gt;&lt;P&gt;        flights-top_line = limit.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    WHEN 'PREV_LINE'.&lt;/P&gt;&lt;P&gt;      flights-top_line = flights-top_line - 1.&lt;/P&gt;&lt;P&gt;      IF flights-top_line &amp;lt; 0.&lt;/P&gt;&lt;P&gt;        flights-top_line = 0.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    WHEN 'NEXT_PAGE'.&lt;/P&gt;&lt;P&gt;      flights-top_line = flights-top_line + lines.&lt;/P&gt;&lt;P&gt;      limit = fill - lines + 1.&lt;/P&gt;&lt;P&gt;      IF flights-top_line &amp;gt; limit.&lt;/P&gt;&lt;P&gt;        flights-top_line = limit.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    WHEN 'PREV_PAGE'.&lt;/P&gt;&lt;P&gt;      flights-top_line = flights-top_line - lines.&lt;/P&gt;&lt;P&gt;      IF flights-top_line &amp;lt; 0.&lt;/P&gt;&lt;P&gt;        flights-top_line = 0.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    WHEN 'LAST_PAGE'.&lt;/P&gt;&lt;P&gt;      flights-top_line =  fill - lines + 1.&lt;/P&gt;&lt;P&gt;    WHEN 'FIRST_PAGE'.&lt;/P&gt;&lt;P&gt;      flights-top_line = 0.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has the following flow logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;  MODULE status_0100.&lt;/P&gt;&lt;P&gt;  LOOP WITH CONTROL flights.&lt;/P&gt;&lt;P&gt;    MODULE fill_table_control.&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;  MODULE cancel AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;  LOOP WITH CONTROL flights.&lt;/P&gt;&lt;P&gt;    MODULE read_table_control.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;  MODULE user_command_0100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Midhun Abraham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Midhun Abraham on Oct 2, 2008 5:23 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2008 03:21:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vertical-scroll-in-dynpro-table-control/m-p/4533348#M1071267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-02T03:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Vertical Scroll in Dynpro Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/vertical-scroll-in-dynpro-table-control/m-p/4533349#M1071268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nagarajan Ramamoorthy!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I currently clear Sy-Ucomm at the end of the user command module in the PAI Section.  Should I clear it somewhere else? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jereme&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2008 13:08:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/vertical-scroll-in-dynpro-table-control/m-p/4533349#M1071268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-02T13:08:51Z</dc:date>
    </item>
  </channel>
</rss>

