Footer in smartforms.

Dear friends!
    I need your help. I am strugling with strenge problem in smartform. I am supposed to print item numbers in the footer of the data_table in main window. I can print some of the item numbers form the internal table,  I have 2140 item number in the result internal table and only i can print item numbers 640 of them, in simple words i cant extend my footer to occupied all the item numbers which are in my internal table. I have checked with the footers hight, line type. the result what i am receiving is :
Item at ,20,30,40,50,60,70,80,90,100,110,120,130,140,150,160,170,180,190,200,2
10,220,230,240,250,260,270,280,290,300,310,320,330,340,350,360,370,380,390,400,410 ,420,430,440,450,460,470,480,490,500,510,520,530,540,550,560,570,580,590,600,610,620,630,640 <b>VAT 15% 32, 100,                                                                                </b>    
please help me how i can accomodate all the line item numbers in the footer at the printing i have all the data in internal table, but it is partially displayed in the smartform.
Result internal table
Item at ,20,30,40,50,60,70,80,90,100,110,120,130,140,150,160,170,180,190,200,2
10,220,230,240,250,260,270,280,290,300,310,320,330,340,350,360,370,380,390,400,410 ,420,430,440,450,460,470,480,490,500,510,520,530,540,550,560,570,580,590,600,610,620,630,640,650,660,670,680,690,700,710,720,730,740,750,760,770,780,790,800,810,820,830,840,850,860,870,880,890,900,910,920,930,940,950,960,970,980,990,1000, ,1040,1050,1060,1070,1080,1090,1100,1110,1120,1130,1140,1150,1160, ,1180,1190,1200,1210,1220,1230,1240,1250,1260,1270,1280,1290,1300,1310,1320,1330,1340,1350,1360,1370,1380,1390,1400,1410,1420,1430,1440,1450,1460,1470,1480,1490,1500,1510,1520,1530,1540,1550,1560,1570,1580,1590,1600,1610,1620,1630,1640,1650,1660,1670,1680,1690,1700,1710,1720,1730,1740,1750,1760,1770,1780,1790,1800,1810,1820,1830,1840,1850,1860,1870,1880,1890,1900,1910,1920,1930,1940,1950,1960,1970,1980,1990,2000,2010,2020,2030,2040,2050,2060,2070,2080,2090,2100,2110,2120,2130,2140 <b>VAT 15% 32, 100,                                                                                </b>                                                                               
please help me.
Regards
Naeem

Hi ,
Instead of using footer in main window you can use template at the end  of main window and adjust its size accordingly . This will accomodate all of urs line items plus the main window will contain the main items .
Regards

Similar Messages

  • How to Print 15 lines in Page Footer in Smartform?

    Hi,
    I am facing a problem with smartform footer. I have to display purchase order line items in Main Area of the table. All the lines items are displaying fine. These line items are dynamicaly increase means line items may increase depends on the purchase order. So, 15 lines of the footer will display only on last page.
    Could you please help me out?
    Thanks in advance.
    Regards,
    Sarayu.

    Hi,
    Please look at the following link
    printing smartform
    Hope it helps
    Regards,
    Manish

  • Formatting error in table footer in smartform

    hi
    in the footer of table in smartform currency field vbrp-cmpre and quantity field vbrp-fkimg  are cuming with leading spaces as follows:
                        32.000 copies
    @ Rs.                       7.00=
    2.24
    this should come as :
    32 copies @ Rs. 7 = 224
    also the product of fkimg & cmpre is not coming correct.
    kindly help.Points 'll b rewarded
    thanks.
    Message was edited by:
            abapuser

    write as below
    <b>&wa1-fkimg(c)& copies @ Rs &wa1-cmpre(c)&</b>
    Please Close this thread.. when u r problem is solved
    Reward if Helpful
    Regards
    Naresh Reddy K

  • 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

  • No header, main area and footer in smartforms while creating table in 4.6c

    Hi Experts,
    Iam working in SAP 4.6c version and iam creating smartform for domestic invoice, in smartform i have created table but when expand the table its not giving the option of Header, Main Area and footer, can anyone explain how i can get the above details.. pls reply ASAP as its very important.
    Thanks in advance,
    Abhishek Pandey.

    Hi,
    I had faced a similar situation in 4.6c.
    As clearly stated, you get the Header and Footer from Events.
    The Window defined under Page, should have
    Main window checked in it's General Attributes
    I guess that should get hold of your problem.
    Cheers,
    Remi

  • Problem with table line (footer)  in smartform

    Hey guys and gals !!!
             I have got this problem with the footer line in my smartform.I have checked the <i>no pagebreak</i> option for this line but still some contents are getting truncated instead of being shown totally on one page.
    The line has two cells.The first cell has 4 text nodes and the second cell has 1 text node.
    I am able to see just the text from the 1st text nodes while the others are getting truncated.
    Please suggest a solution.Your help will be greatly appreciated.
    Kind regards,
    Greenidge Gonsalves
    SAP Technical Consultant

    Hello,
    The problem is not clearly explained.
    However, I assume that you have a footer which is NOT a part of MAIN Window and a table has been defined and only the contents of the First TEXT node is getting printed while others are getting truncated.
    If my understanding is right,
    1. It is getting truncated because the text is more than the size of the window that has been defined.
    2. I suggest you, if the contents (size) of the footer varies from output to output, then better to shift the footer to the MAIN Window so that you will see the complete text.
    I hope this helps you.
    Regards, Murugesh AS

  • In Footer text elements are spliting in smartform

    Hi,
    In smartform, I am using text elements for printing gross / net totals in the Main window -> Table -> Footer. Now problem I am facing is all the set of elements are breaking from page to page. I want it print in one page with out any page break. How should I do that. Please suggest.
    Thanks
    Ram

    Hi,
    In the footer text , in the output options tab ..there is a check box "Page protection".. Check that..
    Documentation for "Page protection"
    In some cases you may want to avoid that text is divided by a page    
    break. Therefore, you can protect text sections with a page protection.
    Thanks,
    Naren

  • 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

  • Smartforms: no page break between last line item and footer in table?

    Hello All,
    my smartform has FIRST and NEXT pages. I would like to avoid a page break between last item line of a table in MAIN window and the footer of the same table.
    Here is how it looks currently.
    Output of FIRST page, MAIN window, table ITEMS:
    1.line item
    2.line item
    3.line item
    4.line item
    page break
    output of NEXT page, MAIN window, table ITEMS:
    1.footer line
    2.footer line
    I would like that if a footer does not fit on FIRST page, it would be displayed on NEXT page with last item line.
    It should be like this:
    output of FIRST page, MAIN window, table ITEMS
    1.line item
    2.line item
    3.line item
    page break
    output of NEXT page, MAIN window, table ITEMS
    4.line item
    1.footer line
    2.footer line
    Any ideas?
    Thanks and best regards,
    Mindaugas

    Do you mean line item text or your want to print footer text?
    If your trying yo display some footer text, then you either place a footer window or you can create a table inside your main window and place text under the footer of the table, then it will display the text without any page break.
    If it is item tem.
    Then you need to build additional logic. As we cannot guess, the total number of item text upfront.
    Example: if page1 can hold 15 line items, check whether your header and item can fit in page one else call a new page by placing a condition FLAG = "X".
    I hope it will help you to solve your problem.
    Regards,
    SaiRam

  • Regarding TABLE node -- Footer Area in smartform

    Hi Friends,
    This is regarding smartform.
    I have created TABLE node in MAIN window. As long as data exists in internal table my smartform is working fine. I mean it is displaying all the items and followed by TABLE FOOTER text.
    Assume if no data exists in the internal table. In that case the TABLE FOOTER text is moving up. But I need at least 10 line space in that table MAIN Area. I mean even thogh the data is not there in the internal table.. It should display some space and then TABLE FOOTER text should be displayed.
    Can any body tell me is there any way the TABLE FOOTER can fix irrespective of the data?
    This is very urgent. Thanks in advance.
    Regards
    Raghu

    For that, you can create one additional window such that it overlaps with the main window.
    The size of this window should be exactly equal to the size of the main window, excluding footer. That means footer should come just after this window.
    If there are no data to be displayed in the main window, then this empty window will be displayed.
    In effect, some blank lines will be shown.
    Just try this and check whether it suffice your requirement...
    Jissa.

  • Problem with printing footer of table in Smartforms

    Hi Gurus!
    I have created a table in a window in Smartforms. I need to put in the totals at the footer of the table, displaying these values only at the end of the page. The problem I have encountered is that the footer prints immediately after the line of the main area. The form i'm printing right now is pre-printed, so I need to write the footer at a specified area.
    Let's say my table accommodates 20 lines. The footer must be written immediately after the 20th line. If, on the last page, there are only 10 lines, the footer must still print on the area after the 20th line.
    Really need your help guys, i'm hoping for a quick response. Thanks!

    I need to put both the main area and the footer in the same loop because there is a field where, when changed, it must page-break. The fields/values in the main area and the footer are all part of a sub-table that depends on a field of a bigger table.
    my smartform looks like this:
    Loop at header table.
       if order number changes, start new page.
       loop at table x.
           main area - print items of the table where order_number = header_table-order_number.
           footer - print totals of the table where order_number = header_table-order_number.
    Endloop
    So you see, i need to place the footer inside the loop also. It's the only way I know to work around this.
    Thanks.

  • 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

  • Footer at the bottom of the page in Smartforms

    Hi All,
    I need to print some Sales data and then a hard coded paragraph at the end of last page of the print out n Smartform.
    Now the problem is:
    1. If I put that paragraph in the footer then it prints as soon as the data ends in main window and not at the bottom of the page. Eg : If the data ends at the 5 line of the second page then the paragraph is printed immediately after that and not at the bottom.
    2. If I put it in another window and give the option only after end of main window then except the last page that space for that window is empty and if I try to overlap main window then even on the last page if the data is till end of that page main window data gets overlapped on the hardcoded paragraph.
    Please help me on the issue.
    Thanks,
    Sameer
    Edited by: sameer_rk022 on Mar 31, 2011 10:04 AM

    Hi,
    Solution: The issue faced after overlapping the main window with footer window can be achieved by creating a folder within the main window and using the events to check whether there is enough space to print the footer.
    Following are the steps.
    Step 1:  Create a Secondary window say “Footer” which would be the footer window. Overlap the main window on the footer window as shown below.   
    The footer window will be behind the main window
    Step 2:  Create a folder within the main window say “Check_Footer”.
    Go to Tab “Events”, select the checkbox “Footer with Height” and give the required height of the footer. Select the checkbox “at End of Table”. Specify the “Minimum height” as required.
    Now, go to “Conditions” tab and select the checkbox “Only before end of main window”.   
    This is basically done to check whether there is enough space to print the footer on that page. The Footer window would then print the output.
    Step 3: Go to the created “Footer” window .Under the Conditions tab, select the checkbox “Only after end of main window”. Create a  text/tamplate/window whatever you want to display at bottom or footer data.
    Step 4: Save & Activate the Smartform and check the output.
    regards
    Rohit

  • In Smartform How to display footer & some secndry window after Main window?

    Hi,
    My requirement in Smartform is to display footer and and secondary window  after the Main window.
    also if item goes to 2nd & 3rd Page then also after main window footer and some secondary window should appear.
    Do i have to maintain footer and sec. window in Main Window itself
    Plz tell me in detail.
    Regards
    Vivek

    Hi Vivek,
    In smartform, specific legth is allocated to each window, that you create for a page.
    So, if you want to display secondary window on each page, create 1 secondary window with the required length and it will be displayed on each page.
    And you have written that you want to display the footer of main window also on all pages. It won't happen when you display your footer in main window. you will have to create a new window for your footer as well. Main window footer will always get displayed at the end of the main window.
    e.g. If your main window flows on second page, main window footer will be displayed on second page only.
    I hope this helps.
    Thanks,
    Archana

  • Smartform Main window and Footer Overlap Issue

    Hi,
    I have a problem in printing my invoice smartform.
    I have to print the footer at the bottom of the main window. If the line items flow to the next page the footer should be printed only on the last page.
    I have overlapped the main window and footer windows in first and next page so that the footer window space in the main window is not left empty when there are more than one pages
    The problem is sometimes the main window is overlapping into the footer window space.
    Can someone suggest a solution for this.
    Thanks,
    Viswas

    Hi,
    Solution: The issue faced after overlapping the main window with footer window can be achieved by creating a folder within the main window and using the events to check whether there is enough space to print the footer.
    Following are the steps.
    Step 1:  Create a Secondary window say “Footer” which would be the footer window. Overlap the main window on the footer window as shown below.   
    The footer window will be behind the main window
    Step 2:  Create a folder within the main window say “Check_Footer”.
    Go to Tab “Events”, select the checkbox “Footer with Height” and give the required height of the footer. Select the checkbox “at End of Table”. Specify the “Minimum height” as required.
    Now, go to “Conditions” tab and select the checkbox “Only before end of main window”.   
    This is basically done to check whether there is enough space to print the footer on that page. The Footer window would then print the output.
    Step 3: Go to the created “Footer” window .Under the Conditions tab, select the checkbox “Only after end of main window”. Create a  text/tamplate/window whatever you want to display at bottom or footer data.
    Step 4: Save & Activate the Smartform and check the output.
    regards
    Rohit

Maybe you are looking for

  • How do I make a symbol from selection?

    I've got the below script, but it's not working. I'm trying to select all the art in the document on different layers, and create a symbol. So far I have the first part down, but can't figure out how to reference what is selected. actDoc.selection co

  • Pixelated video mirroring from Macbook Air (X10.8.5), but not from my iPod i0S7

    I don't understand it. when I mirror anything from the macbook, the output on the Apple TV is pixelated, as if very low resolution. E.g., streaming Amazon. I streamed the same content from my iPod and the output on the Apple TV was perfect. This is a

  • Mail + Exchange 2007 + Move message doesn't work

    I have my Apple mail program setup to use my work Exchange account and for the most part it works great. However, when I try to move mail from my Inbox to a subfolder, it fails. I've tried dragging the mail to the folder and I've tried going through

  • Finder Column Resizing Issue

    I've noticed that now, in Column view in Finder, if you resize a column to a larger size for example, and then click on a Folder, the next column will be the same size as the previous column that was made wider. However, most of the time, it is just

  • ADVANCED QUEUE: USING JDBC CONNECTION -

    Advanced Queue using the JDBC connection gives us AN ERROR WHEN SENDING 32K QUEUES Is it true that RAW datatypes using the Java AQ API do indeed have a limit of 32K in 8.1.6. The workaround is to use the Java AQ API with Object payloads (BLOBs) to ge