<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: template and table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-and-table/m-p/3729615#M897677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table exteds dynamically.&lt;/P&gt;&lt;P&gt;Template is fixed in size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;template is Output of a table containing static data&lt;/P&gt;&lt;P&gt;these are the Possible direct successors-All except window, page, table,&lt;/P&gt;&lt;P&gt;and template nodes&lt;/P&gt;&lt;P&gt;Table - Output of a table containing application&lt;/P&gt;&lt;P&gt;data and these are the Possible direct successors-as with template node&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Template is used for proper allignment of data which table is used for displaying multiple data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can say Template is for static data and Table is for dynamic data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose we have a requirement in which we have to allign the customer address in such a way as shown below:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name- Krishna Company- WIPRO Location- Chennai&lt;/P&gt;&lt;P&gt;Desig- S/W Native - Mumbai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we include a template inside a loop it gives the same property as a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table has 3 sections , HEADER, ITEM ,FOOTER&lt;/P&gt;&lt;P&gt;The header secntion will be executed once and it will loop at the item level. at the end footer will be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SmartForms Useful links&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/smartforms.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/smartforms.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/sap-smart-forms.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/sap-smart-forms.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/smart-001.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/smart-001.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/smartform-tutorial.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/smartform-tutorial.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/smart-002.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/smart-002.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/smartforms.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/smartforms.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/sap-smart-forms.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/sap-smart-forms.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 May 2008 13:19:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-07T13:19:31Z</dc:date>
    <item>
      <title>template and table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-and-table/m-p/3729608#M897670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could any body update me what is the main difference between table and template in smartforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Koti Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 12:27:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-and-table/m-p/3729608#M897670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T12:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: template and table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-and-table/m-p/3729609#M897671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Check page 8 of this PDF.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF" target="test_blank"&gt;http://help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Template Displays texts for table cells of a static table&lt;/P&gt;&lt;P&gt;Table Display table contents&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you define a table, in fact you define row type.&lt;/P&gt;&lt;P&gt;After that, you use a row type with data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you define a template, you have the whole struture in statitc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: 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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 12:31:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-and-table/m-p/3729609#M897671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T12:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: template and table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-and-table/m-p/3729610#M897672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         In  simple terms, in table rows can be increased dynaically depending on the no. of records, whereas in template if we define in the layout the template to have three rows. it displays only three rows irrespective of the no. of rows or records passed into that template.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful to you. If you need further information, revert back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nagaraj T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 12:32:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-and-table/m-p/3729610#M897672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T12:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: template and table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-and-table/m-p/3729611#M897673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table is like internal table, where as the template is fixed  window with spcified no of rows and cloumns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please rewards if useful&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 12:36:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-and-table/m-p/3729611#M897673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T12:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: template and table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-and-table/m-p/3729612#M897674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Template: Displays texts for table cells of a static table&lt;/P&gt;&lt;P&gt;Table Display table contents&lt;/P&gt;&lt;P&gt;chk this link for more detailed info.:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-press.com/downloads/h955_preview.pdf" target="test_blank"&gt;http://www.sap-press.com/downloads/h955_preview.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Template : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. No of rows &amp;amp; coloumns are fixed.&lt;/P&gt;&lt;P&gt;2. u can directly mention, which data has to be fill in which row &amp;amp; coloumn.&lt;/P&gt;&lt;P&gt;3. Templates are used, where u r having static no of data.&lt;/P&gt;&lt;P&gt;( ex : Name, rollno, age, sex)&lt;/P&gt;&lt;P&gt;4. No header &amp;amp; footer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. No of cols are fixed, u can have 'n' no of rows.&lt;/P&gt;&lt;P&gt;2. it has header &amp;amp; footer concept&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kiran Sure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 12:38:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-and-table/m-p/3729612#M897674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T12:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: template and table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-and-table/m-p/3729613#M897675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Koti Reddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main difference between a table and a template is tha you cannot have a text flow in template.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For e.g. if you have to show 5 items of a Sales Order in the samrtform and only two fit on a page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then if you use a template the data will truncate and you will not be able to show the next 3 itmes on the next page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you use a table then the data flow will continue and the next 3 items will get displayed in the next page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also the other difference is that you cannot have a LOOP node in a template. (The internal table cannot be looped in a template). Whatever has to be displayed in a template has to be predefined (with its posiotion fixed: no. of line and no. of colmn )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whereas an internal table can be looped inside a Table Node&lt;/P&gt;&lt;P&gt;It automatically increments the line no. based on the number of records in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;harshada&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 12:38:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-and-table/m-p/3729613#M897675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T12:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: template and table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-and-table/m-p/3729614#M897676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kotireddy nanda...  &lt;/P&gt;&lt;P&gt;if u want to assign a table table statically you can use Template&lt;/P&gt;&lt;P&gt;if u want to assign a table dynamically you can use &lt;/P&gt;&lt;P&gt;table option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please rewards points if found helpful.&lt;/P&gt;&lt;P&gt;Thanks and  regards.&lt;/P&gt;&lt;P&gt;Rajeshwar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 13:19:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-and-table/m-p/3729614#M897676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T13:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: template and table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/template-and-table/m-p/3729615#M897677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table exteds dynamically.&lt;/P&gt;&lt;P&gt;Template is fixed in size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;template is Output of a table containing static data&lt;/P&gt;&lt;P&gt;these are the Possible direct successors-All except window, page, table,&lt;/P&gt;&lt;P&gt;and template nodes&lt;/P&gt;&lt;P&gt;Table - Output of a table containing application&lt;/P&gt;&lt;P&gt;data and these are the Possible direct successors-as with template node&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Template is used for proper allignment of data which table is used for displaying multiple data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can say Template is for static data and Table is for dynamic data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose we have a requirement in which we have to allign the customer address in such a way as shown below:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name- Krishna Company- WIPRO Location- Chennai&lt;/P&gt;&lt;P&gt;Desig- S/W Native - Mumbai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we include a template inside a loop it gives the same property as a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table has 3 sections , HEADER, ITEM ,FOOTER&lt;/P&gt;&lt;P&gt;The header secntion will be executed once and it will loop at the item level. at the end footer will be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SmartForms Useful links&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/smartforms.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/smartforms.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/sap-smart-forms.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/sap-smart-forms.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/smart-001.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/smart-001.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/smartform-tutorial.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/smartform-tutorial.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/smart-002.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/smart-002.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/smartforms.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/smartforms.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/sap-smart-forms.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/sap-smart-forms.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 13:19:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/template-and-table/m-p/3729615#M897677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T13:19:31Z</dc:date>
    </item>
  </channel>
</rss>

