Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

diff between table and temlate in smartforms.

Former Member
0 Likes
691

can any body tell me the differance between template and table in smartforms.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
657

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.

SmartForms Useful links

http://www.sapgenie.com/abap/smartforms.htm

http://www.sap-img.com/smartforms/sap-smart-forms.htm

http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm

http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm

http://www.sap-img.com/smartforms/smart-001.htm

http://www.sap-img.com/smartforms/smartform-tutorial.htm

http://www.sap-img.com/smartforms/smart-002.htm

http://www.sapgenie.com/abap/smartforms.htm

http://www.sap-img.com/smartforms/sap-smart-forms.htm

Reward if useful.

4 REPLIES 4
Read only

Former Member
0 Likes
657

table is flexible i.e. we can have any no. of rows in table.

template is nt flexible,it contains fixed no. of rows.

Read only

Former Member
0 Likes
657

Hi,

Template it is maintains static data,

This node is to be used for displaying a table whose layout and number of rows and columns is determined before run-time.

table it maintains application data.

containing

please reward points, if it is useful

regards,

satish.

Read only

Former Member
0 Likes
657

Table can have fixed number of columns for each row at alll time but template can have n colums for one row and m columns for other, row size can also differ in template for each row but in table its fixed.

Table have flexibilty of expansion means but templates have fixed no of rows.

Regards,

Pankaj

Read only

Former Member
0 Likes
658

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.

SmartForms Useful links

http://www.sapgenie.com/abap/smartforms.htm

http://www.sap-img.com/smartforms/sap-smart-forms.htm

http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm

http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm

http://www.sap-img.com/smartforms/smart-001.htm

http://www.sap-img.com/smartforms/smartform-tutorial.htm

http://www.sap-img.com/smartforms/smart-002.htm

http://www.sapgenie.com/abap/smartforms.htm

http://www.sap-img.com/smartforms/sap-smart-forms.htm

Reward if useful.