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

Similar Messages

  • 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 an Administration Page to my site for login...

    Hey my name is Jonathan Coyle and I am trying to add an administrative page to allow our visitors that want to, to register with our site. I have researched it and have come up with some stuff on how to do it, I just want to see what kind of information I can get from y'all. So if y'all need me to post any particulars then let me know and I will...

    Well it's not like that Gramps, I am on that site, and it is very helpful. It is great, however I am having some issues with downloading the AMP stack(Apache, MySQL, and PHP). For some reason I am not able to download it like I need to. It's totally not like I'm not using your suggestion, cause I am very much. But personally I like to have more than 1 resource if I can to be able to learn as much as possible. So no disrespect bro, I am very thankful for yours, and everyone elses suggestions. I simply meant to say, if I didn't say it, that all suggested resources are welcome, cause I will utilize all that yall throw at me... No pun intended...
    Thanks again, and I apologize for my mis-communication...
    GOD BLESS yall.....

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

  • 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

  • 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

  • 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

  • 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

  • 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

  • Trying to add a php page to my existing template

    the title might not be what i have an issue with but its the best i could think of lol
    basically i have a site layout setup already
    now my site is at http://fgtestforum.info/daz
    (ive been told about ap divs already)
    ok in my menu under home you will see a my home link
    if you click that it will load the my home page but..... my issues are as follows
    1 . im struggling to get the rest of the content included in the file when the page loads
    2 . my css doesnt display the box correctly unless is use the html "link" command for the css file in my page (right click - view source and youll see)
         i know i dont need to use this code to get the css to work but atm till i can figure it our its the only way to display it..
    3 . basically this page will be exactly the same as the index page apart from the fact the pink content box on index turns into a my home box and extends to          the edge of my doc (removing the 4 little boxes from index)
    basically where am i going wrong? im still new to php so any help would be appreciated
    cheers in advance

    never mind i made a really simple but silly mistake
    i had the myhome file in my includes folder and was trying to include php files from it in my doc.
    i moved my myhome page to my root then added the include to the files and they showed up
    this can be deleted
    sry to waste a topic

  • Trying to add a loading page

    Suppose I have an image called " myLoading " loaded with visible=false on canvasPage. En my code is something on the likes of
    myLoading.visible=true;
    code
    myLoading.visible=false.
    But this is not working. Also, I am aware that the section between  /** **/ takes long enough so that we have time to show the image
    Any idea why this is not working?

    not sure if thats the right way to do a loading page...im guessing you are trying to load modules and in between the loading want to display something to the user?
    if so, you should look at using states, rather than how you are doing it right now.
    basically check the load progress of the module and while its loading, go to the loading state and once done, take the loading state away.

  • I am creating a book and had 27 pages done manually off of an album, am trying to add 7 more pages and cannot add more pages

    I am creating a book and had 27 pages done manually off of an album , I wanted to add more pages but when I try to add a page nothing happens.

    Select the book in the left hand sourcd pane and type Command +D (duplicate).  Then do as Keith suggested to turn it into two separate books, i.e one with  1-50 pages and one with 1-57 to get all of the pages included in two about equal books.
    The will have to be ordered separately with separate shipping charges.
    OT

  • How do I stop firefox from trying to load the last page after a reboot?

    Occasionally a page will "hang" and I'll use task manager to shut it down, but sometimes it is due to a spyware program. I do not want the page to reload after restarting Firefox... how do I set it to stop trying to reload pages?

    Set the pref [http://kb.mozillazine.org/browser.sessionstore.max_resumed_crashes browser.sessionstore.max_resumed_crashes] to 0 on the <b>about:config</b> page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.
    That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.
    See:
    * http://kb.mozillazine.org/Session_Restore#Restoring_a_session_after_a_crash
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />

  • I have adobe acrobat 5.0 and I'm trying to add a new page but it is showing the following erro: this document has sub list of sources and can't be together

    Any help?

    That said, it sounds like a translation of a message which might still apply.
    What is the original text of the message, exactly, in its original language?

Maybe you are looking for