How to make the Page UP and down work on a table control screen?

Dear all,
Can some one suggest how to make the table control screen work with Page Up and Page down controls.
when I press on Page down it works for the first time and after that i need to select the table to make it work the second time. it there a way I can make the index on the screen stay on the table control at all times.
Regard,
Vj

Take this code as a referance:
Sample code for vertical scrolling in PAI processing will look like this:
MODULE user_command_XXXX INPUT. (XXXX is screen no.)
  CASE ok_code.
    WHEN 'P--'.
      CLEAR ok_code.
      PERFORM paging USING 'P--'.
    WHEN 'P-'.
      CLEAR ok_code.
      PERFORM paging USING 'P-'.
    WHEN 'P+'.
      CLEAR ok_code.
      PERFORM paging USING 'P+'.
    WHEN 'P++'.
      CLEAR ok_code.
      PERFORM paging USING 'P++'.
*&      Form  PAGING
*       Form to do scrolling for screen XXXX
*      -->CODE   OKCODE value (P--, P-, P+, P++ )
FORM paging USING code.
  DATA: i TYPE i,
        j TYPE i.
  CASE code.
    WHEN 'P--'. <table control name>-top_line = 1.
    WHEN 'P-'.
      <table control name>-top_line =
              <table control name>-top_line - line_count.
      IF <table control name>-top_line LE 0.
        <table control name>-top_line = 1.
      ENDIF.
    WHEN 'P+'.
      i = <table control name>-top_line + line_count.
      j = <table control name>-lines - line_count + 1.
      IF j LE 0. j = 1. ENDIF.
      IF i LE j.
        <table control name>-top_line = i.
      ELSE.
        <table control name>-top_line = j.
      ENDIF.
    WHEN 'P++'.
      <table control name>-top_line =
             <table control name>-lines - line_count + 1.
      IF <table control name>-top_line LE 0.
        <table control name>-top_line = 1.
      ENDIF.
  ENDCASE.
ENDFORM.                               " PAGING
Regards,
Ravi

Similar Messages

  • When the page will be load how to make the page blank in run time

    Dear
    when i will run the page the fields shoud come with blank Field.
    i want to make it in runtime.
    example- i have one page having employees data. but when i will run that page the data will not come only blank fields should come, after thar i will create.

    duplicate how to make the page blank field in runtime

  • How to make the page expired when user click back

    how to make the page as expired when i click back button on the browser.
    i want a better way.
    actually i have a timer.when it reaches 00.00 then the expired page will be called automaticlly using location.href="expired.jsp" then if the user clicks back it should not show the previous page.this concept is applied with paging concept
    response.setheader is not working ...
    i have redirect when click back using
    <body onunload>....i call another page here.
    but it is not a good way.
    so pls help me to solve this problem
    using session or another good way

    Use this instead.
    Frame.setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);

  • Adobe Captivate 7 Project How to make Rollover cations, audio, and video work in HTML format?

    Adobe Captivate 7 Project How to make Rollover cations, audio, and video work in HTML format?

    Honestly, I don't even know why this is an option. The conversion to Flash is completely unusable.
    I have exported some things to Flash, and since I program in Flash all the time I was able to manipulate to work to some degree. Most text captions are built with multiple elements and completely fall apart.
    Sorry, I can't be of more help.

  • Reg: how to see the vendor details and general ledger details in tables

    HI all
    how to see the vendor details and general ledger details in tables.
    regards
    JK Rao

    General ledger transactions are available in following table;
    1. BKPF & BSEG
    2. BSIS - Open Items
    3. BSAS - Cleared Itesm
    For vendor
    1. BSIK - Open Items
    2. BSAK - Cleared Items
    For Customers
    1 BSID - Open Items
    2. BSAD - Cleared Items
    Regards
    Rakesh Pawaskar

  • 2 Question How to set the page size and  full screen

    I am looking to find out how to set the page to be 1024 by
    768 static and also how to force a browser window to go to full
    screen. Thanks

    Hi Ludek,
    i could solve the issue by using the follwing code.
    report = new ReportDocument();
    PageMargins customPageMargin = report.PrintOptions.PageMargins;
    report.PrintOptions.PaperOrientation = PaperOrientation.Portrait;
    report.PrintOptions.PaperSize = PaperSize.Paper10x14;
    customPageMargin.rightMargin = 1;
    customPageMargin.topMargin = 0;
    customPageMargin.bottomMargin = 0;
    report.PrintOptions.ApplyPageMargins(customPageMargin);
    Thanks for you help.
    Regards,
    smitha.

  • How to make the page longer

    I'm having an issue fitting everything I need into the space provided by the program. Is there any way to make the page longer in order to fit everything I need into it? Thank you in advance.

    Taffypro wrote:
    What is the best width setting so that my website appears to take up the full screen
    Gary ~ Apple's own design award-winning site at apple.com mostly has a width of *980 pixels*. Apple's developer guidelines for the iPhone/iPod touch say: "Safari on iPhone also sets the viewport width to *980 pixels*, the width of most webpages." And: "...if your webpage is less than *980 pixels* wide causing it to scale too small on iPhone..."

  • Crystal 6.0 : How to hide the Page footer and Page Header of the Main Report on the Sub report.

    Post Author: pranay
    CA Forum: Crystal Reports
    Hi ,
    I have a Main report and a Sub report .  When a subreport spans across multiple pages , the page header and page footer of the main report gets displayed along with it . I want to hide the Page Footer and Page Header of the main report when a sub report is displayed . Is there any way it could be acheived in Crystal Report 6.0.

    I am assuming you are talking about the JSControl dropdown menu navigation. The easiest way to hide Community pages is to disable the Below Banner View for that navigation scheme, although it also disables the Subcommunties, Related Communities and Go up to Parent Community links. If you still want these in below the banner menu you could not display Community Pages in the "In this Community" tab and only leave the "Community Members and Knowledge Directly" link in there.
    You would think that it would be better to remove the "In this Community" tab althogether but it is tricky to remove it due to the fact that there needs to be a default horizontal menu displayed all the time. Not all Communities will have a Subcommunities or Related Communities tab so these communities would not display any below banner menus at all if there is no "In this Community" tab, which could be confusing.

  • How to set the page size and the margins programatically

    Hello,
      I am working with crystal report XI Release2 and asp.net.
    One of my report is having 4 graphs in a single report.In order to display all the graphs in one page i have set  the paper size as A3.(Via Crysta report ->File->Page set up)
    But the page size A3 is not provided by all printers.So problem comes when the application is diployed on a machine which does not support A3 Printer.All the graphs will not be shown on a single page.
    Also Each and Every time ,when the application is diployed on a machine,user has to open the crystal report and adjust the page size accordingly to get all the reports on a single page.
    This is a kind of usability issue also.
    Is it possible to set the page size and the margins programatically say for eg 11 X 17.so that with out doing anything all the 4 graphs will get displayed on a single page ?
    Please let me know if you require more information regarding this issue.
    Thanks in advance.
    smitha.

    Hi Ludek,
    i could solve the issue by using the follwing code.
    report = new ReportDocument();
    PageMargins customPageMargin = report.PrintOptions.PageMargins;
    report.PrintOptions.PaperOrientation = PaperOrientation.Portrait;
    report.PrintOptions.PaperSize = PaperSize.Paper10x14;
    customPageMargin.rightMargin = 1;
    customPageMargin.topMargin = 0;
    customPageMargin.bottomMargin = 0;
    report.PrintOptions.ApplyPageMargins(customPageMargin);
    Thanks for you help.
    Regards,
    smitha.

  • In full screen mode (with "Hide Toolbars" selected), is there a way to make FF stop bumping the page up and down everytime I move the mouse to the top of the screen to reveal/hide the toolbar?

    In other words, is there a way to make FF behave like IE9 in full screen mode where the toolbar appears "over" the page rather than pushing the page down?

    Hello,
    Could you please elaborate what exactly you are referring to with "I can't get the link to diplay as a different colour"?
    Regarding your second query, I am afraid it is not possible using Adobe Muse. However it can be a very nice feature request.
    I would suggest you to post this as a feature request on our "Ideas for features in Adobe Muse" section of the forums : http://forums.adobe.com/community/muse/ideas
    Regards,
    Sachin

  • How to make the Pager for table view as non editable?

    Hi,
    I am using an HTMLB pager for my table view .
    It appears as Page '1' of 2 for examle.
    But '1' is dispalyed in an input field.
    How do I make this input field as disabled.
    I just want to use the Vertical and horizontal indicators to traverse through the pages of the table view.
    I do not want the user to enter the page number ..
    Thanks,
    Sachin

    Look at SBSPEXT_XHTMLB sample, pages pager.bsp and pagerX.bsp.
    If you use the external pager, then you can specify a format where a text string will only be displayed without an inputfield for editing.

  • How to make the web part and web part zone smaller?

    Hello Community
        On WS2012 running SharePoint 2013 Server when you edit a page
    the web part zone is big and when you add the web part the web part 
    is big also.
        So the question is how to you make web parts and web part zone
    smaller?
        Thank you
        Shabeaut

    Hi,
    According to your description, my understanding is that you want to make the web part zone and web part smaller.
    When you edit a page, you could change the height and width of the web part in Edit Web Part -> Appearance by typing in the Height and Width field. The size of the web part zone changes with the web part.
    Best Regards,
    Dean Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to make the page disabled or unvisible with specific password ?

    I am student. I need your help in my assignment.
    I have 2 main page called = call problem and call report. The call problem page only can access by operator and call report page only can access by manager with the specific paasword.
    Did any body know how to disabled or invisible the page with the specific password ? Or have other method to do that ?
    Thanks.

    Hello,
    You can create a Authorization Scheme 'operator' and 'manager'.
    And then you attach the 'operator' and 'manager' authorization schemes to the pages 'call problem' and 'call report' respectively.
    Regards,
    G.

  • I updated to the latest version and now I do not have the page controls at the right hand side and bottom and can only move the page up and down using the mouse scroll wheel. I also cannot see the whole page I am trying to view.

    When I open the web browser I cannot see the whole page and I cannot move the image sideways and must use the mouse scroll to move up and down.

    Try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete the contents the following folder:
    User/Library/Containers/com.apple.iPhoto
    3 - reboot, launch iPhoto and try again.
    NOTE: For Mavericks, 10.9,  go to your Home folder and use the View ➙ Show View Options menu to bring the this window:
    where you can check the Show Library Folder checkbox.

  • How to make the page blank field in runtime

    Dear
    when i will run the page the fields shoud come with blank Field.
    i want to make it in runtime.
    example- i have one page having employees data. but when i will run that page the data will not come only blank fields should come,

    rakesh,
    af:panelformlayout
    see the naveeth comments.
    You are following a wrong design for your application.
    If there are no rows in the VO instance, show the message as 'There are no rows'.
    What is the use-case that you have - in order to do the same for all the pages in the application.

Maybe you are looking for

  • I cannot register my commercial CB 2 upgrade version

    I purchased a ColdFusion Builder 2 license - with an upgrade from Adobe Web Premium 5.5. It recognized my CFB 2 serial number just fine - but it is not picking up my CS Web Premium 5.5 serial number (yes, all clear and legal of course). Very weird, c

  • Spamtrainer error with bayes db

    Hi, After 3 days of training spam I now get an error when running spamtrainer. OS X 10.4.9 Mail Server. If this is a permissions issue ? Syncing SpamAssassin Database Cannot open bayes databases /var/clamav/.spamassassin/bayes_* R/W: lock failed: Fil

  • Submit button missing

    Have created my first form and embedded the code in a Dreamweaver page I'm working on. When I test my form within FormsCentre the submit button is there, but when I test my DW page the button (and in fact the whole footer) is missing. Any idea how I

  • Make free unlimited points, gold, and unlock all heroes

    Sonic Runners Hack Tool works to give you all features unlocked, unlimited Red Stars Rings, Rings and it is totally safe with Guard Protection script and regular updates to keep it working all the time and it was tested hundred of times on our testin

  • Music files deleted from Memory Card..(5800XM)

    Hi.. I have a Nokia 5800 XpressMusic. Music files used to get deleted earlier automatically from the music player, but this problem stopped for a while. The other day, I transferred about 20 songs to my phone via Mass Storage mode through my PC. Afte