Problem in getting Page nos in SFs

I have a problem in getting Page nos in SFs. My problem is that, I want to print multiple docs ie SELECT-OPTION case.
Here each doc has N no of pages. I want to print Page 1 of N for each doc. I used SFSY-PAGE / SFSY-FORMPAGES but its giving total no of pages. I want my page no has to reset for each doc.
Ex.. DOC 1 .... Page 1 of 3, 2 of 3 etc.
DOC2 .... Page 1 of 5 etc.
DOC3 .... Page 1 of 1 etc.
but its printing 1 of 9, 2 of 9 etc.
Plz help me in this reg.
Thanx in advance.

Hi Sachin,
Thanx for the reply but i think that u did not get my question correctly.
I said that if no of pages is greater than 10, then upto 9th page it is coming as Page 1 of *,..Page 2 of *, then after 10 the page, it is coming right.
For e.g. if the no of pages is 15, then it is coming as Page 1 of *, Page 2 of *....Page 9 of *, but from the 10th page, it is coming as Page 10 of 15 which is the correct way.

Similar Messages

  • How to get page numbers using cl_gui_alv_grid

    dear all,
    I want to display page nos at every end of .iam using cl_gui_alv_grid.iam didving itab into no of pages,iam using code to display no of pages is
    CLASS LCL_EVENT_RECEIVER DEFINITIOn.
    PUBLIC SECTION.
    HANDLE_END_OF_PAGE
    FOR EVENT PRINT_END_OF_PAGE OF CL_GUI_ALV_GRID.
    PRIVATE SECTION.
    DATA: PAGENUM TYPE I.
    ENDCLASS.
    CLASS LCL_EVENT_RECEIVER IMPLEMENTATION.
    METHOD HANDLE_END_OF_PAGE.
    DATA: TABLENAME(30) TYPE C.
    ADD 1 TO PAGENUM.
    WRITE: /,'Event: PRINT_END_OF_PAGE'(003),
    'Number of pages so far: '(004), PAGENUM.
    ENDMETHOD. "handle_end_of_page
    Endclass.
    and iam wrting in PBO set_table_for_first_display
    CREATE OBJECT EVENT_RECEIVER.
    SET HANDLER EVENT_RECEIVER->HANDLE_END_OF_PAGE FOR GRID1.
    create object grid1.
    exporitng
    i_parent name = 'CONT'.
    GS_PRINT-RESERVELNS = 2.
    CALL METHOD GRID1->SET_TABLE_FOR_FIRST_DISPLAY
    EXPORTING
    I_STRUCTURE_NAME =
    IS_PRINT = GS_PRINT
    IS_LAYOUT = GS_LAYOUT
    CHANGING IT_OUTTAB = it_Tab.
    but this is not triggering when i dispalying output.i think this will trigeer when we will give print output.
    then how to get page nos at buttom of each page .
    thanks in advance
    shiv

    Hi,
    I think you have to define the page size because for each page if you have defined the page size(say N),  at first top of page will be triggered and after the N number of lines the end of page event is defined. Please check this if you have not defined all the page size it assumes all the lines in one page. Please check.
    Thanks.

  • Problem in getting the application login page

    Hi Firends,
    I am facing problem in getting the application login page.
    http://localhost:7777/pls/apex/f?p=102:1
    when i am clicking this link it is not directing me to the login page for this application.please let me know what could be the reason behind this.
    Thanks in advance

    Hi Martin, many thanks for replying. Let me know how this could effect in not getting the login page. I have checked in my application,it is by default "No application authorization required " and other option is " must not be a public user " . Should i change it to " must not be a public user from no application authorization required"
    please put more light on it. Y i am saying this because it was working fine day b4r yesterday but today i am getting problem in finding the login page of my application aftr providing the url. i am following the SSO authentication scheme and under Home>Application Builder>Application 102>Shared Components>Edit Security Attributes , i have given f?p=&APP_ID.:1:&SESSION. as home link and under Home>Application Builder>Application 100>Page 101>Edit Page Process, this code i have provided
    wwv_flow_custom_auth_std.login(
    P_UNAME => v('P101_USERNAME'),
    P_PASSWORD => :P101_PASSWORD,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||':1'
    as a source code.
    i am really stucked into it, and i need to finish is ASAP. Please provide all possible reasons for this problem.

  • I have used Pages 09 and Keynote without any major problems until this new update. I have read many of the fixes but have a problem. When you get Pages 09 and Keynote back, Apples continues to want to update the 09 system. So it stays updated.

    I have used Pages 09 and Keynote without any major problems until this new update. I have read many of the fixes but have a problem. When you get Pages 09 and Keynote back, Apples continues to want to update the 09 system. So it stays updated. I have had to turn off my auto updating that was nice but I'll do it one at a time in order to keep the Pages 09 and Keynote. When something works don't mess with it. Any fixes out there?

    I can't say that I have had a problem playing videos in Flash because I could always play them in browsers other than Firefox.
    In Firefox Tools>options>Advanced Hardware acceleration is turned on.
    I don't know if that is different that tuning it off and on in Flash or not, but for now it is a moot point.
    As I stated in my previous message, after following all earlier suggestions/instructions nothing helped. But The latest one, someone suggested that maybe version 17 of Flash might be a stable version.
    I made no other changes except to install it, a few days ago, and so far so good.
    Many thanks for your help,
    Giovanni

  • Logon Problems? Get support is not working in Portal logon Page

    Hi Experts,
    I have created A Role and assigned Logon_help action to it and assigned the Role to Anonymous group.
    So i have Logon Problem? Get Support link on Portal Logon Screen. When i click on it, i was asked to provide userid and email id.
    I have entered them. i got a message the my userid is reset and sent to my mail. but havent received any mail, and the password is changed which have to log in as admin and reset the password. 
    Help me this regards.
    Thank you
    Siva

    you might not have correctly configured your mail servers....
    refer below link
    http://help.sap.com/saphelp_nw70/helpdata/en/89/c5fd430b63c74bbdfaa5f2ec9bb20b/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/44/0761cea5c610b3e10000000a11466f/frameset.htm

  • I can't get pages 5.01 to open pages files from iCloud, although they open in iCloud Pages without difficulty.

    I can't get Pages 5.01 to open Pages files from iCloud, although they open in iCloud Pages without difficulty.
    I am using the most up to date version of Mavericks and Pages and can log into iCloud without any problems.  Is this just a glitch?  The files all behaved properly under previous versions and the initial release of the new version of Pages.

    Pages for iCloud beta is a weird beast and as it says "beta".
    I think it is the least compatible of all the many different .pages files floating around out there.
    Peter

  • How do I get pages 5.2 to automatically update the date - use 10.9.2

    How do I get pages 5.2 to automatically update the date in my documents - before the update I could do this. Does anybody have the knowledge or a workaround.
    If not I will dump pages 5.2 and use my old version!!! this feature is important for any and all businesses using pages??
    Any advice on how to achieve this is greatly appreciated
    I use a number of macs all using OSX
    10.9.2

    I have the same problem.
    What confuses me is that all the apple provided templates in pages seem to auto update their time and date upon opening.
    So there MUST be a way to do it... Ive been unable to work out how...
    Amnon

  • How do I get Pages to capitalize the first word of a sentence and the letter 'I?"

    How do I get Pages to capitalize the first word of a sentance and the letter "i" automacticly?

    I am also having this problem. Does anyone have an answer?
    I jus upgraded from Pages 4.3 and it's in Preferences. Not so in Pages 5.0.

  • On Yosemite how do I get Pages to print the page number on every page, not just on alternate ones?

    I  only changed from Windows to an iMac earlier this year (now on Yosemite), but cannot get Pages to print the page number on every page;  it seems only to do it on alternate pages.

    Jeff,
    I do NOT understand your positive attitude. If someone has a problem with Numbers in Yosemite, you tell them to resurrect a pre-Yosemite version of Numbers.
    The VIEW LAYOUT command is basic and critical to Numbers; how could Apple over-look such an important function in Yosemite ... ???
    Joe

  • Trying to make a photobook but can't get pages to open by double clicking. Photos from Iphoto 9.6. Help anybody?

    Trying to make a photobook but can't get pages to open by double clicking. Photos from Iphoto 9.6. Help anybody?

    What do you mean? Are you not able to switch from "All pages" view of the book to a single page view by double-clicking a selected page? Or what is the problem?
    Or can you not open the book at all from the source list?

  • Problem to get Accented French Characters coming from a form

    I have an ASP form which submits the data to a ColdFusion form. Once text fields include French Accented letters (e.g.: é), those will be shown as little squares (�) in ColdFusion output. I use ‘URLdecode’ function, but it doesn’t resolve the issue.
    I tested this with submitting to an ASP page, no problem to get correct accented letters.
    Any help to resolve this issue is very much appreciated.
    Thanks.
    Sarath

    Thanks everybody for valuable suggestions.
    I got another problem once I changed Charset to 'UTF-8' from 'iso-8859-1'.
    There is drop-down in ASP form in which data coming from a database table. Now, accented French letters in that dropdown are changed to strange Chinese like character, for instance 'Béthanie' shows up as 'B鴨anie'.
    Collation of this SQL 2000 database is 'SQL_Latin1_General_CP1_CS_AI'.
    Any suggestions to resolve this issue would be very much appreciated.
    Thanks.
    Sarath

  • Problems with error-page in web.xml and page caching

    Having a few problems with error pages and web.xml with browsers caching the error pages and strange errors coming out of weblogic.servlet.intenal.WebAppServletContext
    I'm trying to set a web app up so that all http errors and all exceptions are routed thruogh predefined resources. For now, I'm simply send 400 errors to 400.html and the ServletException, IOException and RuntimeException to respective html pages.
    What I'm finding is that the error codes work fine but the exceptions are only be routed to the correct error page for the first call to the servlet after server restart.
    So for example, I have my servlet throwing a ServletException as a test case. The weblogic server log shows that ServletException is thrown, and the correct error page for ServletExceptions is shown.
    If I change the Servlet code to throw IOException in place of SevletException, the weblogic.log shows that IOExceptyion is being thrown (so the servlet has deployed successfully), however the Servletxception error page is shown on the browser.
    I'm using IE6 and I've changed the setting such that a new page is requested every time using the tools-internet options-temp internet files-settings option to "check for new versions of stored pages: Every visit to the page".
    Despite this, the servlet exception error page still appears.
    If you clear the cache from the temp intenet files->delete files IE option, the correct errror page will be shown so it appears that the browser cache is being used after all.
    everytime I delete the temp intenet files I get the correct error page on the first request after but then not after that.
    I have implemented the service method for this test to throw the exceptions - does this make a differecne?
    As a test, I have moved the imlpementation to the doGet method instead bu I now get a strange eror from weblogic comlpaining about an arrayOutOfBoundsException because eror codes in the web.xml are not supported! - see error above.
    Any help is appreciated

    After further investigation: -
    There are no problems with error pages based on error codes, only error exceptions.
    As a test case, I have a service method in a servlet throwing either one of the three exception types that servlets can throw (Runtime, Servlet & IO) the following rules apply. The exception to be thrown is hardcoded and is changed and the web app rebuilt each time. The correct web.xml has been deployed to the app server (checked through console). the webapp is being redeployed correctly - this can be seen in the weblogic log, where the correct exception is reported.
    I am using WLS 8.1, Servlet 2.3, JDK 1.4.1_02
    In all cases, the weblogic log reports that the servlet is throwing the exception as expected.
    Despite having set error-page for exception javax.servlet.ServletException, the exceptions are diverted to the error page that has been set up for http error code 500
    The error page for ServletException is therefore never reached.
    I have the browser set to request pages every time it is asked.
    Once the servlet has thrown an IOException, the only way to get the browser to report an IO or Runtime exception error-page is to clear the browser cache. Restarting the server has no effect.
    Once the servlet has responded with ANY exception, it is not possible to get it to report a ServletException (which is incorrectly reported as a 500 anyway) unless the cache is cleared. Restarting the server has no effect.
    In the case where the servlet throws ServletException, it has no root exception. The servlet 2.3 spec states that if ServletException is thrown but cannot be found in the error pages, the root excpetion will be extracted and the error page list traversed again. Knowing that the RuntimeException error page is correct shown when RuntimeException is throwm, I have nested this inside the ServletException, however error page for http error 500 is still shown.
    I don't believe this is a WLS 8.1 problem, as the console shows that the correct exception is thrown each time. this is backed up by the fact that the correct exception page is thrown when the cache is cleared regardless of what exception was previousdly thrown by the servlet. This excludes ServletException which is always incorrectly thrown as a 500.

  • Error "problem loading more pages"

    Using XP SP3, IE 8 and Acrobat Reader X, I have been trying to look at a document identified by a website as .pdf.
    I see what appears to be the first page of that document - ie it makes perfect sense in the context of the website - but at the foot of the first page a message appears reading:
    "Whoops! There is a problem loading more pages. Retrying..."
    and nothing more happens.
    On another PC, using XP SP3, IE 7, and Acrobat Reader XI, I cannot even get that first page up - after clicking on the link to the document, nothing happens,
    Can anyone guess whether this is a problem with Acrobat Reader or IE? and if so, what might be done to fix it?

    Your link is on Google Docs, which uses its own PDF viewer.  I can see all pages with no problems.
    If you use the download button on top of the page, you can download a perfect PDF to your local disk.
    If that Wordpress page is yours, I would suggest that you upload the PDF to somewhere where it can be viewed with the browser's PDF plugin, not with the Google Docs PDF viewer.

  • Problems Uploading a Pages file in html format including pictures to web pa

    I have problems uploading a Pages file in html format to a web page.
    The files itself is downloaded but the images are not. How can I upload a page file in html including the pictures or illustrations?

    I just bought a macbook as well as the iwork software. I am having a few problems. I am a student and when I try to print out documents (originally word documents) it puts them automatically into textedit instead of pages. Also, the pages get all screwed up, things are missing, etc. How do I make pages my default and do i need to export? import? or do something so that these documents show up perfectly in pages?
    A second questions- When i try to print out slideshows in keynote (originally from powerpoint) the handouts print on the little edge of the paper horizontally rather than the long way. I am hoping these are easy adjustments.
    I would appreciate any help anyone can give me.
    Thank you!

  • I am trying to get pages docs created on my iPhone onto my iMac

    I am trying to get pages docs created on my iPhone onto my iMac. I have iTunes 10.5 and the help docs says that in iTunes the Pages app should automatically list the docs on my iPhone. I am using the 'send to iTunes' option in the 'share and print' menu but no files appear in iTunes (the iPhone is connected and recognised by iTunes). Any ideas? The docs don't mention that I need a particular version on Pages on my Mac.
    Any help gratefully recevied.
    Andrew

    Dear Peter,
    Thank you for the suggestion. I have looked at the discussion you highlighted. Unfortunately, it does not really deal with the issue I am experiencing. The discussion concerns problems with iCloud. I am not attempting to use iCloud to transfer files.
    The discussion does mention using iTunes to first back up the files. However, the correspondent does not mention the problem I am experiencing. I understand from the help docs that when I after I have synced my iPhone, then the files I have created using Pages should be listed in the Apps part of iTunes. However, this does not seem to be so on my computer. The files do not appear even when I use the 'send to iTunes' option.
    Is there something I am missing?
    Any further help gratefully received,
    Andrew

Maybe you are looking for