How to make a last page in Smart Forms

Hi,
I'm using 2 pages in my form, the first one (PAGE1) has a main window and prints out a table. The "next page" goes to PAGE1 since i dont know how many results i get.
Then I have a second page (PAGE2) without a main window, that prints out a text-module containing terms & conditions.
The problem is that when i run it, only PAGE1 is displayed.
How can i call PAGE2?

Thank you so much Sasi, that solved it.
I was going nuts about this.
Best regards
BTW: Right now there seem to be no way of rewarding points to you. Those options are missing on my screen.

Similar Messages

  • How to get the last page  SAP Script form

    How to get the last page  SAP Script form.
    I want to print a specific information in the last page of SAP form (Script). Please tell me how to get the last page number.
    Regards

    Hi
    You have to check the system variable &NEXTPAGE&, if it's 0 it means you're in the last page.
    From SAP Help:
    This symbol is used to print the number of the following page. The output format is the same as with &PAGE& .
    Note that on the last page of the output, in each window that is not of type MAIN, &NEXTPAGE& has the value 0.
    /: IF &NEXTPAGE& = '0'
       Last page
    /: ENDIF
    Max

  • How to know no of pages in smart forms to be printed ?

    Hi,
         How to know no of pages in smart forms to be printed ?
    though i got SFSY structure during run time of smartform , even that was not useful.
    &SFSY-FORMPAGES&
    Displays the total number of pages for the currently processed form. This  allows you to include texts such as'Page x of y' into your output.
    for that Page &SFSY-PAGE& of &SFSY-FORMPAGES&
    during debug of smart form i don't  understand how it is calculating no of pages  ,as i kept break point before printing page no in smart form.
    please check my  two screen shots, sfsy-formpage still contains current page no only but not total no of pages.
    Help Required.
    Thanks In advance.

    Hi Prakash,
    You will not get these values during debugging.. Let the program execute completely, you will get the right values.
    As Manish said, the value for &SFSY-FORMPAGES& will be known only after all the pages are processed, though it is not necessary that you use them in the final window only. It can be a text node in a window of any type.
    You will get the desired output, just cant see them during debugging within the program. At the time of printing or in the print review, output would be as expected.
    Also, FYI, it would be better to give total pages as &SFSY-FORMPAGES(3ZC)&  as there can be error if the total number of pages exceeds 9, due to lack of sufficient space to print more digits

  • How do u get New page in Smart form dynamically

    How do u get New page in Smart form dynamically

    page break in smart form
    Re: New Page in Smart Forms
    Page break inside a loop  in smart form

  • How to supress a blank page in smart forms

    Hi,
    I am using a command in Smartforms to trigger a new page whenever a new BELNR(Accounting document). My problem is in the output i am getting a first page is blank and remaining pages are ok.
    What i did Is In conditions tab i written as temp NE belnr. So first time temp is nothing so blank page is coming. and in the following text elements i am passing a belnr value to the temp.
    Temp = belnr and in general attributes go to new page check box has been activated. Then how to supress a blnk page.
    Regards
    Ramakrishna .P

    Hi,
    I am not using loop.
    In main window i have the contents as
    Header---- Headers for table
    Main Area---- text elements ( i have fileds slno, belnr,glaccount,cost center,gtext,description,dmbtr,wrbtr)
    In belnr field i have created the command there i am comparing the condition temp ne Belnr and go to new page on conditions tab
    wrbtr text element i am passing the g_temp =belnr
    My requirement is whenever new belnr comes new page has to trigger and corresponding gl accounts need to be displayed and end of the belnr i want to display the footer.
    For your information passing the belnr values from the print program (select options) to smart form
    Footer---footer

  • How to deal with multiple pages of smart forms

    Hi everyone,
       i have two pages in smartforms but whenever i show smart form through my program only first page is shown not the second one. i tried with next page attribute of both pages but no resolution.
    thanks alot in advance

    Which solution did you choose ?
    (1) main window on the two pages
    - The first page contains the main window, and its next-page attribute is the second page
    - The second contains the main windows, and its next-page attribute is itself
    - The main windows
    - - Begins with nodes to print on first page
    - - Then a command node force end-of-page
    - - Then some nodes and a table node that are to be printed on second page
    (2) main window only on second page
    - The first page do not contain the main window, and its next-page attribute is the second page
    - The second contains the main windows, and its next-page attribute is itself
    - The main windows
    - - Some nodes and a table node that are to be printed on second page
    Regards,
    Raymond

  • A window to be displayed in last page In smart form

    Hi,
    I have to  display a window in last page  . Its actually like a footer in which some information is diplayed.
    so this footer shud be displayed in last page. Kindly any one guide me regarding this issue.
    Thanks in Advance
    Regards,
    Neelima.

    Hi,
    u can do this by using some concept......
    1. draw the main window upto the bottom where the footer is supposed to be....
    2. draw the footer window as secondary window overlapping the main window at the bottom.
    3. set the footer window event as 'Only after end of main window'.
    4. in the main window create ur table...
    5. In the footer of the table set Footer with height = 'same height as the footer secondary window'.
        tick the 'at end of table' and untic the 'at page break'.
    6. add a blank line type with blank text element(only few enters) on footer of table...
    7. In the table line types. press details and tick the 'no page break' for the footer line type.
    this will do the trick....
    what happens here is, the footer window will only print at the end of the main window...if the main window ends at the bottom, then it will check whether there is space for the footer...if no space is available then it will go to the next page.. otherwise it will print the footer of the table (which is blank) and then print the footer window over it(which is of the same height as the table footer)...

  • How to Supress the Second Page in Smart form

    Hi,
      I have First page where there is no Main Window and on the Second page is with Main Window.Now lets say if there is item detais then vlaue will be printed on second page but in case there is no Item details so..the second page should not come only the first page would appear i.e. we need ot supress this second page.
    Thanks,
    Pramod

    Hi
    just use the command Describe table ITAB lines v_lines.
    so v_lines <> 0  means items Exist.
    so use this field in the condition
    Define a Text ELEMENT for the MAIN window data
    Before that text element put a condition based on the v_lines field.
    /:  IF V_LINES NE 0.
    /E MAIN
    /:  ENDIF
    So when you give print , if no data in internal table it won't print.
    Reward points for useful Answers
    Regards
    Anji

  • How to make the last line of the textarea visible all the time?

    Hello,
    I am making an online chat application in JSP and XHTML. The chat log and online users� names textareas are refreshed every 5 seconds. When it comes to many messages in the chat log textarea, the scrollbar appears. Then, every time the chat log textarea is refreshed, I need to move the scrollbar down to see the last line of the textarea.
    Are there any ideas how to make the last line of the textarea visible all the time without moving the scrollbar?
    Thanks in advance.
    Dan

    I put the below code on the page, but it didn't work.
    Are there any ideas? Thanks.
    <table border="0" cellspacing="1">
    <tr>
    <th>Chat Log</th>
    <th>Users now online</th>
    </tr>
    <tr>
    <td><textarea rows="20" cols="60" name = "messages" readonly = "readonly"><%= texts %></textarea></td>
    <td><textarea rows="20" cols="20" name = "names" readonly = "readonly"><%= names %></textarea></td>
    </tr>
    </table>
    <script type="text/javascript">
    <!--
    document.messages.scrollIntoView(false);
    //-->
    </script>

  • I was wondering if there is a tutorial on how to make a blog page in muse?

    I was wondering if there is a tutorial on how to make a blog page in muse? Any help will be appreciated.

    Hi
    You can integrate third party blog in your site or if you are using Business Catalyst , then you can go with BC blog modules on page.
    More Details :
    http://www.musegrid.com/blog/add-business-catalyst-blogs-to-your-adobe-muse-website
    http://www.muse-themes.com/blogs/news/7257782-creating-a-blog-in-adobe-muse-powered-by-nab ble
    Thanks,
    Sanjit

  • How to make a link page come up in seperate window

    Am not sure how to make a link page to anther site for
    insatance come up in seperate window so that they do not navigate
    away from my site.Thanks Tony

    Select the item you want to use as a link. In the property
    inspector, type
    in the full path to the website you want to link to and set
    the Target to
    _blank.
    Nadia
    Adobe� Community Expert : Dreamweaver
    http://www.csstemplates.com.au
    - CSS Templates | Free Templates
    http://www.perrelink.com.au
    - Web Dev
    http://www.DreamweaverResources.com
    - Dropdown Menu Templates|Tutorials
    http://www.adobe.com/devnet/dreamweaver/css.html
    "chesterarebest" <[email protected]> wrote
    in message
    news:e88357$ifp$[email protected]..
    > Am not sure how to make a link page to anther site for
    insatance come up
    > in seperate window so that they do not navigate away
    from my site.Thanks
    > Tony

  • How to make my tab page shows all my applications?

    How to make my tab page shows all my applications?Please help me as fast as possible. Thx .
    Note: Please write as detail as possible because I am new to vb.Thx again.

    Hi,
     For a lack of info about what Applications you are talking about we can only guess at what you want to do. In my experience, this is the kind of question that ends up being a mile long with 15 different examples because nobody knows exactly what you
    are trying to do.
     With that said, maybe you can put a ListView in your TabPage and use the code i showed in the link below. If not then please explain exactly what you want to do.  8)
    How to make a screen that displays 'all apps'?
    If you say it can`t be done then i`ll try it

  • How to make Turnable PDF-Pages with flip effect

    Hi,
    can any one help me?
    How to make flipping the pages in a PDF file using Acrobat professional? And how to save as a PDF file and is it possible?
    Please advise me how to process this.
    Thanks & Regards,
    Sudhakar

    Some related information that may help.
    http://forums.adobe.com/thread/719674?tstart=0
    http://acrobatusers.com/content/page-turner-0
    Be well...

  • How to make a Cleaning Page

    I recently became the Owner of a HP LaserJet 3100 all in one Printer and installed the Software so it will run on Windows Xp.
    I am having trouble with the Printing being too light and there are no instructions on how to make a Cleaning Page for XP.
    Can Anyone help?
    Thanks.

    Please refrain from posting such posts, u need to check dev guide, previous threads. If you can't find related info in both, then post in this forum.This forum is for issue related to OAF and not to teach basics.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to print different  header & item data in new pages using smart forms.

    Hi,
    In smart forms I am trying to print header data & their item data. But there are more than one header data for a given input.
    I want to print all the different header data with their item data in new pages using smart forms. Can any one please help to solve the issue.. Its very urgent for me..
    Regards,
    Brajesh

    Hi
    U need to use control break statements to acheive ur requirement.
    Regards,
    Priya

Maybe you are looking for