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

How can we upload a text file having delimiters in to legacy system? : abap bdc

614


What is the difference between tables and structures?

626


What is the difference between select statement and provide statement ? : abap hr

574


What are the different types of parameters?

569


What are the attributes of the data? : abap data dictionary

656






Can you set up background processing using call transaction?

596


I created a field and entered the field type, when I double clicked the field type to define the domain; it is asking for an ACCESS KEY, I am not changing any SAP defined tables, working on a user defined table.

1355


What is the full form of spro? : sap abap hr

687


When value table becomes check table?

582


What are the data types of the external layer?

585


How are the function code handles in flow logic?

612


Where can you find error log for call transaction? : abap bdc

729


Print options in smartforms?

1570


hi i need detailed information on badi and bapi how can this work in real time senarios plz explain with exp

3215


Explain lsmw?

651