Table height in Smart Forms

Hi all
I am using a table in smartforms main window and set its pattern as per the requirement.And i have given the minimum height of table as that of main window.
If there is only one line item the height of the table is not growing to that of the main window.I cann't use Template as the contents will increase.
My Only Question is how can we fix the size of the table to that of main window irrespective of the table contents.
Quick Response is appriciated
and rewarded.
Regards
Pavan

That is not possible. The table height will be adjusted to the amount of data that is there in the table.
The minimum height for a table is used for a different purpose. If there is not enough space on the current window for the table to be printed as specified by Minimum height, then the table will be printed on the next page.
Please mark points if the solution was useful.
Regards,
Manoj

Similar Messages

  • Minimum table height in Smart Forms

    Hi everybody -
    I am hitting an issue with a table in a SmartForm.  The table is specified to have minimum height 7.40 cm, and there is a design pattern that frames the table to show this.  However, the table is only printing with a height equivalent to the needs of the data - ie:  if there's two lines of data, the table is printing 2 cm height. 
    Has anyone experienced this issue before and found a resolution?  I could just put a frame on the window that the table is in, but that won't work for me as I actually have lines between the columns of the table as well (and of course, THEY'RE not the minimum height, either!).
    Thanks for your help!
    Abby

    You can define the main window to be the same high you want your table and then put the table inside that window.
    Don't put anything else inside this window, only the table.
    Do not draw lines in the table, instead draw them on the window, this way the lines will be shown in the whole window (from top to bottom) even is the data contents only 1 record.
    Hope this help you!
    Regards
    Orlando

  • Dynamically change the table fields in smart form

    hi all,
    can any one suggest me the way to change the height and the width of a table dynamically in smart form.
    thanx
    Manish

    Hello,
    That is not possible. You cannot alter the height and width of the smartform. Mainwindows height adjust automatically according to the data.
    Thanks,
    Jayant

  • Table length  in Smart forms

    Hi,
    i have small doubt in table creation of Smart Forms.
    If the no of records in Table are less than the page size.
    how to increase the table view till end of the page or till footer?
    the table shoould be displayed till fully not truncated upto the no of records
    Thanks
    Shiva

    shiva we can do this as follows
    If we know the max number of line we can print in a puricular page.. then ex.
    example maximum 40 lines we can print in a page.. then take thin inot a variable calle <b>v_max_line = 40</b>.
    Find the number of record in Internal talbe example  <b>v_tabl_line = 10</b>.
    v_emtty = v_max_line - v__tabl_line .
    now v_empty is 30.
    now create a "LOOP" in the "footer" part of the TABALE.
    in this loop insert a table line .
    take one temparary variable.. increase the value of the "v_temp" veriable "calculation" part ofth "LOOP".
    In conditions of the LOOP  : give that.. v_temp < v_EMPTY.
    Note: dont forget to insert a text elemetn in the line type of the footer "LOOP". in the Text elemtn write &space&.
    so that all the blank lines will be printed after the end of the table.

  • What does mean You can include static and dynamic tables into a Smart Form?

    Hi guys,
    If you check the official documentation for Smart forms in the Internet you will read that the initial pharagraphs of the text tell you "Tables - You can include static and dynamic tables into a Smart Form. Dynamic tables enable you to display tables whose size is determined only at the moment of their output by the number of the table items to be displayed". The link is the following: http://help.sap.com/saphelp_nw04/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
    I was wondering if this means that I can use field symbols with dynamical number of columns to print a smart form. Because it would be great since the customer wanted a dynamical report depending on the week day it was (If Monday, there was only 12 columns, but if Friday, it will be 52 columns (1 column more for every day elapsed in the current week)). I had to create 5 different forms, but I think using field symbols I had spent less effort. Do you know if it is really possible? If not, then what does mean "You can include static and dynamic tables into a Smart Form"?
    Thank you in advance

    Hi ,
    The concept of static and dynamic tables in smartforms, means you can use template- ( static table as no of rows and columns is fixed). Also you can use table- dynamic as the no of rows will depend on your line items.
    Hope this will help you to close this thread.
    Also, try to find this answer in posted forums. Creating a new forum everytime just increases the network traffic. So please try to avoid it.
    Regards,
    Vinit

  • How to Pass the Internal table of a report to Smart Form

    Hi Experts,
    I have one report in which from selection screen i am getting the values from the users, and upon that values i am filling data in to the internal table.
    Now i want to pass that internal table data to the smart form
    and print that data in the smart form.
    So could you pls give me some pseudo code or any steps to achieve it.
    Thanks & Regards,
    DS

    Hi DS,
    First of all you need to create a SF and then need to call the FM generated by the FM in your report.
    In the SF in the form interface>tables tab>mention the name of the table and its type structure.
    Pls note that a new structure has to be created as the same type of your internal table which holds the data.
    And the import and export parameters as just the same as in a FM.
    Now after you create and activate your SF a FM will be generated (wen u execute your SF you will be taken to this SE37 screen with the name of FM so no probs..)
    You can call this FM in your report. Hope this helps.
    Ex:
    say itab has your final data, and you also want to export a variable var1 to the SF.
    after your normal report operations end, call the FM and pass on these data.
    say your FM name is FM1.
    call function FM1
    exporting
    var1 = var1
    tables
    itab1 = itab1.
    pls note that in the SF also i gave the same names, it is not mandatory to give the same names.
    and as you want to print a table in the smartforms, you need to create a table in the smart forms and then display the data which is quite simple.
    Hope this helps...
    if you need any further explanations, pls revert...
    Regards,
    Narendra.
    Reward points if helpful!!!

  • ABAP - Dynamic Table in Smart Form

    Dear All,
                 Can i assign a table at run time mens table rows and column will depend on user selection and no. of records fetched by query.  Is there any utility.
    Plz let me know ASAP if there is any. Looking forward to your co-operation.
    Thanks & Regards,
    Gulrez Alam

    Dear All,
                 At the time of table creation in Smart Form, we had to assign no. of columns and its width.
    In the case when no. of coulumns will be decided by the no of records return from the query. how can i link smart form with that records.
    No. of coulms in the smart form will be decided on the i/p no. given by the user. it can be any no.
    Plz suggest me the appropriate things.
    Is it possible or not in the smart forms.
    Thanks in Advance
    Gulrez Alam

  • How to display multiple records in smart forms in new page for each record

    Hi,
              How to display the data from a internal table in a smart form.
    I want each record to be displayed in seperate page.
    please tell me with example.
    thank u,
    Sarath

    Do this ,
       in the main window - open a loop on your internal table ,
    within the loop open the text and give the output fields,
    after this text  use the Command node and in this set the next page as page1,
    so when the loop gets executed its first record will be on the first page and the second record will be on the next page and so on ..
    Reward to usefull answers.

  • How to achieve dynamic page break in Smart form

    Hi
              1.How to achieve dynamic page breaks in Smart forms.
               2.What are the various table types in Smart forms.
    Regards

    <i>Dynamic page break : </i>
    create a node of type COMMAND and in its attributes check "Go to new page".
    <i>There are Tables and Templates in smart forms :</i>
    Use node type <i>Template</i> to display a table whose layout and size (number of lines and columns) is determined before the runtime of the print program else use <i>Table</i>.
    Take a look at <a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf">SAP Smart Forms (BC-SRV-SCR)</a>
    Regards

  • Template in smart forms

    what values we should give in horizantal alignment&vertical alignment in TEMPLATE node?can u suggest me sites for how to  use TEMPLATE &TABLE nodes in smart forms?

    hi,
    we can say Template is just for a static value and table is for dynamic values..
    Template can be heading columns for a table (constant)
    Table contains data (as many as we retrieve from data base..)
    material   Plant }Template
    1                   nl09       }- table first row
    2                  lt01
    23                 It09
    reward if useful
    regards,
    nazeer

  • Variable declared in global definition smart form

    Hi,
    We have defined an internal table 'it_table' in the global definition. We are unable to use  'it_table' in 'Page and Windows' loop statement.
    Kindly suggest.
    Regards,

    Hi Sanjay,
      There are 2 cases exist for your problem :
       1. If you are filling the desired internal table and wants to pass that table to your smart form for loop processing than you have to declare it in the form interface ; As the name itself sounds the interface ,Which means it provide an interface to pass data from Print program (Driver program) to smart form.
        But for this the table type can be only the DDIC structure not the one you are declaring in your print program as it will not recognize it.
      2. But in second case if you are filling the internal table into your smart from than ,table should be declared in the Global definition.
         The way is as :
         Go to ->global definition->type tab declare the type as :
          types : begin of t_vbap,
              vbeln type vbeln_va,
              posnr type POSNR_VA,
              matnr type matnr,
              netwr type NETWR_AP,
            end of t_vbap.
         Now declare a table type for the previously created type as follows :
         types : it_vbap type t_vbap occurs 0.
         (You can go to SE11 and create a table type there also for same)
         Now go to the Global data tab and declare your table as follows :
         I_VBAP    TYPE   IT_VBAP
         Now I_VBAP will be a table. and you can carry on your processing.
    Please award point by clicking star.

  • To display data in smart form

    hi experts ,
    I want to know how to display the data from a database table into a smart form .
    thanks in advance .

    Hi,
    Have a lok at the below link, you will get all the details about the smart forms
    http://sap.ionelburlacu.ro/sap0/sapsf001.htm
    http://www.erpgenie.com/abap/smartforms.htm
    http://www.erpgenie.com/abap/smartforms_detail.htm
    Regards
    Sudheer

  • Text inversed in the smart form table

    Dear all,
    I'm new in ABAP and working on a smart form which has a cell in table shows an article description in both Arabic & English
    but the Arabic text appears in reversed sequence  in the print preview and after printing it shows like this ##### #########.
    any idea how to solve this problem
    thanks

    Hello,
    Please see the following SAP Note about printing Arabic:
    587150 - Support of Arabic-script languages
    For your Unicode system, then you should be able to print Arabic
    characters via device type ARSWIN or device type SWINCF.
    The Unicode cascading fonts solution with the device type SWINCF
    described in the following SAP Note:
       812821 - Cascading Font settings
    So you need to configure a Frontend output device that uses device type
    ARSWIN and use this to create the print with the Arabic characters.
    Regards,
    David

  • How to add internal table fileds in Text module in smart forms

    Hi Friends,
        How to add internal table fileds in Text module in smart forms?
    Thanks & Regards,
    Vallamuthu.M

    Hi Vallamuthu ,
    how did you solve your problem?
    thanks,

  • Calling a Smart Form on Click of a Table Row..

    Hi All,
    I have one requirement.
    I have developed one applicaiton, in which from R3, the values are coming in form of a table. Now, on Click of a Table row, it should call a smart form developed in R3 for that selected row attribute. Also the smart form should open in a new window, so that user can take a print of it.
    How to add this new view and how to get the selected Row value ?
    Please help me.

    Hi,
    To open the new window, I have added blow code:
    IWDWindowInfo windowInfo = (IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("InfoPopup");
    IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo, true);
    window.open();
    but, getting error message as : IWDWindowInfo cannot be resolved
    what should be the import parameter? Also please tell me how to search for the Import parameters for the respected attribute/code?
    Please help.

Maybe you are looking for

  • Sy-index inside a loop

    Hi All, I am trying to enhance a datasource and in that I am writing a loop inside another loop. I am trying to get the loop number of the inner loop by using the sy-index inside the inner loop. But, the sy-index is not being changed and it is always

  • How do i take a snap shot on my mac?, how do i take a snap shot on my mac?

    how do i take a snap shot on my mac?, how do i take a snap shot on my mac?

  • APP Proposal Errors

    Hi Have situation while run the APP system givning soem errors in the proposal like: Error   Discription 003     Item is blocked for payment 006     No valid paymnet method found 016     Payment methods for this run are not specified in master record

  • WRT 54G v2 not recognized

    I have been trying all day to set up my parent WRT 54G router. The router used to work fine, but we've had some renovations done tot he house and I've recently moved them back in. I've managed to be able to connect (via Ethernet) to the router in ord

  • CMYK & border issue - beginner question

    Hi, I'm a newbie with Adobe Illustrator CS6 on a Mac.  Questions, as follows: 1) I have created a CMYK document and want to ensure all colors I select are CMYK. When the document was created, I selected CMYK as the color mode.  Does it end there? How