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
What are the attributes of the data? : abap data dictionary
Can there be more than 1 main window in sap script?
What is append search help? : sap abap data dictionary
What are two different ways to add fields to sap tables?
What happens if a function module runs in an update task?
What are pooled tables?
What are internal tables? How do you get the number of lines in an internal table?
What are Tickets in Realtime ?
How many ways can a sap system be accessed?
Can you define a field without a data element? : abap data dictionary
What will happen when we use fully buffered in abap?
Can we use transfer dataset to transfer data in internal table ?
How do you activate a function exit?
Explain what is an rdbms?
What are the page windows?