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
Search help exit details.
what is the process of creating quotation using BAPIs.
What are the advantages of abap query tool?
How will u handle the situation – In a report using function module to generate a IDOC, How will u handle the error IDOC in the same report ?
What is match code? : sap abap hr
What is the differences between structure and table in the data dictionary in abap?
Explain what is a logical database?
What is a collect statement?
What are the different types of view?
How many lists can a program can produce?
What are the types of subroutines?
Filter badi and multiple used badi? Will the sequence matter of the badi implementation in case of multiple used badi?
What is the use of the statement leave to list-processing?
What is the process to enhance the Infotype
Does sap handle multiple languages?