Smartforms last page

Hi All!
I had designed a Smartform with three pages and the desc is as follows:
1st page : main window
2nd page : main window
3rd page : static window
The 3rd page will appear at the last.Now my problem is that i am getting the first two pages without the 3rd one.I defined the 3rd as static page without main.Since it doesn't carry any dynamic data from the earlier pages
Thanks in advance
Points will be awarded
Kumar

Praneeth,
Can you try this?
Copy the MAIN window to the THIRD page anyways and keep the height of the window. Have the static Window after that. As the data would have got over in Page 1 and 2, it should start printing the static window.
Sounds like something similar to printing a footer after the MAIN window.
Regards
Ravi
Note : Please reward the posts that help you.

Similar Messages

  • SmartForm Last Page to be printed in Duplex mode

    I have a requirement in PO printout where the Last page containing the Terms and Condition to be printed on Duplex mode.
    Suppose the PO is taking 4 pages without Terms and condition. then the TC must be printed on the backside of the 4th page.
    My smartform contains 3 Pages  'First', 'Next' and 'TC'.
    If i set page 'Next' duplex then the 3rd page is getting printed on the back side of the 2nd page.
    So how can i Print the TC page on the backside of the Last Page.
    Thanks & Regards
    Sukriti.

    Hi All,
       I know this is a very old post. Currently I am also facing same issue. Does anybody has solution for it. ?
    Regards,
    Leona

  • (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 last page in smartforms

    Hi,
    In my smartform i have 3 pages (FIRST, NEXT & LAST). FIRST contains some header detail and items. NEXT contains rest of items and this page would be repeatable if more item comes. now after NEXT i want to print LAST page. How to achieve this. PLease let me know. I looked into forum but haven't get exact answer so far.
    Rgds

    Hello,
    According to your scenario you are having 4 orders and each order has to print seperately with the last page .right?
    The best soln would be,
    1) create another internal table same as the one you have and delete adjacent duplicates using order, so you will have 2 internal table one with 4 orders (it-1)and other with all the items(it-2).
    2) In the driver program ,
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        control-no_open  = 'X'.
        control-no_close = 'X'.
        output-tdnewid  = 'X'.
       PERFORM ssf_open.
    CALL FUNCTION 'SSF_OPEN'
      EXPORTING
      ARCHIVE_PARAMETERS       =
      user_settings            = ' '
      MAIL_SENDER              =
      MAIL_RECIPIENT           =
      MAIL_APPL_OBJ            =
    output_options           = output
    control_parameters       = control
    IMPORTING
      JOB_OUTPUT_OPTIONS       =
    EXCEPTIONS
       formatting_error         = 1
       internal_error           = 2
       send_error               = 3
       user_canceled            = 4
       OTHERS                   = 5
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    LOOP AT it-1.
        CALL FUNCTION l_fm_name
    endloop.
    CALL FUNCTION 'SSF_CLOSE'.
    2) In the smartform 
         FIRST  ->   next page -> NEXT
                   Beneath the main window -> Table,  put Command - Goto new page  as LAST.
         NEXT  ->   next page -> NEXT
         LAST  ->   Next page -> Blank
    I hope this will work as I have done a similiar dev.
    Regards,
    Radhakrishnan

  • How to print grandtotal in table footer only in the last page in SMARTFORMS

    Hello Experts,
    How do I print the GRANDTOTAL in the table footer only on the LAST PAGE in SMARTFORMS.
    What I have done is in the text element of CELL1 of the table footer i wrote the folowing logic but not working.
    /: IF &SFSY-PAGE& EQ &SFSY-FORMPAGES&.
    * V_SUM.
    /: ENDIF.
    I even tried this.
    /: IF &NEXT-PAGE& EQ 0.
    * V_SUM.
    /: ENDIF.
    but still it displays the grand total on all pages at table footer.
    How do i go for this experts.
    Regards,
    Ranjith N

    HI Nambiar,
    To print the grand total only on the last page then create the secondary window --> create the text node for the grand total -->In the condition tab check only after the end of the main window.
    This grand total will be displayed after all the items and end of the main window.
    Footer in the table displays as the subtotals i.e on every page total is displayed..
    Regards,
    Sravanthi

  • Trying to add a last page in Smartforms

    Hi,
    On the smartform I have a FIRST Page & NEXT page.  The main window is set to different sizes on each page.  If the invoice is one page long then the footer is triggered.  If the invoice flows over to the next page the footer is only printed on the last page and the main window on the first page is utilized to the bottom of the page.  My footer is set up as a secondary window that is triggered after the MAIN window.
    I now need to add an appendix page that needs to be triggered as the LAST page, but the issue I'm running into is that I can't get the footer to print on the previous page any more.  The footer needs to be on the previous page and a completely different set of data will print on the LAST page.
    I tried using a command in the MAIN window but I really need the command to be triggered after the footer details rather than after 'the main window' in the Additional Event on the Conditions tab. 
    How can I get a LAST page to print and keep the footer on the previous page?
    Thanks
    Lisa

    dear all sap champs i want to get two separate
    pages. is this a requied condition that data should be
    overflowed in 1st page.
    then only i can get 2nd page.
    pls all help me ....
    vivek

  • 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.

  • 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.

  • Need to increase main window size except last page in smartforms

    I have only one main window in a smartform to print a invoice. Currently the mainwindow size is small because i added some additional info to print at the end of the main window.{i.e with some tax details}. All the pages execpt the last page has free spaces. Now the requirement is to increase the size of the main window to avoid the blank spaces except the last page.
      I have used the SFSY-FORMPAGES. THIS is not working to identify the total no of pages of the form. i have condenced it also.
    Can anyone give some details to solve this.
    Thanks in advance.

    Hi,
    I don't understand ... the size of the main window is not link between the different page ... so there is no problem.
    My main window in all the form are never the same size between first page and next page.
    Rgd
    Frédéric

  • 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 text on last page of smartform rpt

    Hi All
    I want to print a text on first and last page of report created in smartforms
    plz suggest..........

    Hi,
    In a Smart Form, you can use a similar MAIN window approach. For a secondary window, you might wish to use a conditional event such as <b>'Only After End of Main Window'</b>.
    Map page FIRST to NEXT and page NEXT to NEXT as you have done; page LAST does not need to be mapped to any other page. Make sure the MAIN window is contained on both page FIRST and page NEXT. Then add a command node within your MAIN window at the very end of this window (outside of any tables or loops). In its general attributes click on the 'Go to new page' and select the LAST page here.
    During form output, regardless of whether the MAIN window is completed within page FIRST or NEXT, page LAST will be triggered as your final page.
    Note: Any secondary windows on pages FIRST or NEXT with the condition 'only after end of MAIN window' may no longer print, as form output now will advance to the LAST page before this condition is satisfied.
    Regards
    Sudheer

  • I don't want to print the last page of a smartform when there is no content

    I don't want to print the last page of a smartform when there is no content. Kindly help

    If the last page is printed, there are two possibilities
    -1- The MAIN WINDOW is only in this page
    -2- The page is explicitly printed from another page (new-page)
    -3- There is date but its only space or skip line.
    So in your form
    -1- Redefine the logic of your form
    -2- Check that, there are some data to be printed before calling the NEW-PAGE
    -3- Do skip or write space lines before printing an actual line and not after
    Regards

  • How to Print T&C on backside of the last page in smartform.

    Hi All,
             I have requirement from one of the my client to print the terms & condition page on the back side of last page in invoice form.
    I have created three pages as below.
    First page: To Print header data,Print mode:blank,Next page : NEXT.
    Second page : Contains the continuation of the data,if there are enough lines,Print Mode: D,Next page : NEXT.
    Last page:To Print T&C,Print mode : blank,Next page :blank.
                This is working properly when form has 2 pages.Here my question is,
    How to print the T&C on backside of first page,if form has only one page.
    Thanks in Advance.

    Hi Vineesh,
    I have 3 pages in my form.
    First page: To Print header data, Print mode:blank, Next page : NEXT.
                         First page has the comment node, go to next page as Third page.
    Second page : Contains the continuation of the data, if there are enough lines, Print Mode: D,
                          Next page : NEXT.
    Third Page: T&C page, Print mode : blank,Next page :blank
    The 3rd page should print back side of the page.
    If form has only one page,then first page should be in D mode.Hence the T&C page will print back side of first page.
    If form has multiple pages. then the last page ( where the main window gets end ) should be D.Hence
    the T&C page will print back side of last page.
    How to achieve this both the scenarios?
    Thanks & Regards,
    Priya Chandran

  • Printing last page (Purchase order Terms) in SMARTFORMS

    Dear SAP Gurus,
    Our Purchasing unit would like to print purchase order terms and conditions after the end of Purchase order. Initially I had two pages (First and Next). The following are the steps I followed to print last page with Purcahsing terms.
    1. Create Command line at end of Main window in First and Next page and in command line output options select Go to page as Last page.
    2. Under last page, I have a secondary window which prints a text. (this is a long text and cant be printed using secondary window. I need Main window to print the text as it would be continous)
    The following are the problems I am facing.
    1. By placing command line at end of Main window, data in secondary window after the Main window are not printing.
    2. Purchase terms Text placed in the last page under Main window is not printing. Text placed in last page under secondary window is printing but instead of 8 pages of terms text only one page is printing.
    How can I handle this.
    Thanks in advance.
    Thanks
    Shanthi

    Hi Shanti,
      From what I've understood from you post, you may try putting the command in the secondary window (which comes after the MAIN Window) of the first page. In the command give Goto Page ->NEXT.
    Hope this helps.
    Thanks,
      Ranjith

  • How to decide the last page in smartforms

    Hi experts,
    I want to display a signature block only in the last page, can anybody tells me the perfect way to decide when it's the last page?
    Now I'm using a window with the check EVENT "Only Before End of Main Window", a flag is set in this window, and then use another window for signature block with the condition of flag is on.
    This method is not working perfectly, sometimes it works fine, sometimes not.
    Please let me know how will you do this, thank you
    Best Regards
    Raymond

    Hi Raymond,
    Try this logic!!!!
    I hope you have used table in main window to  display items. Just after the table in your main window, create a program line and set a variable(let say "x').
    Cretae  a separate window to display the signature. In the signature window use a text element to display the required value. Go to conditions tab of text element and set the condition (i.e. check your variable value which you have assignes before) and accordingly your text will get printed.
    Hope this will help you to resolve the issue & close the thread.
    Do appreciate if found useful.
    BR,
    Vinit

Maybe you are looking for

  • Ipod nano possible with win 2000???

    my wife just got an ipod nano \(3rr gen) for her bday, and we have a computer with win 2000. now the only itunes we can find for win 2000 is ver. 7.3. when i downloaded this it tells me that i need ver. 7.4 or better. anyone got any info or tips for

  • Show only first 20 votes by each user

    Hi, I have a table called Votes with three columns: UserID number, Vote number, TimeOfVote number, Vote could be any number between one and twenty-two. TimeofVote is in format yyyymmddhhmmss Now I want to create a view table that only shows the first

  • Nokia C7 secondary camera error

    i am using a nokia c7 yesterday when i opened my secondary camera it just displays a error msg saying that: "unexpected error occured;restart the phone" dont know wht happened dont hav any idea can anybody help what to do..... plz solve my problem...

  • Disabling / Turning off  (or on) DHCP for IPV4 and IPV6 from Terminal

    It took some looking to find this info, so I figured I'd post it to save someone else a lot of looking.  networksetup -setv4off Ethernet networksetup -setv6off Ethernet networksetup -setdhcp Ethernet networksetup -setv6automatic Ethernet You can chan

  • Resizing issues with widget in iWeb

    hi there, i'm creating a web page in iWeb...and would like to use the mobileme gallery widget to place some pics. I placed the widget on the page and choose my gallery and everything's fine, but I can only scale the box up to 320x260pixels and then i