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

smartform

Former Member
0 Likes
708

what is diff between table and template in smartform?

6 REPLIES 6
Read only

Former Member
0 Likes
687

Table is dynamic where as template is static. ie the length of the table is not known untill the run time where as in template we have to define it before

Read only

Chaitanyat
Participant
0 Likes
687

A template can be considered to be a static table whose size does not increase where as a table does not have a fixed size. Its size increases depending on the content. Hope this helps you

http://help.sap.com/saphelp_erp2005vp/helpdata/en/9b/e3b0dcc2a711d3b558006094192fe3/frameset.htm

regards,

Chaitanya

Read only

Former Member
0 Likes
687

Hi Sumit,

Check this info.

Sample code is not possible as these are added as the nodes in the main window and then designed.

Check this link to know about them.

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf

But the basic difference is tables are used for dynamic data and templates are used for static data.

1. Template is static.. N number of columns and rows u need to define.. Only these will be displayed.. While in table u will define line type and number of line types will be extended if u have more data to be printed eve n new page will be triggered.

2. If the data is not fit in the template cell then it will be truncated, while in Table the cell height will be increased.

Try and close the resolved threads, and also I have been orserving you have not awarded the right and helpful answers always.

Regards

Read only

Former Member
0 Likes
687

hi

<b>Template</b>

Displays texts for table cells of a static table

<b>Table</b>

Display table contents

regards

ravish

<b>plz reward points if helpful</b>

Read only

Former Member
0 Likes
687

hi

<b>Template</b>

Displays texts for table cells of a static table

<b>Table</b>

Display table contents

refer to the link below 4 more details

http://www.erpgenie.com/abap/smartforms_detail.htm

regards

ravish

<b>plz reward points if helpful</b>

Read only

Former Member
0 Likes
687

hi sumit,

Table is dynamic in a nature where as template is static one,you need to know the no.of rows and columns exactly.

In case of table it will extend depending up on data but template won't.

If the data is not fit in the template cell then it will be truncated, while in Table the cell height will be increased.

go through the link below for smart forms

https://forums.sdn.sap.com/click.jspa?searchID=790272&messageID=291157

https://forums.sdn.sap.com/click.jspa?searchID=790272&messageID=2653436

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf