Smartform : Print PAGE 2 at the last

Hi,
I have FIRST-PAGE and SECOND-PAGE.
FIRST-PAGE has all billing related data (usually 10 pages long) and
SECOND-PAGE has some left over Billing Info plus Total and other Info,which are not part of FIRST PAGE(Some windows are same as FIRST PAGE and there are some additional windows as well).
I want the SECOND PAGE to be printed always in the END as a last page.
How do I achieve this?
Please help!
Thank you!
Dev

Hi JShree,
I tried that but that was not helpful because my SECOND_PAGE has continuing MAIN WINDOW too. I want the records to flow onto the SECOND_PAGE.
Let me tell you, what exactly we have done.
There are two pages.
i) FIRST_PAGE
ii) SECOND_PAGE
Both pages have same windows (second copied from first page), Second page has 5 additional windows stating Total, Few lines on terms etc.
I want the SECOND_PAGE to be printed as a last page because the Total and Condition text need to be on the last page only.
Now, with your suggestion, I tried to put COMMAND in first page with condition -> SFSY-PAGE = SFSY-FORMPAGES -> Go to SECOND_PAGE. But it did not work. I put the COMMAND in MAIN WINDOW and then after I put it in last window. Still no luck.
Let me know if anybody needs any more information.
Appreciate your help.

Similar Messages

  • (Smartform) Print grand total on the last page

    Hi everyone,
    I'm trying to print the Grand Totals on the last page of my Smartform. I have two pages - FIRST and SECOND.
    What I did was I created a Text to display the grand total, and I specified that this text should be printed 'Only After End of Main Window'. However, the total is not being printed out.
    I can't change the condition to 'Not on First Page', because my form has more than two pages, and I only want the grand totals on the last page.
    Any help would be appreciated.

    hi,
    we have a window type called final window if u define this type window in second page . create a table in the window and go to calculations tab and define an internal table. i think u can get the grand totals.
    if u want maore clearly go throuh this link
    https://www.sdn.sap.com/irj/sdn/forums
    hope this will help you.
    REWARD ME IF USEFUL.
    thanks,
    gupta
    Edited by: gupta pullipudi on Apr 9, 2008 9:23 PM

  • How to print a field on the last page of Smartform?

    HI FRIENDS,
    I NEED TO PRINT ONLY ONE FIELD IN LAST PAGE OF FORM SMARTFORM
    HOW DO I CHECK last page. I tried WITH THE FIELDS OF TABLE
    SYSF BUT NOT worked.
    Thank you.
    ROGERIO VAZ

    Hi,
    Goto the conditions tab of that window and enable the check box for Only after the end of main window.
    This will surely print your field in the last page.
    try this and get back to me if any issues.
    Regards,
    Anand.

  • Smartforms - Identify the page just before the last page

    Hi,
    I need to add OMR code into a Smartforms, I print my form in duplex mode, and my OMR code must be only in the odd page (1, 3, 5, 7 ...).
    In the OMR code, I must set the end of the grouping, this end occurs at the last odd page. But if the last page is pair (2 4 6 8 ...), I need to the the ending code to the page just before the end.
    So, I need to identify the page just before the last page.
    My problem is, when I debug the Smartforms, the SFSY-FORMPAGES contains the actual page, not the value of the last page.
    if someone have an idea ..
    Fred

    Maybe I found the solution :
    Note 359009 - Postprocessing and query of the total number of pages
    I check and make a return (if a day someone have the same problem)
    Fred

  • Print a line on the last or second from last page

    I'm using Oracle Report 10.1.2.3.0.
    I'd like to print a line on the last page of a report if the report has an odd number of pages or the second from last page of a report if the report has a even number of page. It is the later second from last requirement I'm struggling with. Can anyone help me solve this problem please?
    The reason for this is that we are purchasing an envelope inserter that using Optical Mark Recognition (a series of lines on the side of the page). This only reads on the front side of a piece of paper, so when performing a duplex print the marks need to be on the odd page numbers. In this case I need to apply a mark on the front side of the last piece of paper.
    Thanks

    Hi InoL
    Thank you for your response. I have seen similar solutions to this and have investigated them. Although they give you a work around to know the total number of pages in PLSQL, they only give you a way of knowing this once the report has completed formatting the last page. Unfortunately, my requirment is to know when I'm on the second from last page to perform some conditional formatting. I don't think knowing the total number of pages at this stage is going to be possible in reports, therefore I was hoping someone may know a "clever trick" to achieve this.
    Thanks
    Neil

  • Printing Footer Only on the last page of adobe Form

    Hi Experts ,
    I have a requirement of printing text only on the last page of the adoe Forms.
    I know how to do this in Smart Forms , but being a novice in adobe forms i am unable to get the exact place to puth these conditions.
    Please reply ASAP.
    Thanks

    Thanks .
    Problem Solved.
    Here is the Code snippet in Formcalc language that i used in the intialize event
    var curpage  = $layout.page ( ref ( $ ) )
    var totpages = $layout.pageCount()
    if ( curpage ne totpages ) then
    $.presence = "hidden"
    endif

  • Sometimes the url's don't update so when you press the "back button" it sends you to the home page instead of the last page visited

    A friend of mine has this webblog and I have never had problems viewing it before I downloaded the new version of firefox. However, once I downloaded the new version, I noticed that every time I press the "back button" after viewing a picture, it sends me back to the blog home page instead of the last page I was on or that I viewed. This also happens with some of the standard websites I visit not just the blogs.

    Right click the Back button and select the page you want to go back to.

  • I,m having trouble printing jewel cases since the last upgrade. The song titles all bunch up together and are unreadable.

    I'm having trouble printing jewel cases since the last upgrade. The song titles all bunch up together and are unreadable. Can you help?

    I can’t figure out how to import music.
    Import it into iTunes first, then use the media browser in iMovie '08 to locate it.

  • How to print a field on the last page of Smartform with more  of 2 pages?

    HI FRIENDS,
    I NEED TO PRINT ONLY ONE FIELD IN LAST PAGE OF FORM SMARTFORM
    HOW DO I CHECK last page. I tried WITH THE FIELDS OF TABLE
    SFSY BUT NOT worked.      
    The form has  more of  2 pages.
    Thank you.
    ROGERIO VAZ

    Hi ,
    You dont have to hard code anything to achieve this functionality,
    just create a window and in that window define a text element to print
    that variable.In the conditions tab of that window check the check box
    "only after end of main window".i think you might have used a main window,
    so irrespective of the no of pages the smartform prints,it always displays that
    field in the last page of the smartform.
    regards,
    srikanth.

  • How can I print a label on the last page of the report in the margin

    I would like to display a label on my report but has to appear only on the last page of the report in the margin area or as a footer. I have tried using the solution below that I came across in this forum. This solution only worked if I put the label as a report trailer and not in the margin of the main section of report. The problem of putting the label as a report trailer is that it will only appear at the end of the report on it's own page, i.e. on a new page. I would like the label to appear at the end of the report, on the last page which has the other report details and not to appear on a new page on its own. Could you please help? Thanks.
    1. Create a dummy query, like
    select 1 dummy
    from dual
    2. Create a package spec:
    PACKAGE pkg_globals IS
    totalPages number(3);
    END;
    2. Create a repeating frame and field for this dummy at the end of the report layout.
    3. Create a format trigger for this frame:
    function R_1FormatTrigger return boolean is
    begin
    SRW.GET_PAGE_NUM(pkg_globals.totalPages);
    return (FALSE);
    end;
    4. Create a format trigger for your margin field:
    function F_1FormatTrigger return boolean is
    pagenum number;
    begin
    srw.get_page_num(pagenum);
    if pagenum = pkg_globals.totalPages then
    return (TRUE);
    else
    return (false);
    end if;
    end;

    user8655468 wrote:
    I would like to display a label on my report but has to appear only on the last page of the report in the margin areaCreate a fixed frame at the bottom of margin area and inside the frame put your label.
    set the frame print object on: Last page
    Hope this works..

  • How to print a label in the last page of the report

    Hi, I have a report af bottom page I trid to put a label, the label is in the margin, but when I change the print condition send me a error, illegal print condition, how can I print this label only in the last page at the botton of the page
    Thanks

    Herbe,
    You can do this using format trigger
    Please see the building reports manual / Tutorial for details
    at http://otn.oracle.com/docs/products/reports/content.html
    Thanks
    The Oracle Reports team

  • SMARTFORMS printing is shifted to the right

    We are having a problem with a SMARTFORMS for 1099 called IDWTCERT_US_1099MISC. We noticed that the print preview after testing the 1099 and the print preview from the SPOOL (trx SP01) shows the 1099 form OK, but printing it out cuts off the right side of the form/image by about 1.5 CM.
    There are two things we've tried so far:
    1) In SPAD, we have adjusted in the Output Attributes Tab of the DEVICE the area called Additional SAPScript and Smart Form Information. Here, the horizontal move can be entered as a -10 (in millimeters) for instance.
    This didn't work for us, as it only shifted the truncated (bad) image to the left 1 CM, thus centering an incomplete image.
    2) Before printing from the spool in SP01 we changed the printer from the device type to be LOCL. This worked OK, and the 1099s print nearly centered and not cut-off on the right, but we are not sure that it will work well when we print the 1099s in the production run.  (i.e. if this is in an adjustment that they can even make...or if it will correct the problem in the same way on a different printer).
    Could someone please help with more feedback on this issue to see if using LOCL is the best way to do this, or if there are other, more global, settings that I can make to correct this.
    Last resort, I could download and shift the background image or something. Shifting the background image would be difficult, however, not to mention it would make all the SMARTFORM fields on the 1099 print in the wrong spot.
    Thank you!!
    Jeremy

    As you know, for 2010, you must apply 1535966 for the 2010 Smart Form 1099 reporting.
    Note 1546868 just came up to fix the truncation on the right issue.  We are about to apply this note and I will respond with our results shortly.
    FYI - Here is the sympton from the note:  "After Oss Note 1535966 was applied,the form print is truncated towards right."
    -Ken

  • I recieve my reciepts from all of my Apple purchases via email to my email cllient "MS Outlook 2003" on a Windows 7 Home Premium platform. I cannot format the print appearance of HTML documents within Outlook and the print border cuts of the last digit?

    I use MS Outlook as my email client under Windows 7 Home Premium and when I receive a reciept from Apple for purchases made for my iPhone (Stores or iTunes) the HTML formatting cuts off the last digit of the price paid on my eReceipts (the only receipts I get). Outlook 2003 does not allow for HTML print formatting since they (HTMLs) are formatted from the source (Apple). Can you help me to get Apple to fix this or find a workaround?

    Just to recap, this is a collection of ports I have collected over time for people who needed this information when setting up the HP ePrint app so that they could view their email from within the app.  I am certain other applications also need this information.  Although lengthy, I could not find a more comprehensive place to retrieve this information.  Feel free to post additional information, faulty information, or other related topics below as this is simply a collection of data and it would be practically impossible to test all of them. Thank you!
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • Why won't my printer print page numbers? The page numbers show up when I preview the document by don't print on the page.

    Why won't my printer print page numbers in a document? The page numbers show in print preview, but will not print on document.

    Perhaps you have set the margins so tight to the edge of the paper that you have gotten into the non-printing area for your printer. Most printers have a dead zone.
    What are your margin settings?
    Jerry

  • Since installing 5.0 the browser no longer opens on my home page, instead opening the last webpage I was on. I have clicked on 'make this my home page' and follwed instrucions but it did not help.

    Firefox always opens the last website(s) that were open instead of my home page. When I close the browser it no longer asks me if I want to close all tabs if I have more than one open. It just closes and then opens them all when I launch the browser again.
    I can find no setting to change this behavior.

    You might need to change your Start Page setting here:
    orange Firefox button ''or'' Tools menu > Options > General tab
    "When Firefox starts" => ''Show my home page''
    If that doesn't work, please post back.

Maybe you are looking for