Application Development 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: 

what is a template in smartforms

Former Member
0 Kudos

Hi,

All,

can anybody expalin me about the use of template in smartforms. with some detailed description and usage of it

1 ACCEPTED SOLUTION

Former Member

Hi,

To restrict the size of the cells of the table we use template. Otherwise if u use table based on the field value the size of the cell increases. The Template contains a fixed number of rows and columns, where the output is fixed.

These are used for data, which has to show total/subtotal data stored in variables and no Internal Tables attacted to it.

Regards,

Priyanka.

5 REPLIES 5

Former Member

Hi,

To restrict the size of the cells of the table we use template. Otherwise if u use table based on the field value the size of the cell increases. The Template contains a fixed number of rows and columns, where the output is fixed.

These are used for data, which has to show total/subtotal data stored in variables and no Internal Tables attacted to it.

Regards,

Priyanka.

varma_narayana
Active Contributor
0 Kudos

Hi Ram...

Template is Used to Display the data of a Text in a Table format ..

That means it cannot display the Data of internal table .

It is only used to display a set of Variables/texts in a Table form..i.e in different Rows/Cells.

<b>reward if Helpful</b>

former_member588853
Active Contributor
0 Kudos

HI,

Template in smartforms is static.

for example when you want to give heading for your table output , you can use templates..

MATNR WERKS -


> this is a template

1000 nl09 ---> this is a table.

1001 nl09

Both the Templates and Tables can be used for printing texts or application data in tabular format in Smartforms.

Templates: Templates are used in layouts when the number of rows are known and fixed.

Tables: Tables are used to print dynamic data, where the number of rows cannot be determined in advance.

rewards if useful,

regards,

nazeer

Former Member
0 Kudos

hi

good

go through this link

http://help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF

thanks

mrutyun^

Former Member
0 Kudos

template is used to display the static text for eg: headings for the tables ...etc

generally we use templates to display table headings .......

for eg: consider u have 10 records for vbeln .....so u want to display " sales document number " as the heading for that then u can go for templete .

reward points if helpful