what is the differance b/w template and table in Smartforms?
Answer Posted / suraj prakash
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.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Hi,have Good Command in SAP ABAP, ABAP WEBDYNPRO now i want to learn sap IS utilities.. can u plz suggest me is it useful r not? If not can i learn BI? Is ABAP with BI have gud future?
Explain the advantages of abap query tool?
What are the different software packets available in the market? : sap abap hr
How can we use / display table in a screen?
How do you restrict the data to be entered in the payroll area? : sap abap hr
What is locking ?
What is the functionality of BIZTALK and how it handles the IDOC’s and how u will transfer the IDOCS to the BIZTALK ?
What is the diffreence between bdc_close_group and bdc_close_dataset? : abap bdc
What is the collect statement?
Explain how to write a bdc - how do you go about it?
Describe the difference between macro and subroutine?
From Excel to ABAP - Is batch mode possible ?
What is the difference between a dialog program and a report?
Explain the difference between a dialog program and a report?
Difference between sy-tabix and sy-index? Where it is used? Can you check sy-subarc after perform?