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

Similar Messages

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

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

  • SmartForms: Trigger NEXT page in a loop Not in MAIN Window?

    Thanks for all of your responses. I know understand that my list I am creating in my loop does not trigger to NEXT page because it is not in my MAIN Window.
    I am a little leary of moving this non MAIN window logic into my MAIN window, because I finally got everything looking pretty good, except for this issue. So, does anybody know of a way to trigger NEXT page to continue writing in a NON-MAIN window to a NEXT page?
    As I am writing this I am thinking that I may be able to put a command inside the non MAIN window to go to NEXT page?    Any suggestions, it must be possible somehow.
         Thank-You.

    hi
    see this
    [Sap help documentation for smartforms|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf]
    check page number 84 of this.
    its written over there.
    Prerequistites:
    The page to which you want to branch must exist. you can branch to a new page only as long as you are still displaying the contents of a main window.

  • Smartforms. loop count - next page.

    Hi all,
    i have created a smart form for voucher printing.
    ->MainWindow.
    ->loop1          itab into itab.
       ->Template
       ->Table        itab1 into itab1 where belnr = itab-belnr.
       ->Text     signature.
       ->Text      pageno1.
    above are the nodes in my smartforms.
    while printing it prints all documents in one page.
    but i need to print one document in one page second in next page
    (means for itab first loop shoud be in first page. second loop in second page..)
    for each page signature and pageno shoud appear.
    expecting the reply.
    regards
    jai.

    Hi
    the problm is with LOOP.
    i have two internal tables one for header <b>itab</b>(data from BKPF) other for Line itms<b>(BSEG) itab1</b>
    My form should Print First DOcuments Header And Line Items In First Page.
    and the next document on next page. (means when the loop runs 2 nd time those data shoud print in a next page.)

  • Problem in Smartform where next page is printing unnecessarily

    I have written a smartform to print our packing slip. In my main window I loop through the delivery items for printing and after I have finished printing all of the items associated with the one delivery item  I want to  print out a u-line so that the form will be easier to read(some sort of way of grouping the items visually) I am accomplishing this by using sy-uline. The problem arises though that sometimes Iwhen I hit a page break  the only thing that will print on the next page is this uline. I do not want this line to print at the beginning of the main window on a next page but I have been unable to figure out anyway to keep it from printing. I have tried page protection for the paragraph format being used but that does not work. Has anyone come up with a way to print out a dividing horizontal line across the main window after a loop but control it so that it would not cause the form to think  a second page is needed just because of this one line.
    Any help would be much appreciated.
    Karen

    HI,
    Create a Folder,  move your table and what ever code written in program lines under the folder.
    click on folder check page protection, it will solve your problem.
    Thanks,
    Sanjay Gogikar

  • Issue related to next page in smartform

    Hi expert,
    M working on a  smartform..i have used next page window in that with condition that if in the first page entries are more that '6' then it must trigger next page to show rest of entries..my code is.
    DESCRIBE TABLE GT_STRUCT LINES LINE.
    *BREAK-POINT.
    IF LINE > 6.
    NEXTPAGE = 'NEXT'.
    ENDIF.
    but next page is not working at all..can u plz tell some points that i should take care off before using next page..
    Regards,
    Raman

    >
    raman  sharma wrote:
    > yaa suhas this code is written in program lines in a seprate window
    I think this code should be there inside the "LOOP" or "TABLE" node in which you are printing the lines.
    You want to print only 6 lines per page & after 6 lines you want a Page-break. Is it correct?
    Then you can have a "PROGRAM LINE"  node or in the "Calculations" tab of your "LOOP" or "TABLE" node you can have a variable which you can increment:
    V_CNT = V_CNT + 1.
    And then create a "COMMAND" node in whichyou give a "Goto new Page" trigger with the condition:
    V_CNT > 6.
    BR,
    Suhas

  • Hi Experts, a questions concerning next page of first page in smartform?

    Hi Experts,
    I have a smartform layout and it has only first page, can I make the next page empty for the first page? I want to print one page.
    Kind regards
    Dawson

    Hi George,
    there is no loop or table node in main window and I specify the next page of the first page to be "blank", can it only print one page(first page)?
    Kind regards
    Dawson
    Edited by: dawson wang on May 7, 2009 11:27 AM
    Edited by: dawson wang on May 7, 2009 11:28 AM

  • 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

  • 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

  • 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

  • Photoshop album 2.0 mini で3gpファイル取り込めない

    adobe photoshop album 2.0 miniを使用しているのですが.手持ちの3gpp形式のファイルが取り込み時に対象となりません.QTPro6.5はインストール済みです.QTから3gpファイルを作成してみましたが. これも取り込めません. サイトなどを確認しましたが.miniで3gpファイルの利用制限は無いように感じます. なお.MOV形式のQT動画は取り込めます. どなたか3gpp形式の動画ファイルを取り込めた方いらっしゃいますか?

  • Links in the content area

    Hi, we have a iview that have a list of links, the iview is diplayed in a page in the content are on the right. Some of the links are open in a new window but other we want to display it on the content area, we want that the navigation panel will be

  • Re: Block corruption in Undo tablespace

    undo_management                  string  MANUAL undo_tablespace                  string  UNDOTBS2 SQL> alter database open; alter database open ERROR at line 1: ORA-01092: ORACLE instance terminated. Disconnection forced ORA-00704: bootstrap process

  • How to play video files that are in Drop box on iPod?

    How to play video files that are in Drop box on iPod?

  • How to use 'CREATE_RECIPIENT_OBJ_PPF' n 'CREATE_SENDER_OBJECT_PPF'  for mai

    hii all, how to use 'CREATE_RECIPIENT_OBJ_PPF' n 'CREATE_SENDER_OBJECT_PPF' fm for sending external mails n lasting using 'SO_NEW_DOCUMENT_ATT_SEND_API1'. please copy some sample coding.