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
467

what is the purpose of template in smartform layout?...

1 ACCEPTED SOLUTION
Read only

suresh_datti
Active Contributor
0 Likes
447

to quote from <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/8a/8c8a43def411d3969600a0c930660b/frameset.htm">SAP Help</a> "Use node type Template to display a table whose layout and size (number of lines and columns) is determined before the runtime of the application program. For this reason, a template is also called a static table."

~Suresh

4 REPLIES 4
Read only

suresh_datti
Active Contributor
0 Likes
448

to quote from <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/8a/8c8a43def411d3969600a0c930660b/frameset.htm">SAP Help</a> "Use node type Template to display a table whose layout and size (number of lines and columns) is determined before the runtime of the application program. For this reason, a template is also called a static table."

~Suresh

Read only

0 Likes
447

Hi

Most often we need to display only one record in a smart form in a fixed area. Like for example, u know before hand how many rows and columns u need. In that case u design a template with the required layout. Its dimensions are fixed. For each row u assign a line type. Each cell in the template is identified by (row, column). Like (1,1) (1,2) etc.

In each cell you can create some text elements and write some thing in it.

Read only

0 Likes
447

HI Suresh Hoz doing? I need to show the header of table on 2nd page also if table breaks in two pages which i defined in Main Window. wil Template help me and How?

Thnaks.

Khan

Read only

aris_hidalgo
Contributor
0 Likes
447

Hi Alchemi,

In Smartforms, you use templates to define the number of columns, rows, etc. It is like a table where you can also define the number of columns and rows but its difference is that you cannot put a loop statement in it unlike the table node. What you can do there is to put an additional loop statement node.

In my acse, I use templates in footers of forms. Hope this helps you...

P.S. Please award points if found useful...