<?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: Page Up and Page down functionality in table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649878#M610761</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;Use the function module SCROLLING_IN_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ok_code pass P- for previous page and P+ for next page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
   DATA L_TC_NEW_TOP_LINE     TYPE I.
     CALL FUNCTION 'SCROLLING_IN_TABLE'
          EXPORTING
               ENTRY_ACT             = Table_Control-TOP_LINE
               ENTRY_FROM            = 1
               ENTRY_TO              = Table_Control-LINES
               LAST_PAGE_FULL        = 'X'
               LOOPS                 = 25
               OK_CODE               = 'P+'
               OVERLAPPING           = 'X'
          IMPORTING
               ENTRY_NEW             = L_TC_NEW_TOP_LINE
          EXCEPTIONS
*              NO_ENTRY_OR_PAGE_ACT  = 01
*              NO_ENTRY_TO           = 02
*              NO_OK_CODE_OR_PAGE_GO = 03
               OTHERS                = 0.

   Table_Control-TOP_LINE = L_TC_NEW_TOP_LINE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2007 06:15:01 GMT</pubDate>
    <dc:creator>seshatalpasai_madala</dc:creator>
    <dc:date>2007-08-23T06:15:01Z</dc:date>
    <item>
      <title>Page Up and Page down functionality in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649877#M610760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    I want to add two pushbuttons in the module pool screen which has a table control that fetches data from the transparent table. One pushbutton is for the page up and other is for page down. If my table control &amp;lt;say tab_ctrl1&amp;gt; has 75 records in total with shows 25 at time so with a single page down it should show next 25 rows of the data.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;ekta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 06:07:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649877#M610760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T06:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Page Up and Page down functionality in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649878#M610761</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;Use the function module SCROLLING_IN_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ok_code pass P- for previous page and P+ for next page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
   DATA L_TC_NEW_TOP_LINE     TYPE I.
     CALL FUNCTION 'SCROLLING_IN_TABLE'
          EXPORTING
               ENTRY_ACT             = Table_Control-TOP_LINE
               ENTRY_FROM            = 1
               ENTRY_TO              = Table_Control-LINES
               LAST_PAGE_FULL        = 'X'
               LOOPS                 = 25
               OK_CODE               = 'P+'
               OVERLAPPING           = 'X'
          IMPORTING
               ENTRY_NEW             = L_TC_NEW_TOP_LINE
          EXCEPTIONS
*              NO_ENTRY_OR_PAGE_ACT  = 01
*              NO_ENTRY_TO           = 02
*              NO_OK_CODE_OR_PAGE_GO = 03
               OTHERS                = 0.

   Table_Control-TOP_LINE = L_TC_NEW_TOP_LINE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 06:15:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649878#M610761</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-08-23T06:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Page Up and Page down functionality in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649879#M610762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ekta if table has entries more than the visible rows of table control , then vertical scroll bar will apperar automatically. &lt;/P&gt;&lt;P&gt;If it doesnt appera then u can put a statement &amp;lt;Table Control Name&amp;gt;-lines = 10000 (u can put any value here ) in PBO of screen where table control is.&lt;/P&gt;&lt;P&gt;It will have same functionlity as page up &amp;amp; down that too without writing code for page up or page down separately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 06:16:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649879#M610762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T06:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Page Up and Page down functionality in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649880#M610763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the end of your loop at internal table in PAI write&lt;/P&gt;&lt;P&gt;LINE_JUMP = SY-LOOPC. &lt;/P&gt;&lt;P&gt;instead of hard coding it like&lt;/P&gt;&lt;P&gt;LINE_JUMP = 25.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in your module user command write code like this&lt;/P&gt;&lt;P&gt;  CASE OK_CODE.&lt;/P&gt;&lt;P&gt;    WHEN 'P+'.&lt;/P&gt;&lt;P&gt;      CLEAR OK_CODE.&lt;/P&gt;&lt;P&gt;      CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE + LINE_JUMP.&lt;/P&gt;&lt;P&gt;      IF CONTROL_DATA-TOP_LINE GT CONTROL_DATA-LINES.&lt;/P&gt;&lt;P&gt;        CONTROL_DATA-TOP_LINE = CONTROL_DATA-LINES - LINE_JUMP + 1.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    WHEN 'P--'.&lt;/P&gt;&lt;P&gt;      CLEAR OK_CODE.&lt;/P&gt;&lt;P&gt;      CONTROL_DATA-TOP_LINE = 1.&lt;/P&gt;&lt;P&gt;    WHEN 'P-'.&lt;/P&gt;&lt;P&gt;      CLEAR OK_CODE.&lt;/P&gt;&lt;P&gt;      CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE - LINE_JUMP.&lt;/P&gt;&lt;P&gt;    WHEN 'P++'.&lt;/P&gt;&lt;P&gt;      CLEAR OK_CODE.&lt;/P&gt;&lt;P&gt;      CONTROL_DATA-TOP_LINE = CONTROL_DATA-LINES - LINE_JUMP + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign P++ to page Last icon, P-- for first page, P+ for next page,P- for previous page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful, get back in case of query...&lt;/P&gt;&lt;P&gt;Cheers!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Tripat Pal Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 06:26:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649880#M610763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T06:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Page Up and Page down functionality in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649881#M610764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IN data declaration i have taken a data       N       TYPE I  VALUE  '16',&lt;/P&gt;&lt;P&gt;instead of hard coding we can have character declaration even as c_16  or any other value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for page up i have used function code as '&amp;amp;PUP'&lt;/P&gt;&lt;P&gt;and for page down i have used function code as '&amp;amp;PDN'&lt;/P&gt;&lt;P&gt;in PAI module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case for the ok_code is as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN '&amp;amp;PUP'.&lt;/P&gt;&lt;P&gt;      tab_ctrl1-top_line = tab_ctrl1-top_line - n.&lt;/P&gt;&lt;P&gt;    WHEN '&amp;amp;PDN'.&lt;/P&gt;&lt;P&gt;      tab_ctrl1-top_line = tab_ctrl1-top_line + n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for all the experts who helped me in getting this thread solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 05:13:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649881#M610764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T05:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Page Up and Page down functionality in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649882#M610765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks and i am ending this thread up&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 05:15:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649882#M610765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T05:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Page Up and Page down functionality in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649883#M610766</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;if i press page up and page down of the keyboard...it should do the same functionality as page-up and page-down push buttons are doing.&lt;/P&gt;&lt;P&gt;actually i want to know what is the standard value of the page down and page up keys in the module pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks...&lt;/P&gt;&lt;P&gt;please help me in solving the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 06:45:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649883#M610766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T06:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Page Up and Page down functionality in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649884#M610767</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;your suggestion helped me a lot....please can you help me in finding this out...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f i press page up and page down of the keyboard...it should do the same functionality as page-up and page-down push buttons are doing.&lt;/P&gt;&lt;P&gt;actually i want to know what is the standard value of the page down and page up keys in the module pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks ekta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 06:49:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649884#M610767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T06:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Page Up and Page down functionality in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649885#M610768</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;&lt;/P&gt;&lt;P&gt;the issue is been resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in PBO&lt;/P&gt;&lt;P&gt;  index_t = tab_ctrl1-top_line.&lt;/P&gt;&lt;P&gt;  index_d = tab_ctrl1-top_line + n.&lt;/P&gt;&lt;P&gt;  set cursor field 'WA_MATERIAL_DATA-MATNR' line N OFFSET INDEX_T.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;ekta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 14:49:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649885#M610768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T14:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Page Up and Page down functionality in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649886#M610769</link>
      <description>&lt;P&gt;Can anyone also provide the same for Find and Find next button please .?&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2143905-image.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 10:31:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/page-up-and-page-down-functionality-in-table-control/m-p/2649886#M610769</guid>
      <dc:creator>former_member841895</dc:creator>
      <dc:date>2023-03-08T10:31:26Z</dc:date>
    </item>
  </channel>
</rss>

