Showing results for 
Search instead for 
Did you mean: 

Regarding Smart forms

Former Member
0 Kudos

Hi Guru's,

I would like know some information on smart forms.

1. What is the difference b/w table and template?

2. Can we create lables in smartforms?

3. How the system prints page no. ex. page1 of 5 or page 2 of 5

4. I want to add a one field to existing form. What r the configurations required?

5. Waht is the difference b/w classical, interactive and ALV reports.

Thanks in advance

Reward full points



Accepted Solutions (1)

Accepted Solutions (1)

Active Contributor
0 Kudos

1) Table is one that contain rows and columns, templet is one that everything is predefined just modify according to requirment.

2) Yes, we can use label in Smartforms


4) Add it in import and export perameters, or do the declarations and retrive it using program lines.

5) Classical : output is displayed on list and no further action

Interactive: Helpful for displaying the detailed info of primary list (F2/ double click)

ALV: Display the list in Grid format, can surpress some fields, can use SORT etc.

I guess this info is helpful to you.

Reward points!!



Answers (2)

Answers (2)

Former Member
0 Kudos



go through this forum which ll give you detail about the smartform



Former Member
0 Kudos




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.


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.

To create a template, define a table layout to determine the cell structure for each line. The cells are used to display the contents of the inferior nodes of the template node. This allows you to position text and a graphic side by side (see Displaying Graphics in Templates).

The template node is also suited for label printing.


2. no we cant create labels in smartforms.

3.Use the command &SFSY-PAGE(4Z)&/SFSY-FORMPAGES(4Z)&.

5. A classical report is a program that generates a single list, which must contain all of the required detail information.

1) This procedure may result in extensive lists from which the user has to pick the relevant data.

2) For background processing, this is the only possible method. After starting a background job, there is no way of influencing the program.

3) The desired selections must be made beforehand and the list must provide detailed information.

4) For dialog sessions, there are no such restrictions.

5) The user is present during the execution of the program and can control and manipulate the program flow directly.

6) To be able to use all advantages of the online environment, classical reporting was developed into interactive reporting.

ALV is Application List viewer. Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length. In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output. The report output can contain up to 90 columns in the display with the wide array of display options.


Collapse multiple reports into one, drastically cutting down your report development time

Save many hours using built-in ALV sorting, subtotaling and filtering capabilities

Add conditional structures into your ALV report: No programming required!

Combine ALV with display variants to meet a wide range of reporting requirements more easily

Dynamically reorder column layouts and add/subtract fields

Enable users and analysts to save their own personalized variants