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

Similar Messages

  • TABLE IN MAIN WINDOW APPEARS ONLY IN 1 PAGE NOT OTHER!!

    FRIENDS I HAVE MODIFIED PM_COMMON STANDARD PROGRAM INTO ZPM_COMMON...TCODE IW3D.THE LAYOUT WHICH I HAVE CREATED IS TOTALLY DIFFERENT FROM PM_COMMON..I HAVE COMMENTED ALL THE CODING IN MAIN.EXCEPT FOR OPERATION NO AND DESCRIPTION...WHICH I WANT TO INSERT IN THE TABLE.NOW PROBLEM IS THAT I HAVE CREATED A TABLE.BUT THE TABLE IS ONLY SEEN IN 1 PAGE WHEN I PRESS PAGE DOWN THE TABLE DOESNT APPEAR....WHT DO I DO ...SO AS 2 I CAN VIEW THE TABLE ON ALL THE PAGES....BY PRESSING THE DOWN PAGE...
    PLEASE HELP URGENT.....
    REGARDS ESSAM([email protected])

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

  • 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

  • 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

  • Problem with sap script table in main window

    hi all,
    i have created a sap script  for which output is in 7 pages.
    except first page all the remaining pages are giving the correct output.
    the problem with the first page is iam not not getting vertical lines in the table which is in the main window of page 1.
    iam getting the vertical lines correctly in the mainwindow table of all the remaining pages.

    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

  • SmartForm: Number of copy in main window

    Hi.
    I have got a problem.
    I like display the number of copy (Original, Copy One, Copy Two... etc), in main window.
    I only can control this in a "copy window", and I change the valor of a variable (l_number = sfsy-copycount).
    BUT the valor of this variable in the main window is always the numbers of copys, not the number of the actual copy.
    How can control in a MAIN WINDOW the number of the actual copy?
    Thanks very much!

    Hi
    Each copy is a different print because you need to print a different descriptions, so you can't manage it by inserting a number of a copies you want to print in the dialog. This parameter indicates how many time the <u>SAME PRINT</u> has to be printed.
    If you need to print several copy and write a different description for each copy I believe you should run your smartform for N times, where N is the number of copies.
    DO COPIES TIMES.
       CALL FUNCTION <SMARTFORM>
           EXPORTING
             COPY         = SY-INDEX
    ENDDO.
    So in your smartform you can check the parameter COPY and print the description in according to its value.
    Max

  • Two loops in a table in main window

    Hi all,
    I have a main window and under it I have created a table with header main window and footer for 6 fields with 6 cells and 6 texts, each text under each cell.
    I want to run a loop for first 3 fields and another loop for the other fields.
    I mean the table should be partitioned as 3 and 3 fields.
    The first 3 fields say Item, description and Debit in one part and the other part  date, credit and particulars
    I want to run two loops to run calculate the debits and credits?
    Now my point is how to partition the table into two?
    Do I have to create two tables and take 3 in one and the other 3 in the second table?
    If I create 2tables then how to calculate the second part fields data ?
    I mean how to get the data or show the data in the right side of the table?
    Please answer
    Thx

    Hi
    Create two loops in the main window and in first loop display only three fields and in second loop display remaining three fields but border of the cells need to change to white color so that it will not display the black color lines in the main window.
    One variable to calculate sum of first loop and display sum at the bottom the main window and another variable to calculate sum of second loop and display sum at the bottom..
    Regards
    Srilaxmi
    Regards
    Srilaxmi

  • SAP Script need to display main window two times on single page.

    Hello Guru's,
    So here is my requirement, we need to print check. We are using F110_PRENUM_CHCK and linked with driver prog RFFOUS_C. We have Letter size paper with three sections,
    1. Check
    2. Voucher Section (containing table of element 515, 525 and 530) 515: Heading, 525 : Regup-Belnr, Regup-XBLNR, Regud-Wrbtr.
                                                                                    530: Regup-SGTXT
    3. Voucher Section (As a receipt for bank itself) : contains same data as 2nd section.
    I tried several things reading all the previous post over here in SDN.
    1. Created Z form created two instances of main window it results just single display of table (voucher section) in section two and not in third.
    2. I also tried pasting two times same code in single main window which gives only last item line for the table.
    3. Created z driver program made changes in Write_form added control form for element 515 that does results in showing element 515 on both the location.
                CALL FUNCTION 'CONTROL_FORM'
                  EXPORTING
                    command   = 'NEW-WINDOW'
                  EXCEPTIONS
                    unopened  = 1
                    unstarted = 2
                    OTHERS    = 3.
                CALL FUNCTION 'WRITE_FORM'
                  EXPORTING
                    element = '515'
                  EXCEPTIONS
                    window  = 1
                    element = 2.
    3. For Element 525 and element 530 is not acting same. In the prog 525 = hlp_ep_element. And there are many write_form for this. I tried pasting each and every place same kind of code. It doesnt work. what it do it gives me three pages of output repeating every thing twice and weirdly.
    I am need this to be done as I already took so much time solving nothing is working.
    Please give me the exact location where to paste this code so I can have two times data of main window.
    Or is there any other way to do this....Any way will be good for me as long as it shows two times data in the form.
    The data is table.

    Hi Manju,
    I create a new window (no main) but does not run, please can you tell me what should I do to make it work.
    Best regards.
    Robert.

  • Increase main window size in the second page

    Dear Experts,
    In my first page i have the main window, i want to increase the size of main window in the secon page. how?

    Hi Venkey,
    When you have two or more pages in a smartform it is necessary that each page should have it's main window. But one important thing is that all the main windows of all the pages should be of same width and height. You cannot have different measures for each of the main window. If you do so you will end up in run time error.
    In second page, add window and make it as main window. Make sure that width and height is same as main window   of first page. Next add another window and make it as secondary window. Later add any components like templates, texts etc to this secondary window. Otherwise they will not be shown up during print or print preview.
    Let me know if you have any further issues.
    Thanks,
    Rajesh

  • HOW can I get my iTunes Libray MAIN WINDOW to show in LIST form (like before). NOW only shows an IMAGE GRID. HATE it. HELP please! THANKS!!

    For the last 2 (maybe 3) updates iTunes has been showing my MUSIC LIBARY in a GRID of IMAGES with small caption below each image (usually an empty grey box, but occasionally tje front cover of album). It is a BIG waste of time to look at, go through and find any of my many hundreds of items.
    I want / NEED "LIST VIEW" (or whatever it is called) back.
    I have looked in SUPPORT / iTunes HELP / Preferences / ALL my menus - for ANY info on getting my LIST VIEW back.
    Somebody PLEASE share with me HOW to get a LIST VIEW in the iTunes MAIN WINDOW (NOT the sidebar ...which is in a nice LIST foerm still thank God).
    Going out of my mind on this one - and wasting LOTS of time, going through it.
    Sure it's ALPHABETICAL (in an arbitrary fashion), but do they REALLY expect me to "REMEMBER" - or already know my choice - of what I am" looking for"?? Come on! I open iTunes, SEARCH through my (where'd it GO?) list and choose something that feels right for the moment. Most people do.
    This IMAGE GRID just throws unnecessary obstruction into the experience and takes massive amounts of time to arrive at a selection (especially if it is not one of my first 40 albums (less than 10% of my libary). I want it gone - and a simple LIST VIEW back. ANY help VASTLY appreciated.

  • Safari main window not showing up in my user account when launched

    Safari main window is not showing up when launched in my user account.
    For some unknown reason, there must be a bug with Space and Safari as when I switch from Space 1 to Space 2 (and vice versa) I can see the Safari main window for less than 1 sec but could not fix it to show up and stay in the foreground in any of the 4 Spaces areas.
    I have tried to desactivate Space or change some settings in Space but could not fix the issue.
    Last but not least, Safari is working well for all other user accounts on my Mac.
    I have updgraded my OS to 10.5.7 and Safari v4 last patch but I have the same issue for 1 month

    HI and Welcome to Apple Discussions...
    Try deleting this file. com.apple.safari.plist
    /Users/YourName/Libary/Preferences. Drag that file from the Preferences folder to the Trash, empty the Trash and restart your Mac. See if that helps...
    Carolyn

  • Framemaker 11, Windows 7, scrolling to next page with touchpad

    Greetings.
    Not sure this question belongs here.  If it belongs elswhere please let me know.
    When I try to select a bulleted list that continues onto the next page my selection automatically leaps forward far beyond where I want it to stop (like the end of the document sometimes).
    I've tweaked every Windows 7 touchpad and mouse parm I can find to no avail.
    I've Googled this with no luck - lots of hits all of which address slowing down the mouse but only a few address the touchpad but still met with no success.
    Anyone have ideas? 
    Again.  If this is in the wrong forum please let me know.
    Thanks,
    Jerry

    Jerry,
        I don't understand what you are seeing. Is the problem that you try to select something and wind up with a much larger selection than intended? If so, the behavior could indeed involve your touchpad. However, since you've written to the structured FM forum, I suspect your document is structured. In this case, you might simply be seeing the way selections work in structured documents.
       In particular, FM automatically "heats" (expands) a selection that includes one boundary of an element to include the entire element. For example, if you turn on the View Element Boundaries option and drag over one of the resulting square brackets, FM selects that entire element. (Note that it is possible to select the beginning of an element's content without selecting all the content or the element itself.)
       The reason for this behavior is that anything that can be selected can be deleted, and it doesn't make sense to delete one boundary without the other. As another example, suppose you have a Title element followed by a Paragraph. If you click in the middle of the Title and shift-click in the middle of the Paragraph, the selection heads to include the entirety of both elements. Without this expansion, it would be possible to delete the end of the Title and the beginning of the Paragraph leaving both elements malformed. If one of the elements is large, for example, a Section or List that spans numerous pages, you can unexpectedly select a large portion of the document.
      In XML terms, if you select a start- or end-tag, FM selects the entire element. Thus, FM structured documents are always well-formed.
        --Lynne

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

  • Color Picker (Color Window) only shows "Crayons" in Pages...

    Greetings, In Pages '09, the color picker is now only showing the "Crayon" color picker. Earlier today, it let me choose Color Wheel, RGB, CMYK, and other pickers. It does not even show any of these other options in Pages! These other pickers are still available in Keynote. I have tried deleting and reinstalling iWork, and still just have the Crayons in Pages. I have tried deleting "com.apple.iWork09.plist" and I still just have the Crayons, with no option to choose any other color picker. Am I doing something wrong? Where are the other pickers? How do I get them back?
    Thanks in advance,
    --Mark

    I have tried deleting "com.apple.iWork09.plist" and I still just have the Crayons, with no option to choose any other color picker.
    You may have picked the wrong preference list because you made the wrong assumption. In your post you are making the assumption that the Colour Picker is part of Apple iWork.
    If instead you were to assume that the Colour Picker is part of the operating system then you would want to try deleting NSColorPanelSwatches.plist.
    Internally, the Colour Picker is a client of ColorSync and the swatches, if memory serves, are represented as ICC NMCL Named Colour profiles.
    /hh

  • Question about main window in smartform

    Hi, i have three different pages, i know that i can have only one main window.
    But the data in the main window  will be different for each page.
    I copy the main window in the three pages.
    But when i try to write abap code in the main window copy ( page 3 )
    The smartform refresh the abap code in the page 1 and page 2.
    So the 3 pages have the same code.
    I want to have different abap code in each page ( in the main window copie for each page). Because i have three internal tables one table for each page.
    Thanks
    Reward Points

    hi,
    I believe u dont need to copy the main window. just create a next page and provide the 2nd internal table fields in next page. and same as 3rd page.
    or
    create 2nd page and create other windows not a copy of main window and provide the correspoding fields to those windows..
    Regards
    Syed A

Maybe you are looking for

  • Mixing Timeline Sequence Settings

    Hey all, I have this sitcom that I've filmed. Episodes 1-4 are shot with a Sony HDRFX7. And then for Episode 5 (finale) we filmed it with a different camera. JVC HD something. Problem is, our opening title theme song clip is made up of clips from epi

  • Break signal to x2100

    Have a x2100 and need to send a break to it via tip from another host. Network Management is not configured unforuntately. ~# does not work. Thanks! Steve

  • I can't get FaceTime to work since maverick update

    I can't get facetime to work since Maverick update just won't go past sing in and sometimes won't sing in ! Anyone got an answer please?

  • I can't get into my Ipad. I forgot the 4 digit. How can I reset that 4 digit code.

    I finally replaced my broken digitizer after about 8 months. I charged it up, turned it on and bam, I get the passcode thing. I tried every code I could think of and can't get in. So what do I do now? How do I reset that passcode?

  • Conexant High Definition Audio Drive

    There is no Stereo Mix in the recording. I have already went through Show DISABLED devices.. there is still nothing, all i am seeing is microphone.. help pleaseee!!