List Output - how to position cursor back to Page 1, line 5, column 90.

Hello,
I have a report program that calculates and writes a Grand Total at the end of a multiple page report.
The program can not calculate the Grand Total until the end of the program.  Pages are displayed as Subtotals are calculated. My user wants the Grand Total to also be displayed at the top of Page one.    I am able to write to any line and column position just fine using the Skip to Line command.
But I can not find a way to return to Page 1 then write the value.  I have tried
SCROLL LIST TO FIRST PAGE   and I have tried to reset the sy-pagno value prior to the write
statement.   Is there a way to page back and write to a report list?
Thanks
MPersson

Check this sample code:
Here page no like 1 of totpage is inserted to top of every page. Similarly u can display total to each page.
REPORT ZLTEST3 NO STANDARD PAGE HEADING
LINE-COUNT 65
LINE-SIZE 80.
DATA: NUM_PAGES_C(10) TYPE C.
PERFORM WRITE.
PERFORM GET_TOTAL_PAGENO.
TOP-OF-PAGE.
WRITE:/(SY-LINCT) 'TEST - TEST' CENTERED.
WRITE: / SY-DATUM, 60 SY-PAGNO,'of', '*****'.
SKIP.
*& Form WRITE
text *
--> p1 text
<-- p2 text
FORM WRITE.
DO 200 TIMES.
WRITE:/ 'TEST', SY-LINNO.
ENDDO.
ENDFORM. " WRITE
*& Form GET_TOTAL_PAGENO
text *
--> p1 text
<-- p2 text
FORM GET_TOTAL_PAGENO.
WRITE SY-PAGNO TO NUM_PAGES_C LEFT-JUSTIFIED.
DO SY-PAGNO TIMES.
READ LINE 2 OF PAGE SY-INDEX.
REPLACE '*****' WITH NUM_PAGES_C INTO SY-LISEL.
MODIFY LINE 2 OF PAGE SY-INDEX.
ENDDO.
ENDFORM. " GET_TOTAL_PAGENO
Note : this method only works in foreground

Similar Messages

  • How do I go back a page on the Ipad mini? I do not see any arrows anywhere. Also when I go to my yahoo email account and open an email I can not find how to go back and log out. This is our first Ipad and it is very different frm android. Thanks

    We just purchased our first Ipad. It is a mini with retina display 16 GB. How do I go back a page? I see no arrows to page back. Also when I log into  a yahoo email account and open an email I see now way to log out? Thank you for any help

    In Safari, (the web browser), there are specific arrows to go back and forward through website pages.
    In other Apps, it will depend on how the App is built.
    As to Yahoo Mai it depends on where you are viewing the email.  If you are using the Mail App, then you don't log out.     The Mail accounts in the Mail App are always there.
    If you are using the Yahoo App, You can Tap on the folder at the top, then on your account/name, and then on Sign Out.

  • When im web surfing, how do i go back one page?

    when i web surfing, how do i go back one page?

    Couple ways.
    one is the delete key and shift delete.
    Track pad options see >Sys preferences>Trackpad
    Back and forward keys in the browser itself in the upper left. You can customize the toolbar by control clicking in the toolbar to get a drop down menu>customize.

  • New at Java Swing, How to position cursor?

    I'm new at this, but I would like to know how to position a cursor in either a JTextField or JTextArea?
    Any help here would be appreciated.
    Tks Ran

    JTextField.setCaretPosition(newPosition);See also:
    http://java.sun.com/j2se/1.4/docs/api/javax/swing/text/JTextComponent.html#setCaretPosition(int)
    (sorry that the link doesn't work, but it's the forum, not the link... just browse downwards for setCaretPosition(int) )
    Cheers!

  • When I done printing an article, how do I get back to page before? The arrow won't let me.

    I have an article I want to print, so I click on the word print. It shows page the page I want to print and I click on print and it prints the page or pages. Now I would like to go back to the original page. The arrow in the left corner is a dull color and will not return me. If I hit the red x it closes not only one page but everything. How do I get back to the original page without starting all over?

    Yes, the print view on that site displays either a new window or a new tab, depending on your preference. So you should be able to close that new window or new tab by pressing Ctrl+w and then the original article should come to the front. Does that work for you?

  • How do you  go back a page  to your original page

    how do you go back a page

    If your talking about Safari, you can just click the back arrow button.
    Or if your talking about a previous page you had opened that isn't in that particular session, touch the button that looks like boxes stacked on each other.

  • How do I change back one page setting

    Why do I get this question when I go back one page more than once?
    To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier.
    Where do I change settings to eliminate this?
    Thanks

    Are you talking about the new look ?
    I for one think Apple is going the wrong way. But hey that just me. I wish they would go a few steps back as it was much more funcional.
    So if this is possible please let me know too. Thanks

  • ALV List Output: How to avoid data statistics from printing in Background

    Hi,
    I am running an ALV list display in Background mode and the output is showing the data statistics first and then the actual output of the ALV...
    I dont want the data statistics to be printed..
    How to avoid that.. is there any to do it...

    Hi Neela
    If you are using the good old REUSE_ALV_GRID_DISPLAY function module, you should be able to suppress the List Info if SY-BATCH is 'X' using the IS_PRINT parameter.
      MOVE 'X' TO is_print-no_print_listinfos .
    Presumably there is a similar parameter using classes.
    Cheers
    Lyal

  • Pse9 recently reinstalled.  Tags are now in one long list. How are they put back in separate lists?

    This is a windows 7 computer that was recently repaired  Any help will be appreciated. There are about 25000 pictures  and lots of different tags.
    Lascar.

    Toshiba tech services wanted everything taken off the computer, put it back to as new.  I did a back up on my  Click Free external h  ard drive ( one tb) and  shipped the computer to toshiba.. When it was returned to me it still didn't go on line, wouldn't connect.. My daughter stopped by, got the computer model number, Googled it, found the solution to the problem and fixed it. I then restored the backed up files after reinstalling pse9,  The pictures are all there, with tags,  the tag column had all the headings : people, places, events,but those lists were empty, There was one other heading;  imported tags I  clicked on that and a list came up that included the contents of everything in alphabetical order. I now need to separate the tags and put them back into their proper lists..
    Is this scary or what?
    Lascar

  • Apple TV didn't show in device list  (and how I got it back.)

    Hi all,
    I just went through a lot of work trying to figure out why itunes stopped showing my appletv in the device list and wanted to post this information in case someone else has this happen. Initially I thought it was iTunes 9 (which I ruled out because one of my old PCs still had itunes 7 or 8), but what it ended up being that when I installed Snow Leopard I did a fresh install, which erased the library the appletv was sync'd with. Basically, the appletv could not find the library it was previously associated with (why it stopped showing up in the device list for multiple computers I'm not sure.)
    The solution was to go to "Computers" under settings, and disconnect from the computer the appletv was previously syncing with (note, this does clean off the appletv, but all your settings are retained) and add it anew. (Once you get to the screen where it gives you your five digit code it should show up in the device list again.)
    So if you're seeing the behavior, you might want to try this. Hopefully this will save someone else some time.
    Justin

    the options for sycning are not under the icon they should be in the panel to the right of the screen in many tabs that contain the sync options for each media type (Movies, Music, Podcasts etc.) i.e. when you click on the appleTV icon, tabs should appear to the right (where all your movies etc in iTunes would normally appear).
    there are two options when you go into computers on the appleTV.. the one on the top i think it link to itunes library (this is the one you want as this will make it a syncing library).. the option just below this is "share iTune library" or something like that will result in that library streaming only... so hence it will not have any syncing options..since it's streaming only.
    once you press the link to... get the code, enter into iTunes.. choose custom sync in the summary tab.. uncheck show only synced items on appleTV (this will allow you the library to sync and stream... item not synced will be displayed on the appleTV and will be streamed when clicked on.. as long as iTunes is open and computer on).. the tabs i mentioned above will appear on the right hand panel on the iTunes window and in each tab you set the options for sync for that particular type of media.

  • How can I get back a pages file and its backup if I did not save them to my documents?

    Hallo community!
    My mac got stock on a website because of a java update so I was forced to shut down the computer using the on-botton. Upon restarting my work on Pages I clicked on the file I was working on so as to open both the file and pages but the file wouldnt open. I checked if I had also saved the file on my documents to try to restart it from there. But this file comes originally from a USB which I dont have at this moment although I could kee on working on this file without the usb. The file is not my documents yet it shows on the last files-list of pages.
    I cant open this file anymore, maybe because I did not save it to my files. Although this is strange because I even named another file I worked on along this first document. Enfin, the first file even has a backup according to the list but the backup wont open either. I don't know how to get this file back I am in big trouble If I dont get to open it soon! I hope somebody can help me. Anyone knows a trick or something!?

    What version of Pages?
    It sounds like it may be damaged.
    You do not have to save to Documents.
    Peter

  • How do I get back my multiple bookmarks lines?

    I used to have more than 1 bookmark line and now after resetting I'm back to 1. I can't seem to find the information that tells how to add another bookmarks line in.

    Try with Addons
    *https://addons.mozilla.org/en-US/firefox/addon/multirow-bookmarks-toolbar
    *https://addons.mozilla.org/en-US/firefox/addon/multi-links/

  • Position Cursor on a specific SO line in VA01 / 02

    Hi,
      I have a requirement to do some validation in the User Exit, SAVE_DOC_PREPARE for VA01 / 02. If there is a Error, I want the cursor to be positioned on the specific line item which had this error. Please note the above exit gets called the user presses the 'Save' buttn, so this can happen from any screen.
    Regards,
    SG..

    why don't you do the same thing with incompletion log procedure...system will take the user to that particular field and he can proceed with 'save' option in both VA01/02.
    Reward Points if it helps,
    Regards,
    N

  • How can I get back next page arrows missing in email?

    The next page arrows in my email section is suddenly missing! How do I get them back? Thank You.

    Sorry about that happening - has happened to me quite often, too.
    Not going to help you now, but I use this extension to automatically "cache" the content of text areas for situations where that may happen.
    https://addons.mozilla.org/en-US/firefox/addon/textarea-cache/
    The only problem with it is, it save only the latest "state" - no backups beyond what is saved. If something in another tab causes Firefox to crash, you may lose the most recent text that you typed when Firefox was getting ready to crash.

  • HT1343 how do I go back one page if the little arrow key is not there?

    Is there a different view on address book?

    Are you talking about the new look ?
    I for one think Apple is going the wrong way. But hey that just me. I wish they would go a few steps back as it was much more funcional.
    So if this is possible please let me know too. Thanks

Maybe you are looking for

  • OS AUTHENTICATION on Windows 2000 Server

    Hello, Can anyone tell me the best way to create a user that is OS authenticated? How and where to configure the server, database? How should Database server and Client be installed as domain user or Local PC administrator? I have tried everything un

  • Control appearing as disabled

    My problem stmt is as follows: 1. I am creating a simple form containing 2 label and 2 input fields. 2. These 2 input fields are mapped to a view context in which is structured bind to a local dictionary structure. when I deploy & run above the displ

  • UNmark files as hidden?

    I have a folder with a bunch of hidden files in it, they were transfered from an EXfat jump drive onto my desktop.  I know how to view the hidden files, but how can I remove the hidden file tag from all of the files?

  • Why can't I log out of this forum?

    Unless I delete cookies and then close tab the "user +"sign out" route fails.

  • Premier pro.. has an update become available recently on CC ?

    I have noticed several articles on Flipboard about an update to Pr. Is this avialable ? it does not show as update on CC. Thanks