Reg: Smartforms Table Painter

Hi  Folks,
In the smart forms in the main window I have used table for printing data of the internal table.  Also for giving the borders in the table I have used the framed patterns in the table.
So I have declared the main window sizes same as paper size and in the main window it contains only the table.
I have created a table in the smart forms and I was doing the loop of internal table data.
So when in the internal table contains one line item currently it was printing like this.
1     23     45     56     76
But my requirement is like this if the internal table contains one data, still the boxes should be extended upto end of page.
1     23     45     56     76
In the smart forms table painter is there any setting is there so that I can extend the boxes up to the end of page if data was not present in the internal table also.
Or how can I will print the boxes in the smart forms and each box contains the print the data of the internal table.
Please help me on the above issue and let me know for any clarifications.
Thanks in advance.

there is not such setting in smartform...
you can append blank lines in the itab..
e.g if page can hold 10 line items from itab
     and you are passing oly 5 lines of data
     then append 5 blank lines at the end of itab..
in this case you need to take care for numeric fields.. as black fields will display zeros... so convert them in char field and then append blank lines...

Similar Messages

  • Error in smartform table builder

    hi all,
    i created a loop in a amartform builder.every thing is correct.
    but when i test the smartform it says
    "component" expected after "BY"
    i don't understand what is this?
    plz help me.
    points will be rewarded if helpful.

    hi vamsi,
    thank u.it solved my problem.
    i rewarded points to u.
    can u please tell me how to build a table in smartform builder using table painter.i am learning Smartforms.
    can u tell me step by step plz....
    points will be awarded for sure.

  • Split lines in Table painter

    Hi Guys
    I have to split a line in a table painter in smartform, which I did by right clicking the mouse and choosing split from the context menu.
    1. But the problem is that It does not show in the output
    2. Even if it shows, how do I put data in it?
    Thanks for reading .

    Hi,
    Once you split the line.. you need to select the cell containing the line you just split.. and look for little icons on the top menu that look like boxes that are used to create borders.. click on the appropriate one depending on where yu want a line to be drawn.. yu could draw all four sides or just one side depending on what you want.
    Putting data in it.. you need to double click on the text node that has the data yu need to display on the smartform.. under the output options tab.. right at the bottom you will see column and row boxes.. so this is where you need to specify the column and row number of the table.
    Hopefully this helps!

  • 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

  • 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

  • Template and  Table painter

    Difference b/t
    Template    and 
    Table painter

    Hi,
    Table Painter is used to design layout of Templates & Tables.
    http://help.sap.com/saphelp_nw04/helpdata/en/4b/83fb4edf8f11d3969700a0c930660b/frameset.htm
    You can say its nothing but graphical format of template.
    Template is to display a table whose layout and size (number of lines and columns) is determined before the runtime of the application program. For this reason, a template is also called a static table.
    Best regards,
    Prashant

  • 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

  • Passing values to an internal table and use it with the table painter

    Hi,
    I have seen this topic here before but the answers didn't help me. Maybe I,m doing something wrong.
    The problem is that I defined the following structure on the |Types| tab of the |Global Definitions| section:
    TYPES: BEGIN OF DETAILS,
           EBELP  TYPE EKPO-EBELP,
           BSMNG  TYPE EBAN-BSMNG,
           LFDAT  TYPE RM06P-LFDAT,
    END OF DETAILS.
    Then defined the following definition on the |Global Data| section:
    WA_DETAILS TYPE STANDARD TABLE OF DETAILS WITH HEADER LINE
    The problem is that when I try to assign a value to one of the fields in the program code like this:
    LOOP AT WA_EKPO.
         WA_DETAILS-EBELP = WA_EKPO-EBELP.
         WA_DETAILS-EMATN = WA_EKPO-EMATN.
         MODIFY WA_DETAILS.
    ENDLOOP.
    gives me the following error:
    "WA_DETAILS" is not an internal table -the "OCCURS n" specification is missing.
    Then if I add the "OCCURS 10" to the definition of the Global Data the error "OCCURS 10" is not expected.
    How can I define, assign values and use as a parameter an internal table defined with types for use it with the table painter?

    Hi,
    if it is one record in wa_details. you can directly write as follows..
    REPORT  ZCR_TEST1                               .
    TYPES: BEGIN OF details,
              ebelp TYPE ekpo-ebelp,
              bsmng TYPE eban-bsmng,
              lfdat TYPE rm06p-lfdat,
              ematn TYPE ekpo-ematn,
           END OF details.
    DATA: wa_details TYPE STANDARD TABLE OF details WITH HEADER LINE,
          wa_ekpo    TYPE STANDARD TABLE OF details WITH HEADER LINE.
    wa_details-ebelp = '1'.
    append wa_details.
    wa_ekpo-ebelp = '3'.
    append wa_ekpo.
    LOOP AT wa_ekpo.
      wa_ekpo-ebelp = wa_details-ebelp.
      wa_ekpo-ematn = wa_details-ematn.
      modify wa_ekpo.
    endloop.
    Normally it wont be one record, so u need to put <b>read statement with key</b> in LOOP and ENDLOOP.
    Regards,
    Sriram

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

  • Ecc 4.7 smartform table/template cell border thickness cannot be reduced

    Hi
    I am executing the SF_Example_01 and 02 and 03 and the table borders are not appearing properly. They look very thick and I could not figure out a way to reduce the thickness anywhere in table painter. I use sap version 4.7  and the printing device selected for preview is LP01. I am getting the same result when I try to preview the tables or templates that i created. The table cell lines just appear very thick. Please help me solve this
    Thanks
    Ajith

    Hi Jshree
    I have already tried that . did not work.  In fact I tries all the answers given in the below link for no avail.
    Smart form:extreamly thick table frame line
    Thanks
    Ajith

  • 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

  • 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

  • Reg smartforms -  creating a new page for each customer number

    Dear friends,
    This is a sample program for smartform.
    Below is my coding ...
    TABLES : KNA1.
    SELECT-OPTIONS : S_KUNNR FOR KNA1-KUNNR.
    TYPES : BEGIN OF ZFS_KNA1,
            KUNNR TYPE KNA1-KUNNR, 
            NAME1 TYPE KNA1-NAME1,
            ORT01 TYPE KNA1-ORT01,
             END OF ZFS_KNA1.
    DATA : ITAB TYPE STANDARD TABLE OF ZFS_KNA1 INITIAL SIZE 0,
           WA TYPE ZFS_KNA1.
    SELECT KUNNR NAME1 ORT01 PSTLZ LAND1 FROM KNA1 INTO TABLE ITAB WHERE KUNNR IN S_KUNNR.
    Now i am having one secondary window (cusotmer number) and main window(name and city).
    I am able display list of cm nos, names and city in one page.
    But i want to display name, city and number of customer in one single page.
    suppose 5 customer numbers are there.....then 5 seperate pages should be displayed.
    pls help me.
    Regards,
    S. Vinod

    Hi,
    In your loop node... you have sort criteria....
    give the fieldname of the customer number KUNNR and check the check box under the begin of sort event...
    An event node is created... under that event  node... create command node for triggering new page and dont forget to tick the checkbox for " not on first page" in the conditions tab....
    and under that you can create text elements to display the data
    regards
    padma

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

Maybe you are looking for

  • Saving a pdf file in database

    can any one help how can i save pdf file in database???

  • Here's my Vent of the Day - How about one topic/thread per subject?

    I see lots of topics/threads started that are exactly the same as ones already out there, and many of those could be answered if the OP would just search what's already been said, or read generally available information before posting. And then there

  • SQL Developer 1.5 - Exporting Data

    Hi, I am using SQL Developer 1.5 and trying to run query and asving the data to to file but having following problems. 1) How to save data as pipe or other delimitted data in text file? 2) when i am saving as text file, its taking longer but when its

  • R/3(IDOC)  ------ XI  ----- Supplier Network

    We are planning to talk to our Supplier Network from two Different R/3 Systems say R1 and R2. The documents that we are expecting from supplier Network are Invoice and Advance Shipping Notice(ASN). R/3(IDOC)  <------ XI  <<<---Firewall-<<<< Supplier

  • Handling High Number Records in ABAP Table

    Hi, Other than creating indexes is there other option to handle in an efficient way searches in an ABAP table containing more than 30 million records? Thanks in advance.