Templates in smartform

Hai All,
I want to know what the use of templates in smartform, and difference between table and templates. I know template is static and table is dynamic but i wnat more details.
Why sap brings template in smartform?
Thanks
Alex

Hi Alexander,
when you define a table, in fact you define row type.
After that, you use a row type with data.
when you define a template, you have the whole struture in statitc.
Example: imagine you have items, but for some item, you would like to print text. The row type will be different, you don't know the size (number of line) of your text. So you can only use the table.
Rgd
Frédéric

Similar Messages

  • Create Columns in Template using Smartforms

    Hi Guyz,
    Im using Template in smartforms and create 2 or more columns..but the columns must be in horizontal order like this :
    COMPANY   DEPT   BASIC
    but the column appeared vertical like this :
    COMPANY
    DEPT
    BASIC
    Another question is what is the purpose of From & To, Reference column in Details/Table Painter
    Please give me some advice..what to do..
    Will Reward points to those who will reply and help my problem
    Thanks in advance..

    The column generally apperds vertical in the screen but in the output it will be displayed in horizontal order.
    you can check the use of From to, Reference column & Table painter by referring to below link
    http://help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    Reward points if helpful.

  • Horizontal Text In Template using Smartforms

    Hi Friendz,
    Im having a problem in Template using smartforms. Actually, I need a Header Caption for this with a format  :
    COMPANY      DEPT      BASIC
    so i created a text for this...
    but once i viewed the report ,the output display is in the format :
    COMPANY
    DEPT
    BASIC
    Kindly help me with my problem...output must be in a one line with 3 columns.
    What is the purpose of  append directly,new line and new paragraph in properties of Text.Is there any technik for this text?
    Thanks in advance
    aVaDuDz

    Hi,
    usually the proceddure is we have to divide the template into three parts
    now create three text elements
    and in each text give
    company
    dept
    basic
    now go to output options and
    in the bottom of it output structure will be there
    in that line 1
    column   1 for first one
    line 1 column2 for second one
    and try to give the styles form attributes
    output options tab
    style    zstyle
    i hope it works
    regards,
    venkatesh

  • How to Merge Cells in Template in Smartform??

    Hi,
        Can somebody pls tell me how to merge cells vertically in to single cell in a Template in Smartforms..
    Regards,
    Rushikesh

    Hi Rushikesh,
    SAP does not directly provide option of merging the cells intemplate...Check out following
    to do the needful.
    1. Double click on the template node and go to table painter.
    2. say you want to merge two cells C1 & C2
    3. Click on the pencil icon above table painter to get plus type cursor now click on
       any cell from C1 or C2. The cell turns black indicating the selction .
    4. Right click -> Delete -> Cell. C1 is deleted.
    5. Again click on the pencil icon to get back the arrow cursor.
    6. Now take pointer on the boundary of cell C2. You the icon changes indicating
        the cell boundary can adjusted as per req. Do the necessary adjustment .
    7. Save and activating.
    Hope this helps you...
    Enjoy SAP.
    Pankaj Singh..

  • What is a template in smartforms

    Hi,
    All,
    can anybody expalin me about the use of template in smartforms. with some detailed description and usage of it

    HI,
    Template in smartforms is static.
    for example when you want to give heading for your table output , you can use templates..
    MATNR  WERKS    -
    > this is a template
    1000       nl09        ---> this is a table.
    1001    nl09
    Both the Templates and Tables can be used for printing texts or application data in tabular format in Smartforms.
    Templates: Templates are used in layouts when the number of rows are known and fixed.
    Tables: Tables are used to print dynamic data, where the number of rows cannot be determined in advance.
    rewards if useful,
    regards,
    nazeer

  • Printing data in Cell of Template in Smartform??

    Hello,
          Pls tell me how to print data in a particular Cell and Row of Template in smartform??
    Pl reply urgently...
    Regards,
    Rushikesh

    Hi ,
    You have to assign text node to that and cell,
    and in that node , click on output options tab.
    at the bottom you will find output structure options.
    There you assign line and column number of that perticular node,
    Regards,
    guru
    mark helpful answers

  • 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

  • How to increase height of the row in template in smartforms

    dear friends,
    i have developed a smartform with template.  i have 7 no of paragraphs in that. 
    my problem is,
    i want to give equal row heights for 3 paragraphs and different heights for other 4 paragraphs as per the text of those paragraphs depends
    how can i do this
    it s urgent.  help me. (don't suggest me manual dragging)
    regards
    saathi

    DEar Saathi,
    1. In the left pane, When u db.click on the template,
       in the right pane, a tab strip will be displayed, in that select   the tab Template..
    2. When u create each column, there try by giving LN instead of MM/CM/inches
    after checking tel me if it works or not..
    With Rgds,
    S.Barani

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

  • Query regarding templates in smartforms

    Hi friends,
    In my smartforms, I have used templates to display tabular data and i have defined line no. and column no. under text elements.Now, the data that is coming in the output is repetitive that is its not looping the table although i have used an external LOOP and defined my table and work area in it.
    Could anybody help me in making the loop part work?
    I will certainly reward points for the desired answer. 
    Thanks & Regards,
    Rishi

    If you have already set the internal table and the work area, i believe, it just the proper sequence of the node that get something wrong.
    Moreover, place the Loop node , the Program Line node and the template node inside the main window....
    The template node must be under the Loop node. See below, the proper sequence....
    MAIN window
          PROGRAM LINE NODE -->place your select statements here...
          LOOP NODE  --> on the data tab, define your Internal table and workarea
               TEMPLATE NODE --> place this node, under the loop node
                    text node -->this is  the first column.      Place here the field names. ex.: &wa-fieldname1&
                    text node -->this is  the second column  Place here the field names. ex.: &wa-fieldname2&
                    text node -->this is  the third column      Place here the field names. ex.: &wa-fieldname3&
                    text node -->this is  the fourth column    Place here the field names. ex.: &wa-fieldname4&
    After which, run your form...
    I hope it solves your problem. Rewards if useful...

  • Templates in smartforms

    hi,
      i have created smartforms with customer no, customer name, city.
      but templates not displaying the row and colums and how to insert fields in colums of template.
      please help me out it is very urgent.
       Thanks & Regards.
          vekatesh.

    I already tried the table node but i have a condition that there should be a structure even if there are only few line items.
    xxxxx
    xxxxx
    xxxxx
    and table increases dynamically with the items in it, is there any way that i couls maintain its height.
    thanks,
    Xavier.

  • About templates in smartforms

    Hi All,
    Can anybody tell me what is the difference between templats and table in smartforms.
    Regards,

    Hi,
    Tables are dynamic in nature and grow depending on the data in the table. Where as templete is static in nature.
    If you use the table in the Main window and data exceeds the main window then new page will be triggered where as if you the template the data will not flow into next if data is not fit in one page.

  • E-mail Template and Smartforms

    Hi,
    Can any one tell me how to create E-mail templates and Smart forms and how to configure them in IC WEB to trigger automatically.  Thanks in advance.  Enough points will be given for right answer.
    Thanks,
    Rik

    Hi Rik,
    1.Create the Actions  profile using the Wizard
    SPRO->IMG->CRM->BASIC FUNCTIONS->ACTIONS->ACTIONS IN TRANSACTION
    2.Assign actions to actions profile
         you can assign more than one action to same action profile
    3.Select the processing Time
           processing immediately
           when saving the document
           selection report
    4.Select the smartform for E-mail
    5.Select the form (created before)  T.CODE-SMARTFORMS
              Create the Template, out put form
    6.Assign the Schedule condition and Start condition
             Logic for the condition
    7.Then Assign the Action profile to your Transaction type in ic web.
    Reward points if helpful
    Regards
    Ram

  • Problem in updating Template in SMartform

    Hi Abapers,
    I have few templates in my Smartform. The width is currentl set to 15 TW for these templates.
    I want to change the width and make it as 28 TW. I am able to save and activate the Smartform after making these changes.
    I am to see the changes when i go back into the Smartform.
    But when i logoff and login back to SAP using the same client. I am not able to see these updates.
    This is happening only when i am changing the width of Templates. I made few code changes and window positioning,
    these are getting updated and working fine.
    I am not able to figure it out why i am not able to get the Width upodated for templates.
    Could you please help me out in getting the width of templates changed.
    Thanks a lot in advance.
    Regards,
    Manpreet Singh

    Hi Suman,
    The changes are getting lost when i logout and login back to SAP.
    In Current session i am able to see the changes. But changes are lost as soon as i end up my session,
    but this is happening only in case of template box width. All other changes are retained between my various SAP sessions.
    So wanted to know if any other value is over-writing the template box width values.
    Regards
    Manpreet Singh

  • 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

Maybe you are looking for

  • FCPX no longer boots

    I now get an error from App Store for Motion and FCPX and a message stating that FCPX is being updated. I rebooted the Mac Book Pro but no dice. Am running 10.9.4 and both apps ran fine 2 days ago. I get an error regarding both app in App Store. What

  • Evince print to network printer

    I'm having a hard time with this and nothing's coming up. I have a printer I'm successfully connected to via CUPS, I can print fine in OpenOffice. However, evince won't print. The "print" button is grayed out. I -need- to print PDFs and right now lit

  • Your request could not be completed the item you are request in not  currently available in the u.s store

    hi to support i want in the appstore with error ::your request could not be completed the item you are request in not  currently available in the u.s store:: tanks fo support

  • Cancellation of cancelled invoice

    Hi, I have done one invoice and then cancelled that invoice. Now i am want to cancel the cancelled invoice document.  How to do that.

  • Dependency check

    I am increasing the size of a varchar2 column, how to find out if this has any negative impact (anywhere in the code where they are using insert into..) etc, can i use dba_dependencies ? or any trigger that is doing the insert ?