Diff. between table and template in smartforms

hi there,
please tell me what the diff. between table and template options available in smartforms

HI
GOOD
TABLES=>
In forms of business procedures you usually want to list details such as open items of an invoice. You can use a Smart Form to display this data in a table. You can design the layout of the table independent of the number of lines it will contain. The size of the table depends on how much data the application program passes to the form at runtime (unlike with templates, where you specify the number of columns and lines explicitly). The table can cover one or more pages, depending on the number of lines. This is why you display tables in the main window.
TEMPLATES=>
Use node type Template 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.
To create a template, define a table layout to determine the cell structure for each line. The cells are used to display the contents of the inferior nodes of the template node. This allows you to position text and a graphic side by side (see Displaying Graphics in Templates).
The template node is also suited for label printing.
GO THROUGH THIS LINK
http://help.sap.com/saphelp_nw04/helpdata/en/4b/83fb4edf8f11d3969700a0c930660b/content.htm
THANKS
MRUTYUN

Similar Messages

  • Diffrence between Table and Template In Smartform

    Hi,
    Please could u tel me Difference between Table and Template In Smartform

    Table exteds dynamically.
    Template is fixed in size.
    template is Output of a table containing static data
    these are the Possible direct successors-All except window, page, table,
    and template nodes
    Table - Output of a table containing application
    data and these are the Possible direct successors-as with template node
    Template is used for proper allignment of data which table is used for displaying multiple data.
    We can say Template is for static data and Table is for dynamic data.
    Suppose we have a requirement in which we have to allign the customer address in such a way as shown below:-
    Name- Krishna Company- WIPRO Location- Chennai
    Desig- S/W Native - Mumbai
    Then for proper allighnment we can create a template and split that into 3 columns and 2 rows and create text elements for each cell display a proper allighned data at the output.
    When we include a template inside a loop it gives the same property as a table.
    When we have mutiple data which is to be extended to the next page like when we display all employee details in a company we use table.
    Table has 3 sections , HEADER, ITEM ,FOOTER
    The header secntion will be executed once and it will loop at the item level. at the end footer will be executed.
    SmartForms Useful links
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
    http://www.sap-img.com/smartforms/smart-001.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sap-img.com/smartforms/smart-002.htm
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm

  • Table and template in smartforms

    what r the diff.s between TABLE AND TEMPLATE in smartforms..
    ALso.. the diff. between LOOP and TABLE.. in smartforms..

    Hi,
    Template :
    1. No of rows & coloumns are fixed.
    2. u can directly mention, which data has to be fill in which row & coloumn.
    3. Templates are used, where u r having static no of data.
    ( ex : Name, rollno, age, ***)
    4. No header & footer
    Table :
    1. No of cols are fixed, u can have 'n' no of rows.
    2. it has header & footer concept
    A table is meant to be used to display dynamic number of lines (eg. invoice line items), whereas a template is for fixed number of column and lines (labels).
    Please reward points if it helps
    Thanks
    Vikranth

  • In smart forms-- difference between table and template

    can you please tell me what is the difference between table and template in smart forms,
    and als give me some object developed in smart forms.

    it is not recommended because, when ever we activate the smartform it generates one function module.
    if we transport that driver program and smartform to testing or production, in that server the generated function module name will be differ.
    hope u got it.
    for this we need to use these function modules.
    SSF_FUNCTION_MODULE_NAME
    FM_NAME
    regards.
    santhosh reddy
    reward if useful
    Edited by: Santhosh Reddy on Feb 16, 2008 7:52 PM

  • What is exact difference between table and template in script

    hello all
    what is exact difference between table and template in script

    Hi there.
    Tables alow you to achieve more complex flows with internal tables. You can use different types os lines, like footer, header, line items, and differente types of line items. Also, and most important, you have different processing blocks, again header block (processed before processing of first row), body block (rows) and footer block (after last row or page break).
    If you don't need any of this, use a template inside a loop to achieve something like a table. I personaly use templates only to draw lines, for example, before and after a loop, or to align some header in my documents.
    A table, is a loop and template mixed to become a very good tool.
    Regards.
    Valter Oliveira.
    Edited by: Valter Oliveira on Jun 5, 2008 5:10 PM

  • Hi guru's what is the difference between table and temlate in smartforms

    hi guru's what is the difference between table and temlate in smartforms

    Hi Vasu,
    Template is used for proper allignment of data which table is used for displaying multiple data.
    We can say Template is for static data and Table is for dynamic data.
    Suppose we have a requirement in which we have to allign the customer address in such a way as shown below:-
    Name- Vasu Company- WIPRO Location- Chennai
    Desig- S/W Native - Mumbai
    Then for proper allighnment we can create a template and split that into 3 columns and 2 rows and create text elements for each cell display a proper allighned data at the output.
    When we include a template inside a loop it gives the same property as a table.
    When we have mutiple data which is to be extended to the next page like when we display all employee details in a company we use table.
    Table has 3 sections , HEADER, ITEM ,FOOTER
    The header secntion will be executed once and it will loop at the item level. at the end footer will be executed.
    Hope this gives u some idea..
    <b>Please reward if useful</b>
    Regards,
    sunil kairam.

  • Difference between table and templete in smartforms

    Hi gurus,
                  Could any one provide inf about table & templete in smartforms ? when they can recommend?
    Thanks in advance...

    Table exteds dynamically.
    Template is fixed in size.
    template is Output of a table containing static data
    these are the Possible direct successors-All except window, page, table,
    and template nodes
    Table - Output of a table containing application
    data and these are the Possible direct successors-as with template node
    Template is used for proper allignment of data which table is used for displaying multiple data.
    We can say Template is for static data and Table is for dynamic data.
    Suppose we have a requirement in which we have to allign the customer address in such a way as shown below:-
    Name- Krishna Company- WIPRO Location- Chennai
    Desig- S/W Native - Mumbai
    Then for proper allighnment we can create a template and split that into 3 columns and 2 rows and create text elements for each cell display a proper allighned data at the output.
    When we include a template inside a loop it gives the same property as a table.
    When we have mutiple data which is to be extended to the next page like when we display all employee details in a company we use table.
    Table has 3 sections , HEADER, ITEM ,FOOTER
    The header secntion will be executed once and it will loop at the item level. at the end footer will be executed.
    SmartForms Useful links
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
    http://www.sap-img.com/smartforms/smart-001.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sap-img.com/smartforms/smart-002.htm
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    Reward if useful.

  • Use of table and template in Smartform

    Hi,
    I need an output in the smartform as shown below in the form of a table. I have tried doing this only with the use of template(create->Template) but I am not able to print the heading using text elements one after another. Only the first cell is getting populated with the heading.
    I assume this can be accomplished with a template as well as a table.
    Can anyone please let me know how this can be done?
    Any help would be appreciated.
    heading 1          <data>
    heading2           <data>
    heading3           <data>
    Thanks
    SR

    template is 4 , when u know , how many rows u want , u can use.
    If u dnt know then use Table .
    Now when u creat text element u have to assign row number ,
    and colomn number .
    for that click on text element go to ouput option.
    then only it will display in perticular row/col.
    if u didnt assign , default it will come in 1st row nd col.

  • Difference between table and tenplate?

    Hi
    What is a difference between table and a template?
    Thanks

    are you refering to Smartforms?
    Well in SF, table is something that contains data. Tables could be dynamic.
    Template is a fixed format. Example if you have a invoice and the format is fixed with several vertical and horizontal lines. And you have terms and condition to be printed at the bottom. And the total amount.
    Now this template will be printed in the form even if there are line items and even if htere is no line items.

  • Multiple tables and templates in a main window

    Hi,
    Is it possible to have multiple tables and templates in a main window of a smartform?
    If so then how they are positioned in the main window? Means which table to come first and which to be the next?
    Thanks in advance.........
    Prinan

    Hi!
    both tables and templates can be printed any number of times ina  main window.
    The tables as in sequence are printed...after ending with the first it gets on to the another.
    If u want to print it under some cdonditions you can do it using the condition tabs.As per it is a main window the dats gets flowing to the next page so as the order goes thae data goes on printed.
    Regards.

  • Diff Between Interfaces and API

    Hi to all.
    Can anybody tell me , What is the basic diff between API and Interfaces ?
    Thanks in advance

    Hi Lalit,
    Both place validation will happen. In Interface table as well as in API.
    The difference you can say..for interface you have to load the data in and invoke the import program by which it will populate data in oracle apps base table. So you have to write some DML.
    While in API you can simply use PLSQL record type and using that invoke API by which it will populate record in oracle apps base table.
    Keep in mind both ways the validation happens. It is just the approach and some part is just for legacy data conversion.
    Regards
    Prashant Pathak

  • Diff. between currency and unit fields

    Hi All,
    What is the diff. between 0DOC_CURRCY and 0CURRENCY, OUNIT and 0BASE_UOM? In which scenarios do we use each of them?
    I have a flat file which contains some values for sales and quantity but does not have any units. So I have to upload them using constant currency and unit. now, I have to create my own keyfigures for the sales and quantity. What currency and unit fields should I use i.e 0CURRENCY or 0DOC_CURRCY and OUNIT or 0BASE_UOM?
    Thanks a lot,
    James.

    hi James,
    0doc_currency, 0currency share the same master data->0currency, 0unit, 0base_uom share the same master data->0unit, the 'basic' infoobject is 0currency and 0unit, all currency and unit will have reference to these infoobjects.
    currency is used for keyfigures amount, with currency e.g usd, gbp, etc.
    unit for keyfigures quantity, with unit like KG, CM etc.
    currency tables are TCUR* and unit table T006*
    you can use any of these infoobject currency or unit in your keyfigure (RSD2) or fix value like USD etc, normaly 0doc_currcy used for document currency; 0loc_currcy for local currency, you can create your own infoobject currency/unit with RSD3.
    hope this helps.

  • Import Table and Template Table

    Hi all,
    I have a question regarding Data Services Component. What are the difference between "Import Table" and "Template Table"?
    Thanks,

    Hi,
    Template table means temporary table. It will take all the input data. We don't need to create this table. Import table means you are importing already created table. That means you had already defined the field names and field lengths. Hope this helps.
    Thanks,

  • What is the difference between refernce and template

    Hi,
    i taken some keyfigure form refernce  to new keyfigure after that iam activating the info cube its showing error has Not contains ilist particular keyfigure.but all key figure are availbale in active version only.
    after that i used as template its came and activated.
    please let me the difference between reference and template.
    tahnks in advance.
    Regards,
    deva

    Hi,
    reference: no sid table, no master data, no data element, more or less just a pointer to the referenced object with the possibility to have a different name for the same thing.
    template: sid table, master data, data element, a object of it's own as a copy of the template object, but a complete other object.
    regards
    Siggi
    PS: do a search also, there are some good explanations additioally.

  • Difference between Table and Container

    Hi,
        Whats the difference between table and container.
    How to create container in smartform.
    Cheers
    Senthil

    Hi,
         I have a requirement to remove a column from an existing container. I removed a column, but still the column showing up.. so I decided to recreate the container again. But I can create only table. How to make this as container.
    Cheers
    Senthil

Maybe you are looking for