What is the main difference between Smartforms and SAP
scripts?

Answer Posted / shobha

To output documents using the programming interface, R/3
application programs makes use of scripts or smart forms.

By design sap script is a word processing tool which
displays data on the form with the help of text elements
where the logic of those is written in the print program and
Forms were designed to be driven from print program, hence
are often termed as client dependent. Smart forms are client
independent. Bcoz it doesn’t use any text elements. it will
be executed through a function module. When a print program
calls a Smart Form, the form itself takes over to produce
output, without any further direction from print program.

Steps for creation

Creation of Script

Print program will determine the output document, the areas
values, and the frequency of the output. The database access
will be made in the print program which will insert them in
the corresponding fields of the form. Script needs direction
from the print program to print output.

Scripts uses layout set that describes the layout of the
individual print pages and uses text elements to supply
definable output blocks, which a print program can call.

Creation of smart form

Ø Design the form

Ø Form Activation which returns Function module

Ø Application program for data retrieval & calling
Smart form.

Application program calls the function module, the Smart
Form uses the modules interface (which corresponds to the
form interface) to transfer any table data previously
selected and to print the form according to the form
description. In addition form can have additional data
selections.

driver program is generated automatically by activating the
smartform

we need to write the driver program .no program is generated
by activating the script

Is This Answer Correct ?    54 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the functions of lock objects?

705


What are internal tables? : abap hr

567


Program for Prime numbers and Matrix plz explain me the procedural method with steps

2257


What are client dependant objects in abap/sap?

681


What is internal payroll process? : sap abap hr

592






What is meant by a schema? : sap abap hr

583


What are the system fields?

564


Name some system global variables you can use in abap programs?

551


A subroutine can contain nested form and endform blocks. State true or false. : abap modularization

780


when does a list get sent to the screen on the presentation layer?

1442


Why do we use abstract class

1031


What is a data dictionary? : abap data dictionary

579


Power is interrupted while transferring data from internal table to application server. How will you determine many records are transferred in session method and call transaction method? : abap bdc

690


What is luw?

688


What is match code? : sap abap hr

643