Footer of the Table in Main Window in Smartforms

Hi,
I have a smartform. In that I have declared a main window. And I want the Footer to appear on each page. So, I have checked both the check boxes in the Footer Event of the Table in Main Window.
1. At page Break
2. At end of table.
But it is comming only on the first and last page.
If I check only 1, it is printing on the first page only.
If I check only 2. it is printing on the last page only.
I want it to be printed on all the pages.
Help needed.
Thanks in advance.
Ishaq.

Hi
Instead of using the Main window for footer
Why can't you declare a separate constant window separately apart from MAIN window and use for the footer to print in all pages.
create another window and write all your data in that and see
Since MAIN window overflows as the data grows constantly it is coming only on the first and last pages.
So to appear that on each page a fresh window is useful
Reward points for useful Answers
Regards
Anji

Similar Messages

  • Print Invoice Header Text In Main Window of Smartforms

    Helo Gurus !!!
    I want to print Invoice header text in main window of smartform.
    There are total 5 columns.
    Item    Quantity          Description          UnitPrice       Amount
    Now what I want is to print header text below Description column, there is a loop on the table in main window.
    This header text will be printed only once. This is a standard header text
    How to get this?
    Points are assured !!!

    Hi Anay Kulkarni,
           I understood that u need to print this header text
    Item Quantity Description UnitPrice Amount
    So please use TABLE instead of LOOP  in the table we can prin header, main area, footer.
    place the header text in header area in table...  i am sure this can resolve it.....
    feel free to contact me if issue is not resolved/.....
    dont forget to reward points....
    all the best...
    Regards,
    Sreeniasa Sarma K.

  • How to limit the size of main window height according to the line items?

    Hi,
    In my requirement,I created one page with main window in smartforms....Suppose say main window can accomodate 40 line items.
    I am getting 5 pages data.And in my last page ( ie 5'th page ) I will have only 20 line items.But for the remaing 20 line items,
    it showing empty area .I dont want this empty area .I want that window size to be restricted dynamically to that 20 line items.I created widow with borders and one vertical line between the columns.....I created two columns.
    Please I dont want any horizontal lines between the line items but I created one vertical line between the columns..
    This is in Smartforms
    Any right help would be appreciated.
    Thanks,
    Chinnu

    Hi Abhijit,
                    This problem is solved but I have the below another new problem.Can you pls help me in this regard.
                My requirement is to calculate the subtotal of a particular page and to print that subtotal
                at the end of each page.And this subtotal has to be carry forwarded as the first item of the next page(say page2).
                And again  at the end of this page(page2) I have to print the subtotal and needs to carry forward this subtotal again on to
                the first item of the page3..
               My problem is I am doing it in a table.I am calculating the subtotal and displaying the subtotal at the footer of the table..
               In the footer again I am redefining table work area values with the text 'Subtotal' and subtotal Amount so that thinking
               that it would print as first line item on the next new page....
              But the problem is I am getting subtotal as 2'nd line item on each new page instead of first line item of each page.........
              Can anyone resolve this issue.........
              I dont want this subtotal to be printed on the last page since I am getting Total of all these subtotals.....
              Below is my required structure
    Page 1.
                    Desc                               Amount
                    x                                      100
                    y                                      200
                   Subtotal                            300
    Page2.(Required page2)
                 Desc                               Amount                                
                    a                                      100
                    b                                      200
                   Subtotal                            600
    Page2.(But getting as below,which I dont require )
                    Desc                               Amount
                     a                                     100
                   Subtotal                            300
                     b                                      200
                   Subtotal                            600
    Page3.(Required page3)( I dont require Subtotal here on the last page)
                 Desc                               Amount                                
                    a                                      100
                    b                                      200
                   Total                                 900
    Any suggestions pls
    This is in Smartform
    Thanks,
    Chinnu

  • Need to print horizontal line at the end of main window in each page.

    Hi,
    I am printing a smartform with main window having 10 lines in footer. The problem I am facing is when the content extends upto two or more pages, I am not getting the horizontal line at the base of main window. For last page it is fine as it contains footer.
    Please suggest how to proceed.
    Thanks,
    RKU

    Hi,
    If you don't have any frame set on your main window:
    Go to output options and mark frames, and then go to details and uncheck checkboxes for above, laft and right, leving only below marked.
    This will give you a line in the bottom of you main window.
    If you dont' want to do this on the main window, can you create a new window placed at the bottom of the page and use this framing technic on that window. But in that case don't forget to mark the "always draw box and shading" checkbox. as this window contains no values, the will not get printed unless  you mark this checkbox.
    Regards
    Åsa Thenstedt

  • Table in main window with page break in smartforms

    I want to print data with heading and items in tabuler form (grid form) using table with PAGE PROTECTION in main window in smartform.
    if you would say staight way to use Table or Template under FOLDER with page protection, will not work.
    So, it is little bit tricky. So,if any body have a proper solution please help.
    Thanks and regards,
    Vijay Kr. Gupta

    Hello,
    Include the Text ELEMENT U have used to draw the table in the loop of the main window.
    Vasanth

  • Footer in the table control?

    hi,
    How do i display the footer in the table control (which allows me to browse the table page by page)?
    rgds,
    ram

    Hi,
    see the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/b5/ac884118aa1709e10000000a155106/frameset.htm">documentation</a> and note that you can decide on paginators or scrollbars.
    Regards, Heidi

  • How to display the same content in the two different main windows?

    Hi experts,
    How to display the same content in the two different main windows?
    Thanks in advance.
    sarath

    Hi
    Sorry but you can't have two main windows in sapscripts.
    Regards
    Gregory

  • What is the use of MAIN WINDOW in SCRIPTS

    what is the use of MAIN WINDOW in SCRIPTS, y we con't create a script w/o main window.
    Title was edited by:
            Alvaro Tejada Galindo

    Hi
    See this
    What are the different types of windows in SAP Scripts?
    Windows are defined in the Layout sets which define the position and the text to displayed.
    The different types of windows are:
    MAIN - Main Window
    The main window is a continous window which can extend over several pages. If the text in the main window fills up a page, a new page is created.
    Only one main window can be defined in the SAP Script whereas upto 100 instances of main window can be created in a page.
    VAR - Variable Window
    This window can have the variable contents displayed on them. The contents of the window cannot exceed the window size. The content can be formatted for each page.
    CONST - Constant Window
    The constant window can have a fixed content and is formatted only once.
    Main Windows (MAIN)
    Each form must have one window of type MAIN. Such a window is called the main window of the form. For SAPscript forms, the main window has a central meaning:
    • It controls the page break.
    • It contains the text body that may cover several pages.
    • It allows to fix text elements at the upper and lower margins of the allocated page window (for example, for column headings).
    As soon as a window of type MAIN is full, SAPscript automatically triggers a page break and continues to output the remaining text in the main window of the subsequent page. Page windows of type MAIN have the same width throughout the form. The SAPscript composer thus avoids reformatting of the text after each page break.
    Variable Windows (VAR)
    The contents of variable windows is processed again for each page, on which the window appears. The system outputs only as much text as fits into the window. Text exceeding the window size is truncated; the system does not trigger a page break. Unlike constant windows, the page windows declared as variable windows may have different sizes on different form pages.
    Constant Windows (CONST)
    Starting with Release 4.0, the system internally processes windows of type CONST similar to windows of type VAR. Therefore, if you create a new window, always use type VAR.
    <b><REMOVED BY MODERATOR></b>
    Anji
    Message was edited by:
            Alvaro Tejada Galindo

  • What exactly is the diff between main window and variable window

    what exactly is the diff between main window and variable window in SAP script?

    hi,
    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 have 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.
    VARIABLE WINDOW :- The contents of variable windows is processed again for each page, on which the window appears. The system outputs only as much text as fits into the window. Text exceeding the window size is truncated; the system does not trigger a page break. Unlike constant windows, the page windows declared as variable windows may have different sizes on different form pages.
    As far as the processing of the window contents is concerned, the system currently treats constant and variable windows alike. The only difference is that constant windows have the same size throughout the form.
    hope this will be useful.
    If useful then reward points.
    with regards,
    Syed

  • SAP Script: Printing the signature on main window at the end

    Hi,
    I am working on a SAP Script (Benefits enrollment form HR_BEN_ENRO).  I copied the HR_BEN_ENRO into ZHR_BEN_ENRO and making the necessary changes without modifying the driver program.
    The problem I am facing is as follows:
    In the main window there are so many Text elements.  At the end of the main window, after the last text element, I have put some text using Include statement.  The last text element is getting triggered for some employees and hence the text underneeth that is printing, but for some employees the last element is not triggering and hence nothing is printing underneeth that.
    Is there any solution to print the this text at the end of main window after printing all the remaining information.
    I also tried using BOTTOM & ENDBOTTOM. But in this case I don't know how to check that I am in last page of the main window.  I tried the following way:
    /: BOTTOM
    /: IF &PAGE& = SAPSCRIPT-FORMPAGES&
    SIGNATURE:__________   Date:__________
    /: ENDIF
    /: ENDBOTTOM
    In this case the value I am getting for &SAPSCRIPT-FORMPAGES& is 0 (zero).
    Any solution..please.
    Appreciate.

    How to link the ZHR_BEN_ENROL instead of HR_BEN_ENRO?
    I mean when I execute the TCODE: HRBEN0001 and select particular employee and click on Print form under Offer Selection area. Then standard program calls HR_BEN_ENRO. How to replace it with Zform?
    Thanks in advance.
    Regards,
    Krishna

  • Printing In Main Window in Smartform After All Line Items

    Hi All.
    I have this requirement wherein I have to Print Export Charges in main window , below all the line items.
    There is a loop on line item tables and I am printing all line items in the main window.
    How to print this export charges after all the line items?
    Points are assured !!!!

    Hi,
    Create two row line in the main area of the table. First one for line items and the next for the export charges.
    Hope this ll help u.
    (Sorry, this ll print export charges after every line items, try to print the export charges in the footer of the table.)
    Regards,
    Prabhu
    Edited by: Prabhuraj Krishnan on Apr 15, 2008 11:05 AM

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

  • Porblem in displaying the data in main window and footer in sapscript

    Hi Friends,
    I have created a 2 pages with a main window and 6 footer windows for purchase requistion printout. My requirement is footer windows should only be displayed at the last page. If i bring the footer window at the last page there is blank space in all pages after the main window since the main window size is smaill, if i increase the main window size it is overlaping footer windows at the last  page.
       I want the main window shouldbe big and footer should be displayed at the last page.
       please hellp me to solve this.
    Thanks
    Gayathri S

    If you want to position footer texts right after the last line of the MAIN data (thus, anywhere in the page), you define them as text nodes inside the MAIN window, and you use a template node if you wan't to position them precisely.
    If you want to position footer texts relatively to the page edges (and not relatively to the MAIN), do like this (as my previous answer is wrong):
    - define your footer windows in the same page of the MAIN, select condition "Only after main window" (so that the windows will be printed on the page of the last line of the MAIN data.
    - If the footer windows span over the MAIN window (because you want to maximize MAIN window height on all pages except last where you put the footer, as it was the case for Gayathri), you must add a template node inside the MAIN window, as the last element. Its height must be equal to the part of MAIN that is overriden by the footer windows, so that a new page is triggered automatically if there is no sufficient space and the footer windows will be printed on next page, and if there is enough space, the footer windows will be printed at the bottom of current page.

  • Problem with 2 tables nodes in MAIN window in smartforms...

    Hello Experts,
    I have created 2 table nodes in my MAIN window to display data coming from different internal tables.
    Now, the problem is that whenever the 1st table node page breaks, the 2nd table node gets affected
    and it also page breaks. What I want is that the 2nd table must finish displaying certain number of records
    before the page break of the 1st table node takes effect.
    For example, I want to display 10 records for both table nodes 1 and 2. So I created an event in
    table node 1 that if it is 10 records or more, then it will go to the next page. So in effect, my table
    2 node did not print any records at all in the 1st page and it only started printing its first record in page 2.
    How do I print 10 records also in table node 2 before it page breaks?

    Hi,
    It's simple,
    Pre- U should had declared a second page for the same window with header, main & footer.
    now
    First when u r looping the internal table provide no of rows eg Row 1 TO 10. in the Loop ( Data Tab)
    or
    when defing TEXT Go to PC Editor and mention all the fields Under  PROTECT -  ENDPROTECT.
    This would solve the issue.
    Thanks
    Ravi

  • 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

Maybe you are looking for

  • [SOLVED] Can't connect to server in Nemo

    On a new Arch installation, when I try to connect to a server through the menu in Nemo file-manager, it gives me the error: "Can't load the supported server method list. Please check your gvfs installation." [USER@HOST ~]$ pacman -Qs gvfs local/gvfs

  • Not able to have images display full size?

    Hi, I'm having an issue with images in safari. When I browse photo galleries which have links to images in their full size (larger than the browser window) it always displays them scaled down. I used to be able to set it so that they would automatica

  • Need US reports for 1099 and 1042S

    Hi, Can you provide any documentation on 1099 and 1042S reporting in SAP? Any existing reports available in SAP. Please guide me Thanks in advance Vishnu

  • Webform Page dropdown box search functionality

    All,      We are on Planning 11.1.2.2.303. Since we have a page dimension with over 1000 members (and the member names are a name followed by 19 numbers in length), the business owner really likes the "Like" search of the page dropdown in the webform

  • IPhone 3G  uses Smaller Battery / Question

    According to this tear down: http://live.ifixit.com/Guide/First-Look/iPhone3G The battery is actually lower in capacity than of the original iPhone. My question is: Would it be possible to replace the included Battery with a larger size?