Smartform Next page error

Hi Experts
         I have done a smartform inwhich i have two pages.
        while display, i have calculated a field discount, which displayed in the first page correctly,  but in second page it is not displayed properly.
         what could be the reason and the remedy, pls suggest me on this.
Regards
Rajaram

Hello
just print like this no need of any calculations....
Pages: &sfsy-page& / &sfsy-formpages&
make sure that NEXT Page should be declared in ur samrtform Pages ( in general attributes)
ok.
Regards,
Ramesh.

Similar Messages

  • Smartforms next page- indefenite loop

    Hi,
    I am changing the std layout smartform for pick list. I want to display next page for more line items. I have devloped next page and given tht, but its going for indefenite loop. how do i get the correct output?
    its very urgent plz help
    Thanks

    nagaraj, to begin your "solution" is an obvious copy of YUGANDHAR's only you changed one word and your "solution" is now incorrect.  If you copy a user's solution at least have the insight to change any typos (the second line where you have "smartform <b>in in </b>page").  Also please stop telling people that the Next Page option for next page needs to be First Page.  This is wrong and will cause the users problems.  Also, please don't ask or beg for points.
    Davis

  • Disco 3i next page error...

    Some of our reports work fine however others are giving us the following error. We cannot find any reason for the irregularity.
    When we are in a multi page report and press the next page (or export) link button it goes back to the parameters page.
    Other multi page reports are working fine.???
    null

    additional information..
    My EUL is in a 816 DB on an NT box. This uses db links to my production databases. My production database that works is an 806 DB on a unix box. The reports that dont work are 816 on a unix box.

  • Smartform next page

    Hi All,
        I want to add a terms & condition at the end of my smartform. But the window of the terms & condition page starts exactly after the smartform ends. I want to print the terms & conditions page in the next page. please help me in this case.

    HI,
    Create the New page for Terms and condition intsead of calling in the same page and call this page.

  • Smartforms - next page

    Hi All,
    I am making a smartform with 2 pages.
    In the print preview, i can see only 1 page whereas in the smartform, i have made 2 pages.
    page1>main window1>Text1
    page2>main window2>Text2
    i have also specified the next page as "page2" in page1-->general atributes section. Please advice what else is missing from my end to get the next page.
    Thanks & Rgds,
    Preeti

    Hi Preeti,
    The First page and Next page concept is used to handle more data and if the data goes beyond the first page the second page accomadates it.
    The second page mostly contains all the details as the first except for addresses or some Particular numbers.
    So copy the page one contents or windows, templates, texts by right clicking and pasting it on the second page.
    You can also set the conditions in "CONDITIONS" tab by selecting one of the check boxes.
    Hope this solves your query.
    Reward Points if useful.
    Thanks,
    Tej..

  • Smartforms next page prob

    Hi All Gurues,
    I m getting problem while trying to print two pages as my requierment is there two differen formates for a single form so i created two pages but its overwrite each other when i m deletes one than its printing well for a single page.
    plz give me your valuable suggetions
    Thanks and Regards,
    Tarun Kumar

    Hi
    What did you give in the Page Attributes? In the General Attributes, Keep the Next Page as First itself...I think you are giving second page that is why it is overlapping...with the formats..
    Regards,
    VIshwa.

  • Smartform Error: Items not printed on next page

    Hi everyone,
    I am currently working on a Smartform for printing an Invoice. The problem is as follows:
    I have a First page and a Next Page. There is a Summary in the footer.
    If the items fit on the First page, then there is no problem. If there is space then the Summary is printed on the same page, if there is little space, then the Summary goes on to the Next page (Page Protection is applied).
    The problem arise when the items do no fit on the First Page. In this case, I get a weird error saying "Unexpected Error" and some Message 003. I can't understand what the problem is!
    I have various attachment pages as well and they are printed properly.
    Please help me crack this error at your own leisure!
    Thanks.
    Edited by: kishan P on Oct 13, 2010 9:44 AM

    Hi Ameya
    there might be syntax error. Try to get what exaclty is an error using following code.
    CALL FUNCTION <smartform>
        EXCEPTIONS
        IF SY-SUBRC  0.
           CALL FUNCTION 'SSF_READ_ERRORS'
                IMPORTING
                     ERRORTAB = IT_ERRORLIST.
         ENDIF.
    In IT_ERRORLIST you will get error message.
    Regards
    Sachin G Patil

  • Error in Smartforms a page without a main window

    Dear Friends
    I have suffred one problam in Smartforms, whe we create new page then system gives error
    "A page without a main window cannot point to itself as next page".
    Please provide solution.
    Regards
    Ajit Sharma

    Hello Ajit,
    In Smart Form Main window is optional but check if this satisfies in your case ....
    Main Window
    In a main window you display text and data, which can cover several pages (flow text). As soon
    as a main window is completely filled with text and data, the system continues displaying the text
    in the main window of the next page. It automatically triggers the page break.
    You can define only one window in a form as main window.
    The main window must have the same width on each page, but can differ in height.
    A page without main window must not call itself as next page, since this would trigger
    an endless loop. In such a case, the system automatically terminates after three
    pages.
    It means if you have Next page you need to use a Main window in your smart form.
    Regards,
    Kittu

  • Smartform : line type not working fine when used on Next page

    Hi ,
    Please help on below :
    I have a smartform and have line type which is used in printing the items.
    When I use this line type on very first page , it works fine.
    But for the next page which is the exact copy of first page ,
    the line type does not work fine with printing first line item on next page,
    it refreshed the work area which i am printing. so on the next page very first element gets all the values 000
    But on the next iteration it works fine and does not refresh work area.
    Please see why is such abnormal behavior happening.
    Regards,
    Uma Dave

    Hi Ameya
    there might be syntax error. Try to get what exaclty is an error using following code.
    CALL FUNCTION <smartform>
        EXCEPTIONS
        IF SY-SUBRC  0.
           CALL FUNCTION 'SSF_READ_ERRORS'
                IMPORTING
                     ERRORTAB = IT_ERRORLIST.
         ENDIF.
    In IT_ERRORLIST you will get error message.
    Regards
    Sachin G Patil

  • How to Branch to next page in Smartforms

    Hi all,
         In Smartform, i want to go to next page when all the records in the main window is displayed. For this I did Following thing,
    1) created command node, did the neceeasry things like go to next page ...condtions given.
        I did this in main area of Page 1.
    2) In Attributes of First page i specified next page as page 2.
        error- No output Window defined....although i defined Secondary Window with text.
    Regards

    I'm currently able to branch out to next page in smartforms but the data that is being displayed is duplicated
    Ex. Page 1
    data1
    data2
    PAGE 2
    data1
    data2
    data3
    PAGE 3
    data1
    data2
    data4
    Can anyone help/ provide advice?

  • Smartforms command to next page without balnk area in main area

    Hi all,
    i have created a smart form for Notification printing.
    i have one page called page1
    page1
    ->Text page from 1 to 8.
    -> text reported by : Tark
    ->MainWindow.
    ->Table itab1 into itab1
    ->loop1 itab into itab. where adrnar = itab1-adrnar.
    ->loop2 itab2 into itab2. where QMNUM = itab1-QMNUM.
    ->command - next page to page1 .
    while printing it prints 6 documents in 7 pages.
    pages no 7 or last page contain page no and rported name but
    main window is blank.
    i need to print one document in one page second in next page and i wand cancel last page because it blank in main window area.
    expecting the reply.
    regards
    Esam

    Dear experts,
    My present issue is that i have a page
    Page1
    MainWindow
    Node1
    Node2
    Node3
    If i create new page
    Page1
    MainWindow
    Node1
    Node2
    Node3
    Page2
    If i check fom,i get error no new page can be created without a mainwindow
    then i add a new window and declare it as main
    Page1
    MainWindow
    Node1
    Node2
    Node3
    Page2
    MainWindow2
    Now it says that two main windows cannot exist.
    THIS THING SHOULDNT HAVE HAPPENED...WHATS UR ECC VERSION?? I CHECKED IN 7..U CAN DO THAT IN THIS VER.
    I join my hands together and make Main Window as Secondary window
    Page1
    MainWindow
    Node1
    Node2
    Node3
    Page2
    SecondaryWindow
    Now i check and get you cannot create a page without main window.
    AGAIN SMTHING IS WRONG. A PAGE WITHOUT A MAIN WINDOW CAN HAVE A NEXT PAGE POINTING TO A PAGE WITH MAIN WINDOW.
    Now i say to smartforms not yours not mine,
    i copy the same mainwindow of page1 to page2 .Now whaever action i perform with mainwindow of page2 same happens to page1 too.
    IT HAS BECOME A COPIES WINDOW..WHATEVER U DO IN PG1.GETS REFLECTED IN PG2..
    I have already declared that next page is Page2 in page 1 and page2 in page2 itself.What i am missing ?

  • How to print items in the MAIN window of the NEXT page (smartform)?

    Dear forumers,
    There are two pages (FIRST and NEXT) in my smartform with the same MAIN windows in each of the pages. Whatever that are changed in FIRST-MAIN window will also be seen in NEXT-MAIN window.
    I will need to control the printing of table TABLE3 contents (already contained in the MAIN window) such that if a variable V_MAT_PRINT is 'X', the TABLE3 contents will only be printed in NEXT page and not printed in FIRST page at all.
    How may I achieve this? Please help.
    Thank you.

    >
    Mohammed Ahasanullah Mulla wrote:
    > Hi Deborah,
    >
    > I had also faced a similar situation,in my case it was three pages..However i will try to tell you for 2 pages..After the second table .Add a program lines and force a page break only if V_MAT_PRINT is 'X'. After the program lines add a command and make the go to new page as second page.This will solve your problem.I have done the same and its working fine .If you have any questions do ask.
    >
    > Thanks,
    > Ahsan
    Hi Ahsan,
    Here's my case.
    If V_MAT_PRINT is 'X', print the following:-
    FIRST page, MAIN window
    - TABLE1
    - TABLE2
    - TABLE4
    - TABLE5
    NEXT page, MAIN window
    - TABLE3
    If V_MAT_PRINT is not 'X', print the following (no additional controls / changes are needed, everything remains unchanged):-
    MAIN window
    - TABLE1
    - TABLE2
    - TABLE3
    - TABLE4
    - TABLE5
    In this case, is a page break suitable? I doubt it as TABLE4 and TABLE5 will still need to be printed back on the FIRST page regardless of the V_MAT_PRINT value.
    Please advise further. Thanks.

  • How to Print next Page in smartform ?

    Hello ,
    I want to print next page in smartform.
    The situation is :-
    I am passing an internal table containing list of personal numbers.
    I have to print their details . Every candidate's detail should be printed on a new page .
    I have designed the whole form , but I am not print their details on a New Page.
    Please guide.
    Thanks in Advance.

    Hi, Nikita.
    Please Have a Look the following Link
    [MODERATOR MESSAGE: SapScript/Smartform questions go in FORM PRINTING forum|/thread/1360534 [original link is broken];
    So, Please Post Questions Regarding SapScript and Smartform in FORM PRINTING.
    1. First of all you need to set a Flag at the end of every Personal Number.
    2. Than Right Click on the object Like Main Window
    --> Create --> Flow Logic --> Command
    3. From First Tab of Command General Attributes Check the Check Box Go to New Page and Select Your Page
    4. In the Conditions Tab Give you Flag Condition.
    Hope will help you to solve out your problem,
    Please Reply if any Issue,
    Best Regards,
    Faisal

  • Header Area of Table is not printing on Next Page in SMARTFORM

    Hi All,
    I am facing one problem while Developing a smartform for Delivery.
    I want the same data to be copied to the Next page which is coming on first page. I copied the Main window to Next page with all the details but the Header of the Table is not printing on the Next(Second) page.
    Please help me out regarding this...
    Thanks in advance for your help....
    Thanks & Regards,
    Digamber

    Hi,
    If you are talking about the table (which you created in the main window) and you want the header of the table to be printed on the next page. Is it because of overflowing that's why its printed to the next page?
    If yes, the header cannot be printout out.
    Just for your information. If you want a window in the first page to be copied to all subsequence pages, set the window type to be copies window.
    Hope it helps.

  • Data printed twice on the next  page in smartform

    Hi all,
    I ahve created  a smartform where I  print the header details at the start and then below that details for all line items for a particular document.
    so i have data ;ike :
    Header data :
    field 1 : field 2:
    Field3 : field4:
    field5: field6:
    Item data :
    field1 field2 field3 field4 --> Item 1
    field1 field2 field3 field4 -->Item 2
    field 1 field2 field3 field4 -->Item3
    For the Header data,I use a template in a secondary window.
    However for the item data,i use a table in MAIN window (As i know the no of records only at runtime).Also another reason for usng table would be that I dont need the header on each flloowing page but only the Line item details on the following pages.
    Now i have created a second page with only the MAIN window from the First page as I need only the  remaining line item details  to be continued/printed on the following pages.I have actually copied the MIAN WINDOW from the first page to the second page adjusting only the  uppe rand left margin.
    However now when i see the rpint preview.the 1st page data,is printed corrrectly.however on the 2nd page,the 1st record is printed twice.
    Can anyone explan why is this happening?
    Thanks!

    Thanks for the replies.
    @Meghanandan,
    I dont want to set any command for going to next page as I dont have any condition to go ot next page.Im setting the width of the first page main window to print sufficient data.
    @satyajit
    I have the text elements under the MAIN AREA.Cna you pls elborate which Points i need to check undre the table node which might have been unnnecesssarily checked?
    Thanks again for your time.

Maybe you are looking for

  • GlassPane - JComboBox

    Hi, I have a glass pane, which redispatches all mouse, mouse motion, and mouse wheel events. I have a JComboBox under the glass pane. When I mouse over the combo and click on it, the popup menu appears. But when I move my mouse on the popup menu, the

  • Printing Report Output

    Hi Tech Gurus, Its urgent requirement,assume that you are a end user submitting a request,once it is completed normally the output comes as a hardcopy through a printer.is it possible to configure like this.thanks in advance for ur clarification. Reg

  • PO tax issue?

    Dear Experts: In China , the tax are involved in the price when buying somethings. If it is possible to let the LIV distinguish the material cost and tax amount . EX: if the quotation is 10 RMB ,and I use  10 RMB as PO price.      I hope when I do LI

  • Can't get my music

    Hello, I'm new to itunes and bought an album this morning. I didn't get 3 of the songs downloaded. I looked and thought it was something that I had done so I purchased the 3 songs again and still didn't get them. I have not found a way to contact itu

  • I waninstall developer2000 & Oracle 8i in same machine

    I want to install developer2000 on the machine in which oracle 8i enterprise server is already installed. Until the d2k is installed, the oracle 8i database works fine. But the moment i install d2k on same machine it gives error "The database Configu