SMARTFORM - Printing 3 tables in 2 different pages.

Hi all,
I have a form with 3 pages. In the PAGE 1 I need to print data of 2 different tables. These data may not fit in this first page and a second page can be printed. In PAGE 2 I also have a table that may get big enough to "push" all other windows to a second page. And we have a "normal" PAGE 3.
I create a form with these 3 pages. In PAGE 1 I've put one of the tables in a main window. The second table I put in another window.
PAGE 1 next page -> PAGE 2
PAGE 2 next page -> PAGE 3
PAGE 3 next page -> PAGE 3
I can't activate the form. I have problem because of the main windows in each table.
Help me.
thanks.

For sure, sy-subrc = 1 in Smartforms is a very tricky return code. The problem was in a template in PAGE 2 which height was greater than the window's size.
Now I can print my 3 pages. Great!
But I still have a little problem.
My PAGE 1 is like this:
HEADER                 (many windows)
TEMPLATE 1           ( main window)
TABLE 1                        "
TEMPLATE 2                 "
TABLE 2                        "
COMMAND PAGE 2 (main window)
When I have too many entries in TABLE 1 or TABLE 2 a new PAGE 1 is printed. Ok. But this is <b>almost</b> what I wanted. Because in this second sheet of PAGE 1 is printed with the HEADER again. I don't want any header in this sheet 2.
I tried to use the condition "only on first page" in my HEADER but didn't worked. What can I do?

Similar Messages

  • ADOBE: How to print a table only on uneven pages and a text on the back?

    Hi, I am looking for a clear document on how to use pagination and the Odd and Even pages.
    We need to print a table over several pages, but the table should only appear on Odd pages. The even pages should be skipped. On the even (back) pages we need to print "Terms and Conditions". Is that possible? Can it be done without scripting?
    We are using ADOBE version 8.1
    In the file properties, double sided is switched on, and version set to 8.1 and higher.
    I created two Master pages, a FrontPage with ContentArea1and a BackPage with ContentArea2.
    FrontPage is used for uneven pages, BackPage is used for the even pages. The masterpages are printed correctly (alternating properly).
    One page was created for the table, totals etc.:
    ITEMS: contains item data (table with header and footer). Place is "On Odd Page". After "Goto page BackPage", so there is always one page with the text. And if the table needs to be paginated it goes to BackPage with overflow leader "Conditions".
    What should happen is that on the front pages the item table is printed. If there are too many lines then it should continue on page number 3 then 5 etc. All the even pages should display text only.
    What actually happens is that the item table also gets printed in the content area for the Condition text...
    The best I could achieve is to decrease the contenta area of the back page. To force pagination. But still it prints one table record in the (very small) content area of the back page before paginating to the next page (front page again). If it only would not do that, it would be fine.
    Cheers,
    Edwin.

    Fixed it... After a lot of creating, deleting, playing around with pagination and the inevitable cursing...
    I have created 5 pages:
    1. FirstPage
         - Odd/Even: Odd (Front) Pages
         - Placement: First page (In page set)
    2. FrontPage (For Odd pages)
         - Odd/Even: Odd/Front Pages
         - Placement: Rest of Pages
    3. BackPage (For Even pages)
         - Odd/Even: Even (Back) Pages
         - Placement: Rest of Pages
    4. LastPage
         - Odd/Even: No Odd/Even Restrictions
         - Placement: Last page (In page set)
    5. DummyPage
         - Odd/Even: Blank pages
    The 'Terms and conditions' are located on the BackPage and LastPage (as a text).
    The table that is printed is (of course) located on a normal page (flowed subform).
    Pagination tab: Placement = Following previous, and After = "Continue filling parent". No overflow... Basically, it's all default.
    The table lines will now start on the first page and if there are more lines than can be printed on this page, it will continue in the next content area. That will be on the FrontPage.
    The trick is that each master page must have a content area (mandatory). Except for Blank pages, but these cannot be used... Blank pages would only be used once, after the first page.
    What I discovered is that you can drag a content area away from the Master page and attach it to a different master page.
    Logically, if there is no content area on a page, then data cannot be printed there. So, I created a Dummypage. On this page I dumped the content areas from the LastPage and the BackPage. As a result, content cannot be printed anymore on the back of pages. Only the standard text (a text field) is printed there. When the data from the table is overflowing, it will automatically overflow from the FirstPage to the next content area. Which is located on the FrontPages only.
    The DummyPage is NOT used anywhere.
    The result is that the records can only be printed on the content areas that exist on the First and Front pages. The back pages are now skipped.
    Duplex printing is now working correctly, and the text is printed on the back of all the pages.
    Cheers,
    Edwin.

  • Print each table row at new page in PDF

    Hi All,
    I have a very specific requirement for Adobe forms.
    1. I have to print a table which can flow upto several pages and after that i have a structure which is having some fields which needs to be displayed at last page i.e at the bottom of last page like the total of all data in the table.
    2. I have to print a table in which each row should be printed at different page i.e 1st row which is again a table type can flow upto several pages then 2nd row which is a table type must be start from next page and so on.
    How can i achieve these two requirements.
    Thanks in advance,
    Nawal Kishor Mittal

    1. I have to print a table which can flow upto several pages and after that i have a structure which is having some fields which needs to be displayed at last page i.e at the bottom of last page like the total of all data in the table.
    If you use content: flowed + allow page breaks within content, then the rows will be distributed to the pages and the content which is placed in the hierarchy just after the table will appear at the bottom of the table
    I have to print a table in which each row should be printed at different page i.e 1st row which is again a table type can flow upto several pages then 2nd row which is a table type must be start from next page and so on.
    That means you will use the table of tables (create table of tables in the backend and then just display it in the form). To work with the page break/ pagination you should set up "top of next page" (tab Pagination) for every outer table row.
    Otto

  • ALV printing error - Footer on 3 different pages

    Hi all,
    I created an report which outputs an ALV grid (full screen) with a header and a footer. The ALV grid is created with class CL_SALV_TABLE (incl. methods set_top_of_list for the header, resp. set_end_of_list for the footer). This all works correctly and the print preview looks fine too.
    Problem is a very strange print output:
    In most cases, printing works fine. But sometimes the output is wrongly formatted: is the footer to be printed on two different pages (i.e. the footer is partly printed on the current page, the rest on the next page), the footer will be printed on three pages! The first part on the current page (correct), only one line at the bottom of the second page (wrong) and the rest of the footer on the third page (wrong)! Could it be that this is a print setting problem? Should I add special footer settings?
    I already checked SDN forums and looked at SAP Notes for solutions but could not found any tip on how to solve this.
    Does anyone of you had the same issue before? Or does anyone has an idea how this problem could be solved?
    Thanks a lot!!

    Need suggestions please.

  • (Smartform) Print grand total on the last page

    Hi everyone,
    I'm trying to print the Grand Totals on the last page of my Smartform. I have two pages - FIRST and SECOND.
    What I did was I created a Text to display the grand total, and I specified that this text should be printed 'Only After End of Main Window'. However, the total is not being printed out.
    I can't change the condition to 'Not on First Page', because my form has more than two pages, and I only want the grand totals on the last page.
    Any help would be appreciated.

    hi,
    we have a window type called final window if u define this type window in second page . create a table in the window and go to calculations tab and define an internal table. i think u can get the grand totals.
    if u want maore clearly go throuh this link
    https://www.sdn.sap.com/irj/sdn/forums
    hope this will help you.
    REWARD ME IF USEFUL.
    thanks,
    gupta
    Edited by: gupta pullipudi on Apr 9, 2008 9:23 PM

  • SmartForm Printing all the Items in one page

    Hi,
    When iam trying to print the data in the smartform.....it is printing all the data in the one page(if 2 pages are shown in printpriview).But the same invoice is going to be printed in all the plants in the same format...so i hope it is not the printer problem.so any one pls go thru' this thread and try to give the solution as early as possible.....
    The main thing is if line items are 18.15 on one page and 3 on second page in printpriview...but while printing the the second page 3 line items are overwriting on the first 3 line items of the first page itself.
    Pls Asnwer as it is very Urgent.....
    Thnx in Advance

    Sorry sir, It is a slip of the tongue, I corrected my response already.
    So it is defenitely possible to make ALL the columns appear in the same page in PDF regardless of how much width the report occupies?
    If yes, can I see a horizontal scroll bar or the text will be shrinked to fit the page?

  • Smartforms - print on back-side of first page

    Hi all,
    I'm a newbie concerning smartforms (just doing it because my colleague is sick) and I have to print something on the first page of a purchase order.
    SO I have three pages in my smartform :
    - first
    - terms
    - next.
    I put the output for page FIRST on D (duplex), and the next page on TERMS
    For page TERMS ; output : blank, next page -> NEXT
    for page NEXT : newt page -> NEXT.
    But he doesn 't want to print the text on TERMSwhen the PO is only 1 page.
    What am I doing wrong ?

    Hi,
    check this:
    http://help.sap.com/saphelp_nw04s/helpdata/en/a5/de6838abce021ae10000009b38f842/content.htm
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/SMARTFORMS_tutorial.html
    check this linkls------>
    https://www.sdn.sap.com/irj/sdn/collaboration
    http://help.sap.com/saphelp_erp2004/helpdata/en/a9/de6838abce021ae10000009b38f842/frameset.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    Thanks & Regards,
    Abaper

  • How to print the same data in different pages of different trys

    Hi,
    Part II: Check stub u2013
              We need to print Vendor account # (REGUH-LIFNR), Vendor Name ((REGUH-NAME1), Payment doc # (REGUH-VBLNR), Check date (PAYR-ZALDT) and Check number (PAYR-CHECT) in the header portion and in the detail portion Invoice # (REGUP-XBLNR), Date (REGUP-BUDAT), Amount (REGUP-DMBTR), Amount, Discount and Net amount paid (REGUP-DMBTR).      
    Part III: Check stub u2013
              We need to print Vendor account # (REGUH-LIFNR), Vendor Name ((REGUH-NAME1), Payment doc # (REGUH-VBLNR), Check date (PAYR-ZALDT) and Check number (PAYR-CHECT) in the header portion and in the detail portion Invoice # (REGUP-XBLNR), Date (REGUP-BUDAT), Amount (REGUP-DMBTR), Amount, Discount and Net amount paid (REGUP-DMBTR).
    i am printing like the above and my question is as below.
    Q) If the detail section of Part II and Part III spills beyond the available space then the remainder should be printed on a separate white paper picked from the next tray after printing all the checks. Ensure that this will not be printed on the following check.
    Can anyone please answer this.

    Hi Swathi,
    Where does that check box available, could please give your answer in details so that i can follow like that.
    Thanks
    Srinivas

  • Check Printing on two Different pages

    Hi all,
    Is it possible to print one page PLD on two Different pages. Actually my client  wants  to print one PLD on two different pages, he wants that one page print the acknowledgement letter and then vendor name, amount, date, amounts in words should be printed on the checks.
    With Regards,
    Pankaj Sharma.

    Hi Pankaj Sharma,
    Check Printing PLD is hard coded in the system.  I don't think you have any easy solutions for this.  If you tried already, you must know it already.
    Thanks,
    Gordon

  • How to use Different Main Windows in Multiple pages to print internal table

    Hi experts,
    I have a problem regarding how to have multiple different main windows in  smartforms..the problem is that i want to print an internal table in the third page of the smartform and that table can have dynamic values ..sometime it may have more than 400 values also which can not be printed in one or two pages ...
    so to accomplish the same what i did was..
    i tried creating a new main window in the third page but it is throwing an error saying two main windows not allowed and i also tried by copying the first page's main window but it is just repeating the same content what was there in second page..
      i also tried by creating a secondary window in the third page and in that  window i tried giving my internal table and tried by giving the next page to itself but  that also is not allowed and it throws an error saying a page without a main window cannot point to itself as a next page....
    i also tried using a secondary window and in that window i was trying to display the internal table but it is only showing third page content and fourth page itself  was not created....although in my next page field value of the third page , i have given  the third page itself as a next page ....but this also is not working ,.....
    please suggest how to have different main windows(not copy of first main window) in smartforms in order to display the dynamic contents of an internal table

    HI ,
    Just check with your smart styles with assigned  paragraph  allignment   .
    Try to create character style  with your required  font ,size and  Allignment  .
    Hope u this will solve your issue  .
    Let me know if any concerns......
    Regards,
    Lokesh

  • Smartform printing more pages

    hi all
    I am new in smartform and form printing in general, and I have a problem: I need to print a smartform with two kind of pages and each kind can stay on more pages. So I thought that I have to create 4 pages:
    KIND_1_FIRST
    KIND_1_NEXT
    KIND_2_FIRST
    KIND_2_NEXT
    on KIND_1_FIRST and KIND_2_FIRST I set respectively KIND_1_NEXT and KIND_2_NEXT as next page. The working hould be that when finished processing KIND_1 I need to start processing KIND_2 ... if I simply put KIND_2_FIRST and KIND_2_NEXT after KIND_1's pages in the tree of the pages, they are not processed and in output I can see only KIND_1_FIRST and KIND_1_NEXT.
    I don't know if I am missing something important to set the order of the page to be processed.
    I hope I've been clear ...
    thanks to anyone eill help me
    gabriele

    Hi
    I don't know how your smartform is arranged, but I've done this:
    - Create a simple smartform having two pages: PAGE1 and PAGE2, the page flow is:
    PAGE1->PAGE1 (so it has itself as next page)
    PAGE2->PAGE2 (so it has itself as next page)
    U can have a different page as next page, it's the same.
    - Create 2 internal table ITAB1 and ITAB2;
    - Create a MAIN with two loop (one for ITAB1 and one for ITAB2)
    - Insert the command to skip from PAGE1 to PAGE2 between the loop of ITAB1 and loop of ITAB2
    In this way the smartform skips to PAGE2 as soon as has finished to print the data for ITAB1, and then start to print the data of ITAB2.
    As the logic of the MAIN is not finished at the statament to skip to new page, the data will be print in PAGE2 and in the next page.
    Max

  • Print in different page for different material type in Sapscript

    Hi all
    How do I do the above matter?
    Currently I have a script that print all material according to some condition.
    My client request to have a different page of material list for different material type.
    Please advise
    az

    Hi,
    1) Sort the internal table by material type.
    call func 'OPEN_FORM'.
    loop at itab.
    at new mattype.
    if mattype = 'A'.
      call fun 'START_FORM'.
       exporting
        page   =    'PAGEA'.
    elseif mattype = 'B'.
      call fun 'START_FORM'.
       exporting
        page   =    'PAGEB'.
    endat.
    call func 'WRITE_FORM'.
    AT end of mattype.
    call function 'END_FORM'.
    endat.
    endloop.
    call function 'CLOSE_FORM'.
    Thanks,
    Nethaji.

  • How to use different page scapes in smartforms

    hi
    How to use different page scapes in smartforms.
    I want Potrait format in the 1st page and Lanscape format in 2nd page is it possible if so plz suggest me an idea

    Hi,
    It is possible in smart forms, but not in scripts.
    we can have 3 tabbed options for pages in smart forms.
    <b>General...
    Output options
    Conditions</b>.
    In <b>output options</b> u can define whether a page can portrait or land scape in <b>print attributes</b>.
    Reward if helpful.
    Regards,
    Sandhya

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

Maybe you are looking for

  • Unable to check page in

    I have a page checked out and have made some changes but DW CS3 refuses to check the page back in. It does nothing when I select the command. Do I need to reinstall DW CS3 or is there another fix? Thanks.

  • Missing handles fluid grid layout dreamweaver cc

    I have seen the other postings to correct the problem with resolving the missing handles with a div in dreamweaver cc BUT it is not working when I try it. very frustrating... when you set up the initial design the boxes are there to resize, move up,

  • Resizing problem , table inside panel gets invisible

    when i reduce the size of the panel, the table inside that panel get shrik at its max almost invisible. what is the way to avoid this?

  • Help Please!! (Adobe FormsCentral)

    How do I change the date format in FormsCentral to dd/MM?

  • Transfering from 10.4 on one drive to a new 10.5 firewire

    I am keeping a 10.4.x system on an internal drive for old apps that might not like 10.5. Also the current boot drive is small and can barely hold the OS and apps (no data files which are on an external 500GB external firewire). I have managed to move