MAIN NEXT PAGE

Hello,
I don´t know why, but my smartforms don't print the window main in the next page. First page it's normal, but the problem is next page.
Somebody can I help ?
Best Regards
L.F

Hi,
mention the Next Page as ur 'second page name' in genereal attributes of first page and for second page also mention the Next Page as ur 'second page name'
alos make sure that u calling the Main window in ur second page....
Hope it resolves...
Regards,
Pavan

Similar Messages

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

  • Unable to print main window and associated secondary windows in next page

    Hi All,
    iam print line items values in first page by using main window (table) and associated  terms &condition in second window(template).
    But i want terms & condition to printed in other page.I tried to create COMMAND to manually trigger second page but it doest work.
    Kindly suggest.
    Attached is snap shot of current output(Shaded region are space of dat window).Also attached is overlapping of main and secondary windows.
    Since i need to increase the above template sizes i shifted main window and other 2 secondary window downwards so i wanted them to print in next page.

    Hi abhijeet,
    Add Programming lines before Command before loop statement,
    In that Count the itab using describe table.
    Add condition if count EQ Sy-tabix.
    pass to command line.
    Try this,
    Regards,
    Venkat.

  • How to display standard text element of main window in next page

    hi all
    In scripts we have standard script medruck for purchase order.
    i want to pull text elements ( terms and payment terms ) in to main window of next page.
    i have included main window in page windows of next page ,but im unable to print text elements of terms and payment terms in next page...
    any one give your valuable inputs.
    Thanks
    deepika.

    Hi deepika,
    First copy standard MEDRUCK to ZMEDRUCK and do the necessary changes.
    Then check in driver program when exactly Terma and condition text element is called. Generaly its after printing all items but just check once to confirm.
    If TERMS and condition element is called ate end just put a NEW-PAGE  command at end of the text element which is called before terms.
    Hope this will help You.
    Thanks
    Dhiraj.

  • Main Window display when line items are less in next page.

    Hi all,
           In the smartform,if the line items extend to second page, then to print complete main window in second page and if there are only few line items in second page, how to remove the empty spaces in the nmain window and to print other windows after the end of main window.?
    Nagesh

    design ur next page .....
    goto next page reduce the size of the main window and place the other window that u need....
    goto new window that is specified in nextpage , in condition tab check the checkbox(only at the end of main window).....
    here u will get the other windows only in the lage page....

  • Frame line not display in next page of main window

    hi Xpert,
    I am creating layout in SAP SCRIpt,it working fine only the main window of next page  frame line is not display.
    i m define next page as a FIRST page and writing main window of first page following coding
    /:           POSITION XORIGIN '0.50' CM YORIGIN '7.75' CM
    /:           SIZE HEIGHT '17' CM WIDTH '19.25' CM
    /:           BOX  FRAME 10 TW
    when i run the program first page are coming properly and only when i go in second page of output then main window lines not displaying.
    please guide me how to solve this problem.
    Regards,
    pravin

    Hi Praveen,
    In that case why you have to make the main window in the first page and secondry window.
    You can use it as manin window itself. Print the total amount in the main window itself in the first page. and copy that main window to the second page.
    In the first page under the main window create a text. and there u print the total value and text.
    Now copy the main window to the second page..only COPY DONT CREATE NEW.
    In the second page now under the main window create the table to print the line items. What every u add in the second page main window it will come in the first age also in the smartforms. But it will nto get printed in the first page.After the text to print the totals call the COMMAND option and call next page in that.
    Hope you got me..
    Regards
    Ansari

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

  • Jumped to next page eventhough first page's main window not full

    Dear All expert,
    I meet a problem that my script form sheet jumped into next page even though the first page is not full.
    I checked in script there is not any new-page command.
    Do you have any suggestion?
    appriciate your help.

    Hi,
    There could be many reason for this.
    Please check the followings.
    1. Page protection command is not used.
    2. size of main window
    try to debug the script and find the exact reason.
    Hope this will help you.
    Regards,
    Raj Gupta

  • How to skip secondary window below main window  to next page.

    hi friends,
                          this is tax retail invoice in which main window contain a table where the items are listed
    as the items increses. the remaining items get listed on 2nd page thats ok..but the calculation part as total get
    calculated on both page in secondary window
    below main window
    tried with command with go to next page
    plse suggest.soon...urgent.
    thnx in advance.

    Put a condition on this secondary window for totals. Flag the checkbox 'Only after end of main window'.
    Cheers,
    Edwin.

  • How to make text elements flow to next page depending on the table above it in main window (smart forms)

    Hi all,
    In my main window i have a table that contains line item data.
    Just below that i need to display text elemet (some text and terms & conditions).
    as below
    Based on the items in table, it should flow to next page. But it is not happening. rather the data which do not fit into first page gets deleted.
    Please help to solve this. Its urgent.
    Thanks in advance

    Hi Rashmi,
    please drop these texts from your table footer (i hope you have put into footer of your table), just create a template after your table and  put your all these data within this template and make sure that your this
    template should be called after your tables data get displayed.
    Or you can create a text , after your table where you put your data, and it should get displayed when the line items ends for your table.

  • Smartforms - 2 individual tables in main window to show on NEXT PAGE

    Hi Gurus,
    Please forgive me for this basic questions in smartforms. I've just started working with it.
    My questions is:
    " Can we put a table inside a template? 'Coz I've created 2 tables (with individual header, body, footer), and I want to put them in Main Window. So, if one of them is already full, the next entries will be displayed on the next page."
    What is happening is that only the last table's data is being displayed to the next screen if already full in the first page. So I'm thinking if we can put the 2 tables inside the template of 2 lines. Is this possible?
    Any other suggestions would be very much appreciated. Please help me with this. Thanks.

    Hi Ayem
    Inorder to continue data from one page to other there is no need of a second table,it will automaticaly be continued in the second page.
    See these WIKIs ,it will explains smartform with examples and screen shots.
    [https://wiki.sdn.sap.com/wiki/display/ABAP/SMARTFORMguide]
    [https://wiki.sdn.sap.com/wiki/display/HOME]
    [https://wiki.sdn.sap.com/wiki/display/ABAP/SUBTOTALINSAP+SMARTFORMS]
    Regards
    Hareesh Menon

  • How to skip secondary window if main window goes to next page

    hi gurus,
                  i m having a table in main window which lists items and its rate n quantity.
    the total price,discount and discount is calculated in secondary window.
    now if the list of item get more than window size it goes to next page but with calculation in both page in secondary window . i want to skip the calculation on 1st page.the calculation should only apear in scond page.
    thnx in advance.

    Hi..
    ******Case 1******************
    Suppose if you want display the Totals only in Last page :
    In the Secondary window:
    /: IF &NEXTPAGE(C)& = '0'
      <<DISPLAY YOUR TOTALS HERE>>
    /: ENDIF
    ***********case 2**************
    Suppose if you want display the Totals only in Last page :
    In the Secondary window:
    /: IF &PAGE(C)& = '2'
      <<DISPLAY YOUR TOTALS HERE>>
    /: ENDIF
    reward if Helpful.

  • To display vline if main window flows to next page in SAPScript.

    Hello,
    We are facing issue that we have to put vertical line at the end of page , if main window flows to next page.
    In our case, we have payment done for different currencies as well, so that means if for first currency USD we have 20 records then after 16 records page gets break then we want sy-vline to print there and next 4 records in next page, similarily for next currency EUR, then if we have 4 records it gets displayed on one page only, so no vline is required then.
    So like this if we have 3 pages to be displayed then on first page it should displayed vline as records gets overflowed.
    May be in Script we can have more than 3 pages as well, so at different currency when we have more records then only it should show vline, otherwise not.
    Also we have signature window inside main window, so on next page it should not display line after signature.
    So please help us for finding the solution to this issue as its really urgent.
    Thanks.

    Hi friend,
    So as of now you know that the line count for a page is 16.
    So after displaying records in main window just check the sy-index or keep a variable incremental for the loop.
    Check whether the variable count is 16 and put a sy-vline. So if we have less number of records or if we have a signature window the vline wont be executed.
    This will only be executed when there are 16 records for a page. So for better handling you can use the number of lines per page dynamically. Ie to know the size of lines in the page dynamically.
    Else use of end of page command to draw lines at the end of page. But the end of page command should be used inside an if else command.
    See the link below for more options in Scripts Link : [Editing Format Actions|http://help.sap.com/saphelp_nw70/helpdata/en/ce/6f0f82ea6311d18e2f0000e83dd9fc/content.htm]
    I think this solves your issue. Please revert back to me if you face any issues. I will help you.
    Thanks,
    Sri Hari
    Edited by: srihari.kumar on Jan 31, 2012 4:27 PM

  • SAPscript MAIN Window ITEM TEXT Printing in NEXT PAGE

    Hi,
    I need to print the Item Text (Item Description or Column Description) if the Item Values (Lines) goes to the NEXT page in the Form. I have TEXT ELEMENTS defined for ITEM TEXT and ITEM VALUES in the MAIN Window. There is no issue with Printing the Item Text and Item Values in the FIRST Page. But in the NEXT page only when the Item values are printed (Item lines in excess of FIRST page), ITEM TEXT needs to be printed before printing the ITEM VALUES. If the FROM goes to NEXT page but not the Item values, then ITEM TEXT need not be printed in the NEXT page. The number of lines in the MAIN Window is different for both pages (FIRST & NEXT). I am not sure how to get this done. So, please provide me with a suitable solution to get this done. Appreciate your help in advance.
    Thanks,
    Kannan

    Hi Kartik Tarla,
    Thanks for your reply. Printing item lines between PROTECT / ENDPROTECT, will lead to Print all the line item together in one page. That is not I wanted. It the line items flows to NEXT page, I need to print the Item Header/Item Text. Otherwise, NEXT page should not have the Item Header.
    Thanks.
    Kannan

Maybe you are looking for

  • Cant open external links and multiple instances of the same profile.

    I have multiple firefox profiles. I constantly have two profiles running at the same time. I use microsoft outlook and see an external link, I click it wishing firefox to open it in the default or new browser. It does not and says "FIrefox is already

  • Please...... I don't want to throw my MacBook out the window....Imovie HD

    I just converted some of my earliest skydiving video footage from VHS tape to DVD. It plays fine on my computer, but I cannot import into imovie. The files for the DVD don't even show they are selectable, and when I try to drag and drop it states the

  • A LOT OF PROBLEMS PLEASE HELP!!!!!

    WELL I HAVE A 30 G CLASSIC BUT IT WONT SYNC IT TELLS ME "I TUNES CANT READ IPOD CONTENTS', DIAGNOSTICS TELLS ME "IEEE 1394 HOST CONTROLLER NOT FOUND" what does all of this mean i have restored this ipod more times than i can count i need help

  • Jabra CLIPPER multiuse problem. (iPad 2, iPhone 3GS)

    I have a three devices Bluetooth receiver "Jabra CLIPPER", iPad 2(4.3.3) and iPhone 3GS(4.3.3). So.. Jabra CLIPPER has a "multiuse function". It is connect to between two devices at same time. (ex) CLIPPER connect to iPad 2 A2DP and connect to iPhone

  • VCMA working on Blackberry Bold 9700

    Hi! FYI: I´ve tested the vCMA on a BB Bold 9700, is working fine... But the higher resolution of the display makes the fonts very small (on the logon screen). After the logon screen, it looks normally. But my question is when vCMA comes in a producti