Display Page X of Y in footer area

Hi All,
I am new to ABAP OOPS. I am using OLE programing method.
I want to display Page no in the form of Page X of Y at Footer area of the word file.
I used one program which displayed every thing except Page no in footer area.
Footer area should be in deactive mode.
Please help me.
Thanks,
Subbu.

Hi,
1) REPORT  YUTILITY_MAIN no standard page heading LINE-SIZE 150 LINE-COUNT 60(5).
2) in the end-of-page.
write: /99 'Page ',sy-pagno ,' of ','@@@'.
v_bottompage = sy-pagno.
3) in the end-of-selection.
  v_temp = v_totpage.
  do v_bottompage  times.
    read line 59 of page sy-index.
    replace '@@@' in sy-lisel with  v_temp.
    modify line 3 of page sy-index.
  enddo.
add this code in your program it will work.
4) and one thing in the footer where '@@@' your r putting. If any doubt, contact me.
example : write: /99 'Page ',sy-pagno ,' of ','@@@'. where it is printing see that first and adjust urself.
Thanks,
Kiran

Similar Messages

  • Footer area is displayed but SBO doesn't print it?

    Dear Experts,
    I have designed a Crystal Report with setup in A4. There is a "page number information" in the footer area.
    Then the page number is showed if I preview it in SBO, but the page number is not printed.
    Shoud I do some setting in SBO? I have changed the Page Setup become A4 through menu File-->Page Setup.
    But the result is no changes.
    Please advise me?
    Note:
    The page number can be printed if print it directly from Crystal Report.

    Hi Indra
    We have had this problem as well.  For some reason B1 rescales the pages somehow when it prints.
    To make the footer visible try dragging the bottom border of the footer down a bit to make the section bigger.  It will still anchor the bottom of the footer to what B1 thinks is the printable area and push the resu up into the visible area.
    This worked for us.
    You may need to experiment with how big to make it!
    Regards
    Rob

  • Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?

    Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?

    Same problem here (no graphics in header or footer) and the problem has been reported months ago. It is another bug/feature lost when Apple moves from 09 to the iCloud-compatible versions.  Complain to Apple, you may have better chance than me and they may finally listen to their users....

  • Hide Link in footer area of print out  after Printable page is clicked

    Hi all
    In iExpense after submiting the claim there is a printable page button appears by which user can get the print of the
    claim raised. But ont point is there ... in printout of the claim (hardcopy) .. in the footer area of the paper .. a
    link appears i.e. http://erpdev.mycompanyname.com:/OA_HTML/OA.jsp?OASF=OIE_EXPENSE_R..
    my client doesn't want that link in print out of the claim but I am unable to find that link in my OAF page...thant link
    only appears in printout.
    Is there any idea to hide that link in printout..
    Please help...
    thanks
    Amit Jaitly

    Hi Amit
    Have you got any solution to hide the link in printable page.We also have the same type of requirement where we have to remove TIP from printable page.
    Your help will be highly appreciated.
    Thanks
    Manju

  • Thumbnails wont display pages in a chapter that I know are there and have pasted in

    Hello everyone.
    I am an author and have previously published two books in the iBookstore using iBooks Author. The third one that I'm attempting to lay out is giving me major problems for some reason. I have a MacBook Air 13 inch Mid 2013 Processor  1.3 GHz Intel Core i5 running Mac OSX 10.9.5 and the latest iBooks Author 2.1.3. My screen window is as large as it can go on my screen, and everything seems to work fine when I select a chapter layout and just drop the text in, but then when I go back and start modifying some of the page layouts by changing say, from a two column text only page to a one column text and half page image, or any of the other options, it works okay for the first couple of times but then I see that the last couple of pages of text in that chapter have been 'pushed' off the end of both the thumbnail pane on the left hand side of the screen, and in the main window itself. I can't get to them because the scroll bars in both the main window and the thumbnail pane are at the ends of their travel and won't let me see any more of the pages that I know must be there, and were there before I started putting images in... I took a screengrab and on the very right hand side of the main window you can just see a portion of the next text page, but I can't scroll on to it or access it in any way, which has brought everything to a grinding halt. Is there a page limit within each chapter that I don't know about? (I currently have about ten pages in this chapter, but that might go up to about 13 if I was able to drop some more images in.) The images are all jpegs, maximum size of around 13 MB, average around 8MB. I noticed that the 'Media' file took a very long while to load images into from IPhoto, and I don't know whether that indicates a problem between iPhoto and iBooks Author or not? I still have my two original iBooks stored in the iBooks Author memory, and wonder if I have somehow exceeded an overall memory size in the app or not? Or is it something much more basic that I'm doing wrong? I've quit the programme several times and rebooted, to no effect. Any ideas or help would be appreciated please. PS I'm not a tech head, so terminal-speak doesn't mean anything to me by the way...!
    Message was edited by: ireuy
    Hold everything guys! I think I've solved the problem – by manually adding on extra text pages at the end of the thumbnail pane, it kind of 'catches up' with the rest of the text. I was expecting this to happen automatically, like when you paste in text the first time around, but clearly this doesn't happen and you've got to do it yourself... Note to Apple: a 'flow-on' updating feature for page layout changes would be good to incorporate next time around please.

    10 marks for recognising the Latin (sort of) that is the placeholder text in your template.
    You are using a Word Processing template. WP templates have content flowing from page to page. As one page fills up, a new one is created. If some of that text is deleted or displaced the pages retract.
    When you combine text, invisibles like word spaces, returns, tabs, page breaks etc with objects that have text wrap set, the mix can behave in an apparent odd fashion.
    Start with showing where everything is:
    Menu > View > Show Layout/Invisibles
    Start with getting rid of any excess returns you may have used to "position" things. Next cut and paste objects like textboxes, shapes, charts and tables "Inline" ie in as part of the text. If necessary also turn off text wrap on objects or minimise it so that doesn't push text completely out of the way.
    Insert Section breaks in the Text where you want fixed breaks in the layout these will provide separation between layout on different pages.
    Basically you need to clean up your layout or think about doing it another way.
    If there is a lot of layout, you will need to learn Pages methods for doing this in a WP template or do it in a Layout template where each page is individual and all objects are floating with no default text area.
    Peter

  • Your changes are driving me back to IE now I can no longer attach a photo I cannot open using my bookmark and now you have screwed up my ebay display page I have to use IE to do these things why ? ?

    1) since an earlier update I can no longer make an attachment using Firefox, must use IE
    2) I can no longer click on Firefox using a bookmark, must go to Icon on bottom of page
    3) Now - my ebay display page is screwed up, if I go to IE is perfect
    HELP ! why do you do these things to us ?

    Follow the steps in the Kb :-
    http://helpx.adobe.com/creative-suite/kb/error-licensing-stopped-windows.html

  • Portlet for displaying pages/content areas link for a user

    Does anybody have a JPDK portlet to display
    pages available to a user?
    The navigator looks too technical/complex for a regular portal user.
    Thanks for your time.

    Lookup column is the attribute of file. Attribute can not be upload! . Did you try to use the content type of link to document? If yes, you can understand my question. I want to change uploaded.aspx ( link of document) and add lookup column to this form.
    Standart scenario: User create link to docunent. 1. Prees button start. 2. Input text link to upload.aspx form 3. Set attributes new. Aspx I want: 1. Press button. 2. User press dropdawn menu and choise neddeng link. 3. Set attributes Plese read my question
    again. Sorry for my not good english

  • How to display page wise totals in Smartforms

    hi,
    I created Tax Invoice for SD my quetion is i have 10 items 5 items are displaying in first page and rest of 5 items are displaying next page.
    in first page 5 items i have to display the total amount in first page and same like second page also please help me.
    regards

    Hi,
    Create two global data variables called pag_total & currentpage and initialize currentpage as 1.
    if currentpage <> sfsy-page.
       pag_total = 0.
       pag_total = pag_total + column value(which values u want to add).
       currentpage = sfsy-page.
    else.
       pag_total = pag_total + column value(which values u want to add).
    endif.
    Write these lines in main area table row of that particular column cell and store the SFSY-page value also in a global variable(currentpage).
    Then write the pag_total variable in the footer.
    Thanks,
    Venkat

  • How to display page no for different master pages in one adobe form application

    Hi All,
    we have requirement where we need to  display page nos in different master pages in one single adobe form.
    For the First form the page nos should be displayed pgno of total pages and for 2nd form the page no shuld be displayed as pgno of total pg.
    so please help me with any script or suggestions for displaying the page no accordingly in different master pages. Your suggestions are greatly appreciated.
    Thanks
    Raja.

    Hi Lingaraj,
    We have 2 different Master pages and 2 Body pages. For the seccond Master page the page no are comming correct like 1 of 3 ,2 of 3 and 3 of 3 but for First master page the page no are comming 0 of 3  in all of the page its not displaying the current page no in 1st master page.
    Screen shots are attached for first master page and Hierarchy Node.Pls see the highlighted section in 2nd image.
    Pls see and suggest me accordingly. Hope this helps are let me know anything u require.

  • How do I display "Page $$ of $$" in a Captivate 4 project?

    Hello everyone,
    Okay, I know that I can use a transparent text caption with "Page $$rdinfoCurrentSlide$$ of $$rdinfoSlideCount$$".
    The problems are:
    - I want this to be displayed in a very small font in the far right corner. Unfortunately, the variables are so big that I cannot place the text caption on the far right. Although using center justification and some spaces before this text, I can approximate the location I want this to display in.Unfortunately, even though the x/y coordinates are precise on every slide, the text moves around a bit from slide to slide.
      Is there a better way to FIX this text into a specific spot? i.e. a fixed x/y location placehold for each of these variables?
    - Oddly, it only begins counting on the first page it is displayed. In my lesson, this caption is placed on the second slide... but it displays Page 1 of 26. I suppose I could subtract 1 from $$rdinfoCurrentSlide$$.
    - What is the best way to copy this text caption to each page of my project?
      Must I really copy page to each individual page?
      If I select "Display for rest of Project" I cannot remove it from a few slides where it is not appropriate. It cannot be covered up either - because it will flash there for a very short moment... doesn't look good.
    Thank you for your advice!

    Hi Shawn
    On the slide where you inserted the caption, make note of its name. You find this in the Options tab.
    On the slide where you wish to hide the caption, edit the Slide Properties and configure an On slide enter event to Hide the caption.
    As for the brief display of the variable, you may be able to mask it out briefly. I say *may* here, as I'm not 100% certain it will work with the caption displaying for the rest of the project. But it's certainly worth a try! Just insert a Highlight Box in the position to obscure it briefly. If you want the appearance of the Caption fading into view, configure the Highlight Box to fade out.
    Give that a go and see how you fare... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • I have connected my new Macbook Air to my existing Samsung large external monitor with a VGA adaptor but I can't get the full mac desktop to display. No icons but then websites are coming up. Help!

    I have connected my new Macbook Air to my existing Samsung large external monitor with a VGA adaptor but I can't get the full mac desktop to display. No icons but then websites are coming up. Help!  Further info:  I am a complete newbie to Mac.  Had three macs prior to 2000 then four PCs.  Just come back and struggling a bit with the unfamiliarity. On my old PC laptop I could simply switch from the laptop screen to the large external monitor (and back)  with the F4 function key.  While I can get the background image from my MBA to display, that's it.  Until I noticed on the far left of the external monitor, the very edge of one of the web pages I was on.  So Idragged it over to display in the centre.  But that's all that's there.  And now I have gone out of those web pages but they are still displaying on the monitor.  There is some wierd disconnect.  I'm sure it is just a setting thing.  Will keep searching for answer but any advice welcome!

    Your dsplay is getting extended onto the external monitor. Chcnage the setting to duplicate it or only display on the external monitor and you should be fine,
    Let me know if this worked for you.

  • Display pages that reacts to different values in the drop down list.

    I currently did up a simple drop down list that stores values retrieved from the database. I would like the program to display pages that reacts to the selected value without the press of any button, which means, if I select any value from the drop down list, the page will be displayed according to the value selected.
    Below are the codes that I did for the retrieval of data from the database.
    <%
            String username = "test";
            String password = "test";
            String thinConn = "jdbc:oracle:thin:@dbdev:1521:ORCL";
            Connection conn;
            Statement stm;
            ResultSet rs;
            String baseQuery ="SELECT DISTINCT ID FROM STAFF ORDER BY ID ASC";
            try {
                conn = DriverManager.getConnection(thinConn,username,password);
                stm = conn.createStatement();
                rs = stm.executeQuery(baseQuery);
    %>
    <strong>Retrieve ID from Database</strong>
        <select size="1" name="dropdown">
        <%
        while (rs.next()) {
            String id = rs.getString("ID");
            out.write("<option value=\"" + id + "\">" + "level " + id + "</option>");
                    conn.close();
                } catch (SQLException e) {
        %>
        </select>Would appreciate if someone might offer some help to what I have to do next
    Edited by: wyndsor on Jun 26, 2008 7:34 PM

    cotton.m wrote:
    [_An instant classic_|http://www.webdeveloper.com/forum/showthread.php?t=184937]
    Sometimes I find myself wondering why people think they won't get caught with their cross forum cross posting. Then I realize that if they knew about Google they wouldn't have needed to ask the question in the first place.
    It's kind of funny in an ironic sort of way.

  • ADF Page Navigation at top and footer of page

    Hi.
    I am using the menutreemodel like srdemo does and it's working almost perfectly.I have a need to have navigation links in at least four places on each page in my application-- The globalLink area(menuGlobal), the parent tabs(menu1), child tabs(menu2) all work fine.
    The problem is that I need to repeat the values for both the globalLink area and the parent(menu1 facet) tabs at the foot of each page. The unselected navigation links in the footer need to appear as links while the selected parent tab/globalLink should appear 'selected'.
    That kind of works -- I can get the values to show up correct until I select something from the submenu(menu2) then most of the links in the page footer suddenly appear to be selected when they shouldn't.
    I've tried all kinds of things and the only thing that seems to fix it is to remove the menu2 facet -- I can't run the application like that though.
    Anyone have any idea what I'm doing wrong?
    Thanks.
    Curt

    Hi.
    I am using the menutreemodel like srdemo does and it's working almost perfectly.I have a need to have navigation links in at least four places on each page in my application-- The globalLink area(menuGlobal), the parent tabs(menu1), child tabs(menu2) all work fine.
    The problem is that I need to repeat the values for both the globalLink area and the parent(menu1 facet) tabs at the foot of each page. The unselected navigation links in the footer need to appear as links while the selected parent tab/globalLink should appear 'selected'.
    That kind of works -- I can get the values to show up correct until I select something from the submenu(menu2) then most of the links in the page footer suddenly appear to be selected when they shouldn't.
    I've tried all kinds of things and the only thing that seems to fix it is to remove the menu2 facet -- I can't run the application like that though.
    Anyone have any idea what I'm doing wrong?
    Thanks.
    Curt

  • Header and footer area in alv

    Hi All,
           What is the use of Header and Footer Area (Top of List & End of List ) in ALV table. Can any one explain me..
    Thanks,
    Susil

    hi ,
    In the below link there is an example for creating top of list end end of list.. in this the header and footer are displayed outside the ALV table.. My question is what is the use of the header and footer even I can use UI's to display the header and footer...
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0ee06d0-d475-2b10-ddad-bc4bf134cfb8?overridelayout=true
    Thanks,
    Susil.

  • Header and footer are missing

    hello
    header and footer are missing when printing, it has been there before but suddenly they are missing. I have windows 7 and printer is Canon MG6100 series.

    Hi,
    Please see [http://kb.mozillazine.org/Problems_printing_web_pages this] for resetting printer preferences. You can also try to adjust the '''Margins & Header/Footer''' in '''File''' ('''Alt''' + '''F''') > '''Page Setup'''.

Maybe you are looking for

  • Problem in Stock Transfer Depot to Depot.

    Hi All, The Scenario is we are importing the Trading Material to Depot from there we are transporting to other depot & then send to the Customer. Import Material to Depot 1. ME21N - Import PO to Depot (normal PO u2013 Document type NB) 2. MIGO - Good

  • Can a macbook pro 13' LED display early 2013 get screen burn

    just the question above. can this happen like with the icon docs and stuff?

  • Invalid pc in line number table

    Hi, I try to decompile and recompile the class file and copy it back to the server getting the following error. I am using the latest Jdeveloper with OA , The ARU number is 5455514. I tried with few other classes, it works fine. Getting error for onl

  • Smartforms - how to use page URL like output option ?

    Hello, in the smartofms output options, there's the possibility to set BSP Page/URL: ...... and Output format:  XSF output + HTML. My requisite is to send a form in XML via web service, can I use it ? How is run ? tks.

  • Cannot open flash slideshows in any browser

    a friend cannot open flash slideshows on one of my webpages, he gets an error "progressive jpeg-unable to render" The images are not progressive jpegs. Same problem in Firefox or Safari. He has installed the latest flash player