cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform : Diff betwn Tables & Templets

Former Member
0 Kudos

Hi Experts ,

I have faced problem durring interview about the this question.

my question is,

"What is difference Between the tables , Templets & Loop in a Smartforms?"

Accepted Solutions (1)

Accepted Solutions (1)

Simha_
Employee
Employee
0 Kudos

Hi,

TEMPLATE - is static, you can specify for a specifc row.

TABLE - is dynamic, you can simply use the INTERNAL table with a TABLE object.

So, template is as good as a static table.

From help

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.

Cheers,

Simha.

Note :Please mark the helpful answers

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Prasad,

Template is to print static data in tabular format, width and height of the template is same , and the rows and columns of template are also fixed.

Table is also used to print the data in tabular format, but the height of table is not fixed, table extends it height, until the data in the internal table is finished.

columns in the table are fixed and the rows are not fixed.

we can achieve the same functionality as table using template inside the loop.

<b>Template</b>

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

<b>Table</b>

In forms of business procedures you usually want to list details such as open items of an invoice. You can use a Smart Form to display this data in a table. You can design the layout of the table independent of the number of lines it will contain. The size of the table depends on how much data the application program passes to the form at runtime (unlike with templates, where you specify the number of columns and lines explicitly). The table can cover one or more pages, depending on the number of lines. This is why you display tables in the main window.

Here is a link to get more info on smartforms

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

Regards,

Raghav