Difference between template and table in smartforms

what is the difference between a <b>template</b> and <b>table</b> in smartforms

Hi Krish,
   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.
Hope U got some idea
Reward Points if helpful,
Regards
Avi....

Similar Messages

  • Difference between ALV and Table control

    Hi folks,
    i want to know the major differences between AlV and table controls.
    i know that table control is designed in screen painter, but i want to know the major diff between Table control and ALV.
    helpful answers will be rewarded.
    Regards,
    Naveen

    Hi Naveen,
    Basically ALV is a way to display the output and Table Control is designed in screen painter through which you can get entries in Table Control, can delete some records etc for further processing and  its not use only for Display.
    <b>ALV is Application List viewer:-</b>
    Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length. 
    In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output. 
    <b>TABLE CONTROL:-</b>
    ABAP offers two mechanisms for displaying and using table data in a screen. These mechanisms are table controls and step loops. Table controls and step loops are types of screen tables you can add to a screen in the Screen Painter.
    Rewards if useful.
    Regards,
    Shilpi

  • Whats the difference between Template and Schedule?

    Hi BPC Gurus,
             I have created a dynamic template and added in the wizard but I am not sure whether it can be used as Input schedule? So to have clear picture I need your help in understanding the difference between Template & Schedule i.e. .XLT & .XLS.
    Regards
    KumarMG

    Hi Kumar,
    Actually in BPC  the input schedules and the Reports can be dynamic templates, the differences are not related to the extension of the files, the important thing here is how is configurated the template, to see how is configurated you can go to e-tools> workbook options->a there in the upper left part of the window you can see if it is an input  schedule o a Report. The thing is that you can have input  schedules with both extensions and both will be working fine,
    hope it helps

  • Confused: the difference between ExtractStruct., and table in datasource?

    Run RSA6 on R3, locate any datasource and display it, then we can see a ExtractStruct. field at the top, and many table fields at bottom.   What's the difference between the ExtractStruct. and the below table in the datasource?   All the entries are the same between these two?  Or usually the below table in the datasource contains all the standard fields and it we want to populate the standard fields, we will have to add them to the ExtractStruct. during the extraction? 
    Also double click ExtractStruct. to open it, we can see an Append Structure button at the top bar. We know that if want to add custom fields, then we need to add them to the Append Structure, but if we want to just update standard fields, we just need to add them to the ExtractStruct.?
    Thanks!

    Hi Kevin,
    The Fields you see in RSA6 are the fields of the extract structure only. It is a list of all the fields in ES. Some of the fields might be hidden and some of the fields might be used for selection. If you double click on the ES and go in, you will see the same set of fields. If you edit the DS, you can change the selections boxes there according to your requirement.
    Append structure is for appending the necessary fields to the ES as you rightly mentioned. You can not change the standard delivered fields. You can do it using the access key but definitely not advisible. Hope this helps.
    Thanks and Regards
    Subray Hegde

  • What is the difference between sheets and tables?

    Seriously. I've used Numbers for many projects, but the difference just isn't apparant to me?

    Hi Michael,
    Sounds like it's time to crack open the manual and spend a little quality time with Chapter 1.
    Apple provides a couple of excellent tools for understanding and using Numbers, the Numbers '09 User Guide and the iWork Formulas and Functions User Guide. Both are fully searchable PDF documents, and both are available for download via the Help menu in Numbers.
    I'd recommend reading at least the first three chapters of the Numbers Guide (about 60 pages in all), then dipping into the rest as you need it.
    The F&F guide is a useful reference whn you're writing formulas, or when you're trying to figure out what's going on in the formulas in a template produced by someone else.
    Regards,
    Barry
    PS: The information regarding Sheets, Tables, etc. may be found in the article The Numbers Window, starting on the second page of Chapter 1, Numbers Tools and Techniques.

  • Difference between Logicaldatabase and Table Join in Query SQ01

    Hello Expert,
    To create query, we need to create infoset first. While cration of infoset we have two option
    1. Enter Table names and join table
    2. Use logical database.
    We cant use both option at a time.
    I have created a infoset where i have used the logical database PNPCE, Now i have situation where i need to join the two infotype mainly 0021 and 0138. But i cant find any otion wher i can join these two table. If i use these two table in the infoset instead of logical database , i am able to join them using join tool.
    When i use logical database, by default infotypes are joined based on the employee number only. Is thetre any option where i can join my two infotype other than employee field???
    Regards,
    Sagar

    Moderator message - Please search before asking - post locked
    Rob

  • Difference between client dependent table and client independent table

    hi all,
                  i m new in sap pls tell me the difference between client dependent table and client independent table.
    tell me in detail.
    thanks and regards
      vikas saini

    HI
    Client dependent Means if you create that data in one client is limited to that client only and it is not accessable in other clients
    Like SAP SCRIPTS and STD texts data
    where as Client Independent means the data if you create in one client that is available in that as well as in other clients
    Like SMARTFORMS, All dictionary Objects data and Repository objects data like Programs, Fun modules, tables etc..
    There is no specific reason behind why scripts are client dep[endent and smartforms are client independent!!!
    As for SAP -- Scripts are called client dependent because if you create client in say,200 it would be available in that only.If you want to test the script in client 300 then it won't be there,you will have to go to transaction se71 in 300 .Then Utilities-> Copy from client.Give the source as 200 & form name(i.e. script name) & copy.
    Few more reasons why....? Please read below:
    SAPscript technology is based on a mainframe product from the 1980s.SAPscript forms have always been -- under the hood -- relatively passive objects, with minimal embedded logic. These forms were designed to be driven and controlled by ABAP programs, much in the way ABAP programs read in database tables to produce reports;
    if you ever download a SAPscript form (e.g., via utility program RSTXSCRP), and look at the portable text file it produces you'll see what I mean.
    Many text objects (e.g., invoice header texts) are bound directly to documents which are client-dependent, so it makes sense for these text objects to also be client-dependent. From a complexity standpoint, SAPscript forms are close enough to these text objects where I can see how it made sense at the time to make them client-dependent too.
    What is client dependent and Client Independent
    https://www.sdn.sap.com/irj/sdn/forums

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

  • How to join three tables and practical difference between 10g and 11g

    I want to know with example how to outer join three different tables in Oracle.
    Also if you have any website or reference for understand syntax or performance difference between 10g and 11g then please paste a link in.thanks!!

    Hi,
    897293 wrote:
    I want to know with example how to outer join three different tables in Oracle.The 3rd table comes into the result set the same way the 2nd one did:
    FROM           table_1  t1
    LEFT OUTER JOIN      table_2  t2  ON   ...
    LEFT OUTER JOIN      table_3  t3  ON   ...The join condition(s) for t3 can reference t1, or t2, or both.
    Also if you have any website or reference for understand syntax or performance difference between 10g and 11g then please paste a link in.thanks!!The main manuals all have "What's New" sections near the beginning. For example:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/wnsql.htm#sthref5
    Hoek,
    We've missed you. Welcome back!

  • What is the difference between infocube and fact table?

    hi bw gurus,
    what is the difference between infocube and fact table?
    thanks in advance
    bye

    Fact table contains only KeyFigures and foreign keys of dim ids.
    Infocube conatin fact table sorrounded by dimension tables.dimension table contain primary keys of dim ids and SIDs which link to master data.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6ce7b0a4-0b01-0010-52ac-a6e813c35a84

  • Difference between "Export" and "Export form Fact Table" package

    Hi experts!
    Could you tell me what is the difference between "Export" and "Export form Fact Table" package?
    Tkanks
    Gabriel

    Hi,
    Basic difference between Export and Export from Fact Table is
    In standard package "Export" : We can perform this function when we are online and we have adequate amount of data to be exported. We can run this package eg: weekly or monthly. Here we use u201CExport Packageu201D to pull the data
    And in the administrative package "Export from Fact Table"   Mostly it is used to do the backend data loading  basically bulk data , also any formula logic has to be implemented on the data in that case we use the administrative package.
    Hope this helps.

  • Difference between global temporary table and with clause

    what is the difference between global temporary table and with claue .(with clause is used as table in select query)

    what is the difference between global temporary table and with claue .(with clause is used as table in select query)Its big difference between the two.
    Global temporary table exists for a session or a transaction while, with clause lives only for a query.
    GTT is a named permanent storage table whose data flushes away on session exit or at end of a transaction while WITH clause just provides names to a reference data within a query (which is as good as having union subquery in FROM clause)
    eg
    SQL> with c as
      2  (
      3  select 1 id1, 2 id2 from dual union all
      4  select 2,4 from dual union all
      5  select 3,5 from dual)
      6  select * from c
      7  /
           ID1        ID2
             1          2
             2          4
             3          5
    SQL> ed
    Wrote file afiedt.buf
      1  select *
      2  from
      3  (
      4  select 1 id1, 2 id2 from dual union all
      5  select 2,4 from dual union all
      6* select 3,5 from dual)
      7  /
           ID1        ID2
             1          2
             2          4
             3          5But GTT serves its purpose very well in case of session specific transaction and the scnearion with multiple users working on same data.

  • Difference between is_published and is_replicated columns of sys.tables

    Hello,
    Can someone please tell me the exact difference between is_published and is_replicated columns of sys.tables? I know is_published is inherited from sys.objects table , but purpose of both the columns are same. However sometimes for some replicated tables
    i have seen is_published = 1 and is_replicated = 0 and for another published database tables value of both columns are 1.
    It is bit confusing. Can you please explain?
    Thanks in Advance.
    -Malkesh

    Is published has a value of 1 for snapshot and transactional replication, and peer to peer.
    Is_replicated has a value of 1 for transactional, p2p, and cdc.
    The values will be 1 for both the pub and the subscriber in p2p, but are 0 for both for all other subscription types.
    The values are always 0 for merge.
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • Difference between a value table and a check table?

    What is the difference between a value table and a check table?

    Value Table
    This is maintained at Domain Level.
    When ever you create a domain , you can entered allowed values.   For example  you go to Domain   SHKZG - Debit/credit indicator.  Here only allowed values is H or S.
    When ever you use this Domain, the system will forces you to enter only these values.
    This is a sort of master check . To be maintained as a customization object. This mean that if you want to enter values to this table you have to create a development request & transport the same.
    Check table
    For example you have Employee master table & Employee Transaction table.
    When ever an employee Transacts we need to check whether that employee exists , so we can refer to the employee master table.
    This is nothing but a Parent & Child relationship .  Here data can be maintained at client level , no development involved.
    As per DBMS what we call foregin key table, is called as check table in SAP.
    Reward points for the answer

  • Difference between char and varchar, also the difference between varchar2

    Hi,
    Can anyone explain me the difference between char and varchar, and also the difference between varchar and varchar2...

    Varchar2 is variable width character data type, so if you define column with width 20 and insert only one character to tis column only, one character will be stored in database. Char is not variable width so when you define column with width 20 and insert one character to this column it will be right padded with 19 spaces to desired length, so you will store 20 characters in the dattabase (follow the example 1). Varchar data type from Oracle 9i is automaticlly promoted to varchar2 (follow example 2)
    Example 1:
    SQL> create table tchar(text1 char(10), text2 varchar2(10))
    2 /
    Table created.
    SQL> insert into tchar values('krystian','krystian')
    2 /
    1 row created.
    SQL> select text1, length(text1), text2, length(text2)
    2 from tchar
    3 /
    TEXT1 LENGTH(TEXT1) TEXT2 LENGTH(TEXT2)
    krystian 10 krystian 8
    Example 2:
    create table tvarchar(text varchar(10))
    SQL> select table_name,column_name,data_type
    2 from user_tab_columns
    3 where table_name = 'TVARCHAR'
    4 /
    TABLE_NAME COLUMN_NAME DATA_TYPE
    TVARCHAR TEXT VARCHAR2
    Best Regards
    Krystian Zieja / mob

Maybe you are looking for