Smartform table probelm

hi ,
i have designed a layout and did a coding in driver program,but problem is when i fetch docno which contins line items of 68 .
in page 1:
Item  Pk    Account   Account Short Text   Assignment      Amount Rs.  Cost Center Line Item Text
001    40   402202    Salaries              20080531                                100BIOTCCO  Basic Pay May 08
                                                                                192,100.00
013    40   402202    Salaries              20080531                               100INTELOG  Basic Pay May 08
                                                                                60,700.00
014    40   402202    Salaries              20080531                                100INTEMKT  Basic Pay May 08
end of page 1.
page 2:
Item  Pk    Account   Account Short Text   Assignment      Amount Rs.  Cost Center Line Item Text
                                                                                135,000.00
see above my amount is not in same line of items,
and in page1 the 14th entry half of the line is displaying in page 1 and reaminig(amount line) is displaying in second page.
and also it is not showing total no of pages ,here it is showing  Pages:1 of *.
can any body help me..

Hi,
  Please check the below points for coming the whole item in a single line.
1. check the the column lengths and adjust as large width for amount type fields .Increase the table width.
2. Check the textelement corresponding to the amount field (which displaying in next line)  'output options'  tab . there select as new cell instead of new line. then it will contiue on the same line of the item. There page protection check box also there. if u want then check for not spliting the item into 2 lines.
Please drag and drop the field&SFSY-FORMPAGES& from system fields . then value will display.
Thanks,
Suma.

Similar Messages

  • In smartform table data is repeating

    in smartform table, data is repeating and filling the page...
    actual data is only 3 rows...
    but it repeats and fills the page...how can i stop this...

    Hi Rajkamal
    You can easily debug the smartform; try hardcoding the break-point for your user ID.  (Break <ID>)
    Please check the number of entries in your table.
    If the number of entries are correct it can be only some loop in smartform - happy hunting !!
    Neer

  • Dynamic color in cell of an SmartForm Table

    Hi Experts,
    How can i assign a color for a text in a cell (shading) in a smartform table?? Color depends of the data in smartform.
    Thanx

    I don't think we can do it dynamically.
    So, may be you have to create as many texts as you have colors conditions and assign relevent condition to each text.
    Regards,
    Naimesh Patel

  • Problem in Smartforms table printing

    Hi Friends
    I have a weird problem with printing the smartforms table.
    The problem is as follows.
    Suppose there are 10 rows (entries/records) in the table and the page can accomodate only first 5 rows, it automatically overflows into the next page. Now typically the table should print the next 5 entries. But, instead, only the 6th row is printed and the rest 4 rows are not printed.
    Please advice.
    Thanks
    sam.

    This is due to some technical reason in the ABAP. If you are passing the sorted table, you have to declare it as already sorted.
    please read this
    If in the form interface a tables was passed that was sorted before by the application, and it is now processed in the loop of a data node, you must again list the sort fields explicitly and, in addition, mark the checkbox "already sorted".
    Due to technical reasons in ABAP, it is not possible to automtically pass the sort fields.

  • How to display smartforms table lines useing different background colour

    Hi all:
    How to display smartforms table lines useing different background colour .
    for example:
    line1:green
    line2:red
    line3:green
    line4:red
    line5:green
    line6:red
    line7:green
    line8:red
    Any help is highly appreciated!!
    启明星

    Hi,
    Create a two lines one for header and second for data in the table.
    1)In table painter we can find the pencil mark.
    2)select the pencil mark
    3)now select the line which you need to shade
    4) now select the shading colour in the table painter and the provide the resolution up to 100% and select table pattrn for that line.
    5) Now you can use this for the header now only the header gets shaded and the remaining gets unshaded.
    reward points if useful
    Thanks and Regards,
    Nishant

  • Smartform - tables

    Hi Friends..
    I need information about smartform tables, how to draw tables in smartform and display the data inside the tables.
    Thanks in advance
    gowrishankar

    hi gowrishankar,
    if u want to dispaly data item wise than u should use table....when data varies dynamically u should use tables....
    in this u need to define cells under table tab in that goto details...
    in data tab u will have to loop on internal table...
    and in pattern u will have select the patterns...
    for that table...
    hope this will help u out...
    please reward points in case usefull...
    regards,
    prashant

  • Problem with smartform table node

    hi i am working on smartform,
    requirement is to put lot of barcodes , with a horizontal line separating them,
    so i felt, displaying a table pattern inside a loop was the way to go,
    but when i am setting table parameters in the details part,
    i was giving the following and it was giving error saying
    the width of matnr and barcode doesnopt correspond to the total width of the table
    the total table width is 16 CM,
    MATNR         15.50     MM     30.50     MM
    BARCODE    15.50     MM     30.50     MM
    what ever value i am giving in  these columns, it continuosly giving errors,
    if some budy has a sample parameters which worked with them, please give me,
    i shal;l make necessary changes.
    when i increase the table width it says doesnt fit in the page, page is DINA4 with portrait format.
    please help.
    rgds.

    hi check this for bar codes in smartforms..
    http://www.sap-img.com/abap/details-information-about-sap-barcodes.htm
    http://www.sap-img.com/abap/details-information-about-sap-barcodes.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
    regards,
    venkat

  • Smartform Table Line types duplicate entries problem

    Hi ,
    I am getting one strange problem in Smartforms. i tried for information in SDN but i did not get any usefull ones.
    I have created my main window with particular width. I created two different Line types. On particular condition i need use these line types.
    First line item will have 6 columns in that one column is empty.
    Second liitem will have 5 columns.
    When i am generating the output, the last item data of the first line type is repeating twice, i.e with first line type and the second line type.
    Can anyone give me the inputs to solve this.
    Thanks,
    Srinivas Bhavanam

    Did you check SAP notes?
    I don't understand what you get exactly:
    For the last line of the internal table, you would like to get this:
    A B C D E F
    G H I J K
    But you get that:
    A B C D E F
    A B C D E F
    Did I understand correctly?
    Did you use something special? (header, footer, conditions, ...)

  • Doubt in smartform table control

    hi,
      in my smartform i want to display the table control, i got that normal table control, but i want to change the table control format, that means in write side in the tabs column no need of calculation i need event tab, how to make that?
    Thanks and regards,
    Gowri.

    Hi Gowri,
    You cannt display Table control in smartform output. As it is reporting tool. Not Dialog Module.
    In data tab of table control you can have events.
    Reward if useful.

  • Doubt in Smartforms Table

    Hi Experts,
    In Smartform I am having a table in which data is coming at runtime more than a page  and have to sum the column fields and to display at the end of the table.At the bottom of every page the table column lines look unfinished..How to put a line at the bottom of the table for every page.
    thanks,
    Yoganand.G

    Hi,
    Declare the table window in a TEMPLATE. Now declare the new line type which you would like to print at the end of the table on every page. So place this window below the table. Also put a condition like, when table window is displayed with some data, then print this line type, otherwise neglect it.
    Regards,
    Santhosh.

  • Smartforms (Table Patterns)--very Urgent

    M working on smartforms......but will i create table ......and clicked on table pattern.......no list is coming......is it deactive or wat??
    Please help me in this....its vry urgent

    Hi,
    Please try doing it on somebody else's computer.
    I have also experienced this once but donno the reason.
    Regards
    Nishant

  • Smartforms -tables

    could nay one plz tell me how to create tables in smartform , how to write text in tables and can we use template with in tables.
    could any one forward me links or study material on this

    Hi ram,
    most imp link
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    Check these links.In this,I am explaining everything step-by-step.Kindly reward points by clikcing the star on the left of reply,if it is useful.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
    Check these links also.
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://sap.niraj.tripod.com/id67.html
    http://myweb.dal.ca/hchinni/sap/smartforms_home.htm
    Step by StepGood one):
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    regards,
    keerthi.

  • Smartforms table: how to fix the number of rows to be display in the table.

    Hello.
    I´m having problems with a smartform. I have defined a window with 7 cm high. Then I have define a table to print the content of a table.
    I'm using the header, the main area, and the footer. It seems to be ok. But the main area is sizeble. I mean, that if in the table has 2 records, it dispaly the 2 records and inmediatly display the footer. It probably use only 3 cm of the 7 cm defined for the high of the window.
    And I want that the footer of the table would be display at the end of the 7 cm of the window. Is that posible ?
    Please, tomorrow we will have our kick off the module and this is the last issue we have.
    Thanks in advance for your help.

    Better idea wud be to create a WINDOW, just Below you Main window (After table) ..
    In Form Layout (Form Painter) you can fix this Window on any place , Pass the FOOTER text node over there  .. So you will get a Static FOOTER diplay ..
    That what you need ?? Let me know
    Edited by: Lokesh Tarey on Jul 22, 2010 7:15 AM

  • Prinitng smartform tables in full sheet

    Dear All Gurus,
    This is my request. I need to print a customized smartform (ex :GRN) according to below.
    Format of Smartform(1 page Smartform) :
    Header Windows (Adress / LOGO)
    Table Data
    Footer window (signatuees / agreement texts)
    (If the smartform prints 3 sheets (due to a lot of rows in the table) -
    1st sheet should show the header windows & table
    2nd sheet will carry out printing rest of the table data without priniting Header window (The total page space should be taken by table)
    3rd sheet will print the last rows of table & footer windows )
    I have designed the smartform & prints pages as above. But I cant figure out the way to expand the size of the table in the 2nd page to print it in full page.
    Plz Help
    Thanks'

    HI,
    Thank you for the reply..
    Kindly note that this smartform is 01 page smartform. (I have designed everything in single page.)
    Header Windows (Adress / LOGO)
    Main window (Table Data )
    Bottom window (signatuees / agreement )
    What happens here is if the table has 5 rows of Data, it is printed perfectly in a single A4 sheet according to my requirement because space is enough to print everything.
    But if there are 500 rows of Data in the table, what needs to be done is from 2nd  A4 sheet onwards  the table should acquire the total space of the sheet (including space given to LOGO, Address windows & bottom windows) until the loop ends.
    How do I get the total space because the table doesnt expand the size in main window of the smartform.
    Can we get that by expanding main window in 2nd page as you said?
    Thanks

  • Smartform Printing Probelm

    Dear Experts,
    I faced a probelm while i am trying to take print the smartform. It's shows Graphic is not displayed message shows.
    what is the probelm please guide me.
    Thanks in Advance
    purnaneelu

    check there is no mismatch in black n white and color..
    may be this is the possiblity. that u uploaded graphiv in B&W andusing colour.
    had u check window size problem ?

Maybe you are looking for