Table Footer page protections

Hi all,
On my PO i have the totals inside a table's footer inside the main window
set as such
__________________net________________________######
__________________tax________________________######
__________________Total_______________________######
problem is that if there are enought items the net line may be on the first page then the tax and total on the second page
is there a way to set the table footer so that it will always print together?
thanks in advance.

Hi,
In table footer, I think you cannot create text node, instead only table line can be created.
Please check again. And try as:
Nitesh Pandey said:
Create a folder in table Footer and check the checkbox Page Protection in output option tab. Now put create line type and print your data using text modules and text elements.
Thanks,

Similar Messages

  • Smartforms - page protection problem

    Hi,
    I have made an invoice form with smartforms. To protect the positions of page breakes, I have made all position nodes in one folder note and set the page protection flag for that folder. Because in tables the page protection option is not working, I have made it all with paragraphs...
    This is my problem now:
    If the form has more than one page, I have to show the sum of all positions of the first page on the bottom of the page and one the top of the next page. Therefore I have calculated the sum inside the loop of the positions (at the end of the loop).
    This is normaly working... But if I have two pages and only <b>ONE</b> position does not fit on the first page, the calculated sum contains the sum of <b>ALL</b> positions, although the last position is shown on the next page!
    Any ideas, how I can only calculate the positions that fit on one page <b>FOR REAL</b>?
    Thank You very much!
    Cheers Arne

    Hi,
    I encountered a similar problem as ur doing.In dat scenario what i did was that I created a <b>Loop</b> instead of a table and secondly based on the page size please create a style with proper an appropriate tab and use this through out while displaying the line items.
    Using a tab will ensure equal spacing everywhere and the data will not overflow from any line and where ur writing a variable place an addition (C) at the end of that variables between the &. This also ensures that the data doesnt overflow and confines to the space.
    Hope this will help.
    Varun

  • Table footer when page break in smartform

    I put a table component into a loop control, and in the table footer, there are some texts in several lines and a command component.
    the problem is that, when there's not enough space to print the whole table footer texts in one page, the extra part of will be output in the next 2 pages.
    for example, I suppose  there are 3 pages totally. and for the first page, it's all right about the main window. when there's no enough space, the footer is still output, the rest is printed on the 2nd page. but on the 3rd page, the footer texts in the 2nd page is output again and followed main windows on the 3rd page.
    Could anyone help? Thank you in advance.

    Hi,
    Create a folder for that window and set page protection.
    Regards,
    Prashant
    Message was edited by:
            Prashant Patil

  • Table footer printed in next page without upper border line

    Hi Experts
    I am faceing a problem regarding printing of smartform. I have 2 tables under one LOOP control, TABLE2 and TABLE1 respectivelity. TABLE2 display the Header data and TABLE1 displays the Item data under Main window.
    TABLE2 has no ROWs  under table Footer section. TABLE1 has footer and I want to print the TABLE1 footer according to the page size, for that I have added a Folder under TABLE1 footer section and then create the line type under that Footer, also check the Page Protection check box. I manage to print the Footer in next page according to the page size but when the Footer goes to next page for printing the upper line border of Footer section is not dislayed.
    Please give some tips or example, how to manage the Footer at print time.

    Hi,
    Yes your problem is common because of two different line types while you are selecting the pattren the
    pattern is assuming that the pattern is selected for the entire two line types.
    solutions are
    1). Use same line type for both footer and item
    2). create a window with a template and copy the same for both the pages and put a check box
        in the conditons of your window as only after end of main window.
    3). Create windows with the lines you required with the postions(but not advisible because page numbers or line items lenghts are dynamic) .
    Thanks,
    Phani.

  • How to print grandtotal in table footer only in the last page in SMARTFORMS

    Hello Experts,
    How do I print the GRANDTOTAL in the table footer only on the LAST PAGE in SMARTFORMS.
    What I have done is in the text element of CELL1 of the table footer i wrote the folowing logic but not working.
    /: IF &SFSY-PAGE& EQ &SFSY-FORMPAGES&.
    * V_SUM.
    /: ENDIF.
    I even tried this.
    /: IF &NEXT-PAGE& EQ 0.
    * V_SUM.
    /: ENDIF.
    but still it displays the grand total on all pages at table footer.
    How do i go for this experts.
    Regards,
    Ranjith N

    HI Nambiar,
    To print the grand total only on the last page then create the secondary window --> create the text node for the grand total -->In the condition tab check only after the end of the main window.
    This grand total will be displayed after all the items and end of the main window.
    Footer in the table displays as the subtotals i.e on every page total is displayed..
    Regards,
    Sravanthi

  • Subtotal in Table Footer Appears in Body on the Next Page - Smartform

    Hi experts,
    I have a subtotal row in my table footer. It works find (appears correctly for each page). But when I check the body of the table, in page 2, there is a line with the subtotal amount from page 1, appearing in line 2. Do you guys know why does this happen and how to solve it?
    Thanks,
    Sam

    Hi Sam,
    1. Can you cross check whether you have coded anything which will modify the internal table content with the subtotal value?
    2. Did you keep any condition like printing the sub total at each new value for a particular field
    (Eg: If there is a field f1 in your internal table with values a, a, a, b, b, b, d, d, d - is there any condition to print sub total when f1value changes from a to b or b to d ? )
    Regards,
    Swarna Munkoti.

  • Page Protect in RTF Template

    I have a RTF template in which I have the following defined:
    header text
    start:body
    body text 1
    for each g_group
    text table
    end g_group
    body text 2 **** Page protect this
    end body
    footer text
    I would like to do something like a page protect on the "body text 2" part
    because if the group is longer than 10 rows the "body text 2" goes over
    onto the second page and looks strange when it is split in two parts.
    Has anybody done this?
    I tried using the normal word paragraph formatting but as soon as I put in
    a break I get the following error:
    org.xml.sax.SAXException: element xdofo:start is not supported yet.
    Thanks
    Ellen

    This functionality is only supported for table cells. So you can wrap your body text in a table with a single row/column and no borders. Then you select the table and then select Table -> Table Properties from the menu bar. Select the row tab and uncheck the checkbox:
    [ ] Allow row to break across page
    That should do the trick. Let me know, if it works for you.
    Klaus

  • Main window data to be page protected in smartform

    Hello Experts,
    I want to make Main window data to be page protected.
    But page Protection check box is in Noneditable mode .
    Please let me know, how to make main window data to be page protected.
    Regards
    Mohit

    Hi,
        Try this way
        Under the Main Table node, you will find, Header, Main Area and Footer.
        Select Main Area, right click Create> Folder
        Drag the Row item inside the Folder
        Select the Folder node, for Folder node out put options, you can select Page Protection check box.
    Main Window
        Header
        Main Area
          Folder
            Row Items
        Footer
    Regards
    Bala Krishna

  • Page protection Smartforms

    Hi,
    I need to set a page protection for the delivery adress.
    The adress text node is inside the main window and inside a table. How can I now activate the page protection?
    The checkbox for page protection on the top of the text node is disabled, so I can´t check it.
    Any ideas?
    Thank you!

    Hey Vidya, I understood completely what You have ment, but the problem is... it´s not working!
    I have tried to force the next page command, but when I´m testing the form, I´m getting the error message, that Page protection is not allowed inside a table!
    So I´m sure there must be a difference between older and newer smartforms versions....
    But now, I have translated the whole table to paragraph tabulators. It´s now working with page protection. I can set it in the folders etc.
    But now I need my previous header lines of the table on each page on the top.
    I tried to do it with a variable, which has as content the old page number. If the page is changing, it´s going to print the line.
    But the page break is often during the lines of one position, so I get the header lines after the next position line on the next page....
    For example, the system detects, that the next position is not fitting on the current page. Then it´s forcing a page break. But the next position lines are printed before my header lines on the next page...
    How can I get the header lines on the top of every page during the loop about the content of a table?
    An I also need a footer line on every page to show the sum of the amount of one field for all positions shown on the current page.
    I hope You understand my problem!
    Thank You very much for Your help!
    Arne

  • Smart form page protection problem

    Hello gurus,
    I am having two line types for the header. To make them page protected, i have created a folder and put them into the folder and activated page protection check box.
    But the problem it is printing awkwardly, line types are printing in the bottom of the page, whenever page break is happening.
    if i remove page protection check box, it is printing nicely.
    Kindly let me know how to rectify this.
    Regards
    Rajesh

    Hi again,
    Actually, within the Main part of table node, grouping several rows under page-break protected folder works just fine... It is just that when one starts putting the page-break protected folders in Header part the things go awry. I don't believe the fix for that will be easy at all.
    But since your HEADER_TABLE1 does not really need a header part to achieve same layout, I'd try as follows:
    1) create page-break protected folder under Main part of HEADER_TABLE1;  add an empty column of required width for %ROW2 and drag it under folder; create a new row type to hold %TEXT9 (just one column for the whole table width and no borders) and insert it before %ROW2; disable Header and Footer part for the table; re-position the table so its aligned to data table;
    2) group the SAFETY_ITEM_ROW1 and MPO_DATA_ROW1 under page-break protected folder...
    Then, is there actually a reason the HEADER_TABLE1 is split off in a separate sort event? If it could go into DATA_TABLE1 main part, all elements could be protected together. Even if there is reason, you still should be able to move the contents of HEADER_TABLE1 to DATA_TABLE1, and control their output using flag set via code nodes in DOKNR_TOP event and footer of DATA_TABLE  and reset each time header rows have been output.
    True, you'd have to add that empty column to the table. But that inconvenience pales in comparison to having to extricate the remaining height of Main window out of Composer innards via implicit enhancement, and the pain of having to calculate output height of dynamic layout elements in form itself and doing explicit page-breaks.
    Just make sure to disable all (unnecessary) table headers and footers.
    Attached form illustrates protecting the header table and Data table separately, and I've been unable to break the layout no matter what I tried . Or did you try the folders in the Main part and did not succeed?
    cheers
    Jānis
    Message was edited by: Jānis B

  • SmartForms Page Protection

    Using SAP's flights examples just to make it easier to explain .... I have a table in Main on my smart form set up as follows:
    Header
      CARRID Event on Sort Begins
      Header Text that Says "Bookings for XYZ Airlines"
    Main Area
      2 Cells that Contain the Flight and Price
      CARRID Even on Sort Ends
    Footer (nothing here)
    My output would be similar to:
    Bookings for XYZ Airlines
    AA017   $1200.00
    AA020   $1150.00
    Bookings for ABC Airlines
    CA002   $898.00
    CA076   $650
    I want to ensure that at each new Airlines, that the Airline Header Text "Bookings for XYZ Airlines" and all of the flights and prices under it stay on the same page.  How can I achieve this?

    Hi Janice,
    Page protection always works at particular folder level. In your case, "Booking for XYZ Airlines" which is in SORT event is one folder, and each line of data in TABLE MAIN AREA is under another folder. So you have to group the heading + data into one folder to get the required result. You can achieve this as follows-
    In your main table display, loop at gt_flights into gs_flight...Set the sort attribute..
    ANd in your sort event, create a folder and set page protection for that folder. Set PAGE PROTECTION for the folder created, not for sort event.
    Then display the header text under a table line in this folder and after that crate a loop which will have "LOOP AT GT_FLIGHTS  into GS_FLIGHT1 where CARRID = GS_FLIGHT-CARRID" and crate your table line under this loop and display the data.
    Don't have any thing in your main area. This way since everthing is in a folder, page protection works.
    If this is not clear, please let me know your mail id. I can send the xml file of a sample form and you can upload and check it.  good luck
    Hari

  • Sub total in table footer

    Hello,
    I am creating an Adobe form for SD invoices.
    I have a table which contains the list of invoice items.  I want to calculate a sub total per page in the table footer.
    For example :
    PAGE 1                                                                         
    Item1   10,00 euros                                              
    Item2   10,00 euros                                             
    Item3   10,00 euros                  
    Sub total : 30,00 euros  
    PAGE 2   
    Item4  10,00 euros
    Item5  13,00 euros 
    Item6   22,00 euros
    Item7  14,00 euros
    Sub total : 59,00 euros   
    PAGE 3
    Item8   23,00 euros 
    Item9   55,00 euros
    Sub total : 78,00 euros
    How can I calculate this ?
    I have found this code on SDN but I don't know if it matches with my problem and I don't know how to use it ....Do you have an idea ?
    var fields = xfa.layout.pageContent(xfa.layout.page(this)-1, "field", 0);
    var total = 0;
    for (var i=0; i <= fields.length-1; i++) {
    if (fields.item(i).name == "PRICE") {
    total = total + fields.item(i).rawValue;
    this.rawValue = total;
    Edited by: Laure VERE on Jul 1, 2010 9:11 AM

    Hi ,
    Search for the function "sum" in formcalc in the "Adobe Livecycle Designer Help". That will solve your problem.
    It is something like
    var total = sum( TableName.RowName[*].FieldName[*])
    Thanks,
    Omkar Mirvankar.

  • REGARDING TABLE FOOTER IN SMARTFORMS

    hi
    i hav to pritn 6 items in page1 and 13 items in page2 and so on.
    but while calculating total for fields
    if pages exceed more than one i hav to fill with constant value'total' for corresponing fields in table in all pages except in last page
    in last page i hav to total all the values from page1 and so on and i hav to print in the last page in table footer.
    how to do this?
    and what code i hav to write and where i hav to write it?
    wether in code lines for text or in initialization of global definitions?

    Hi,
    Another idea is to have a structure declared in the smartform with the same type of the table being displayed.
    In the table body section in the end  you can insert program lines to add the required fields in another structure or simply some fields ( declared again in global definitions ) passing the table line data just got processed.
    Then use the footer at page break option checked and the option footer at the end of table in the events tab of the table node.
    And display the totals per page and also at the end of the table.
    Hope this solves your problem.
    Ram

  • Button in Table Footer?

    I have a htmlb:TableView with a footer.
    In the footer, I display a pager (..."Page x of X"...).
    Now I'd like to add a button and a textfield
    (..."show [___] lines per page [Update]").
    Because I have not much space on my screen left, I would like to add this to the table footer right next to the pages. Is there a way to put it there?

    I have a htmlb:TableView with a footer.
    In the footer, I display a pager (..."Page x of X"...).
    Now I'd like to add a button and a textfield
    (..."show [___] lines per page [Update]").
    Because I have not much space on my screen left, I would like to add this to the table footer right next to the pages. Is there a way to put it there?

  • Page Protection in Main window of smartform using Folder issue

    Hi Experts,
    We can fix the page protection issue of records in main window by checking the No Page Break check box at the line type level in a smartform.
    I tried to solve this issue by using the folder option. I created a folder inside the table of a main window and checked the page protection check box. Save and activated the layout. When i tried to add the table to the folder, the check box for page protection was reset to blank.
    Why does this happen? Cant we use page protection inside main window using folder ??
    Thanks

    Hi friend,
    We can do page protection functionality inside table of main window using Folders option. Follow the below steps,
    1. Assume rows are created inside table in a main window, with corresponding line types.
    2. Create a folder named PROTECT inside table, for example in Main area of table.
    3. Just drag and drop your Row(s) into folder PROTECT and simply click page protection check box of the folder PROTECT.
    4. This will help you to add the required functionality using Folders option in smartform.
    Try this and update me in case of any concerns. Hope this will solve your problem.
    Check the attachment also for your reference.
    Cheers...

Maybe you are looking for

  • Text elements in which table

    Please let me know in which table/tables text elements, selection texts of ABAP program are saved in. And is there any link wherein we can find out to which program they are associated with. Need answer urgently. Replies will be rewarded with points.

  • Is there a Shortcut for "Paste Attributes? Or a way to create it? (PPro CS5)

    Latest Mac OS Premiere Pro CS.5 I have to paste diffent attributes on like a thousand clips I need a shortcut for "Past attributes". The command that you access when you right click on a clip in the timeline. In this case I am pasting Curves and RGB

  • OS Mavericks and Aperture 3

    I've just downloaded OS Mavericks and discovered that this version of the Mac OSX does not support Aperture 3. Can anyone help me to solve this problem please? :-( I need to access my photo libraries urgently so any help to resolve this issue would b

  • 2950 spanning tree issue

    Here is the problem we are having , we have a 2950 hooked to a 6509 hybrid dist box with approx 90 vlans on it . We hook up a new 2950 and we get the following message, Dec 21 19:47:45.116: %SPANTREE_VLAN_SW-2-MAX_INSTANCE: Platform limit of 64 STP i

  • AE CC 2014 memory usage continually rises while scrubbing through timeline

    When scrubbing through the time line in AE CC 2014 ver 13.0.0.214 memory usage just increases until there is none left and everything starts to lock up. Purging does not return usage to normal. I'm on Win 7 Pro 64bit(fully updated) 32 Gig RAM i7-3970