What is the main difference between Smartforms and SAP
scripts?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sarageorge
Scripts are client dependant
Sartforms are client independant
Is This Answer Correct ? | 32 Yes | 4 No |
Answer / rupesh
1) Script is Client Dependent whereas SMARTFORM is client
Independent.
2) We can't cave script without Main window but SMARTFORM we
can.
3) After executing SMARTFORM it generates a function module
Script doesn't.
4) we can set background Image to SMARTFORM but not in Script
5) We can add color in SMARTFORM but not in Script.
6) In Script we can maintains up to 99 main windows but in
SMARTFORM can maintain only one Main window.
Is This Answer Correct ? | 35 Yes | 8 No |
Answer / priyanka johri
SMART FORMS--- 1. supports multiple pages ; 2. main window
not necessary ; 3. Labels cannot be created ; 4. routines
can be written ; 5. A functional module is generated on
activation ; 6. Cannot be downloaded to hard disk ; 7.
smart form is client independent.
SAP SCRIPTS--- 1. multiple pages not supported ; 2. main
window is necessary ; 3. Labels can be created ; 4.
routines cannot be written ; 5. no functional module gets
generated on activation ; 6. can be downloaded to hard
disk ; 7. sap scripts are client dependent.
SMART FORM IS MORE PREFERRED PRINTING UTILITY.
Is This Answer Correct ? | 19 Yes | 2 No |
Answer / krishna
in scripts u can need driver program,
in smartforms u can't need driver program.
Is This Answer Correct ? | 9 Yes | 4 No |
Answer / balamurugan
Smart forms:
1.Client independent.
2.Label can't be created.
3.It generate function module.
4.Main window is not necessary.
Sap Script:
1.Client dependent.
2.Label can be created.
3.It doesn't generate function module.
4.Main window is necessary.
Is This Answer Correct ? | 6 Yes | 2 No |
Answer / raghava reddy
1)SAP SCRIPTS ARE CLIENT DEPENDENT
SMARTFORMS ARE CLIENT INDEPENDENT
2)WITHOUT A MAIN WINDOE WE CAN'T CREATE THE SAP SCRIPTS
WITHOUT A MAIN WINDOE WE CAN CREATE THE SMARTFORM
3)MULTIPLE PAGE FORMATS ARE NOT POSSIBLE IN SAP SCRIPTS
MULTIPLE PAGE FORMATS ARE POSSIBLE IN SMARTFORMS
4)LABELS ARE POSSIBLE IN SAP SCRIPTS
LABELS ARE NOT POSSIBLE IN SMARTFORM
5)WHENEVER WE ARE ACTIVATING THE SAP SCRIPTS IT WON'T
GENERATE ANY FUNCTION MODULE
WHENEVER WE ARE ACTIVATING THE SMARTFORM IT WILL
GENERATE THE FUNCTION MODULE,BASED ON THIS F.MODULE ONLY WE
CAN DEVELOP THE PRINT PROGRAM
6)RSTXDBUG IS STANDARD PROGRAM TO DEBUG THE SAP SCRIPTS
THROUGH STATIC BREAK POINTS ONLY WE CAN DEBUG THE
SMARTFORM.
7)PARAGRAPH FORMATS & CHARACTER FORMATS ARE LOCAL IN SAP
SCRIPTS....MEANS OUTSIDE OF THE FORM NOT POSSIBLE TO ACCESS
PARAGRAPH FORMATS & CHARACTER FORMATS ARE GLOBAL.....MEANS
OUTSIDE OF THE FORM ALSO POSSIBLE TO ACCESS....
8)IN SAP SCRIPTS DOWNLOADED FILE MUST BE .TXT FILE
IN SMARTFORM DOWNLOADED FILE MUST BE .XML FORMAT
9)IN SAP SCRIPTS COLOURS ARE NOT POSSIBLE
IN SMARTFORM COLOURS ARE POSSIBLE
10)SAP SCRIPTS DOES NOT SUPPORT ALL THE PRINTERS(EG...ZEBRA)
SMARTFORM SUPPORTS ALL THE PRINTERS
Is This Answer Correct ? | 6 Yes | 2 No |
Answer / madhuri
In SAP-SCRIPTS multiple page formats are not possible where as in SMART FORMS are possible.
In SAP-SCRIPTS color,coding is not possible where as in SMART FORMS are possible.
For complex coding SAP-SCRIPTS is suitable.
For complex design SMART FORMS is suitable.
We can't use same paragraph and character format for more than one SCRIPT layout.
we can use the same paragraph and character format for multiple SMART FORM layouts.
Is This Answer Correct ? | 3 Yes | 2 No |
Answer / sushil rathi
SCRIPT:
-CLIENT DEPENDENT.
-CANT EXECUTE ON ITS OWN DRIVER PROGRAM NEEDED.
-NOT INTERACTIVE IS JUST LIKE A LIST.
-CANNOT HAVE BACK GROUND IMAGES.
-CANNOT HAVE COLOR TO TEXT.
-ALL THE PAGES SHOULD BE OF SAME FORMAT.
-CHARACTER AND PARAGRAPH FORMATS ARE NOT REUSABLE.
-IT HAS NO TOOL.
SMARTFORM:
-CLIENT INDEPENDENT.
-EXECUTE ON ITS OWN, FUNCTION MODULE IS CREATED.
-IS INTERACTIVE.
-CAN HAVE BACK GROUND IMAGES.
-CAN HAVE COLOR TO TEXT.
-ALL THE PAGES NEED NOT BE OF SAME FORMAT.
-CHAR. AND PARA. FORMATS ARE REUSABLE VIA SMART STYLES.
-IT HAS TOOL NAMED TABLE PAINTER.
Is This Answer Correct ? | 3 Yes | 2 No |
Answer / ravikanth
@ Answer 8 and others. regarding Labels in Smartforms.
Labels can be created in Smartforms, as well.
But with more efforts, when compared to scripts.
Refer Saptechnical.com for Smartforms tutorials, there we
can find the same.
Is This Answer Correct ? | 3 Yes | 2 No |
What are the events in ABAP/4 language?
What statement will be found in an sap application program that implements a function module exit?
What is netweaver???what is the relationship with ABAP?
Where the payroll results are stored
Which objects are independent transport objects?
What is design pattern? Provide example .Why are we using it?
Name 5 custom objects that dont start with Z or Y ?
What are client dependent objects in ABAP or sap?
how can we print both side in smartforms? what connects smartform to it's driver program? in which event validation is done?
What is img? : sap abap hr
is it possible to insert records into structure? if yes means how many records can be inserted?
In ALV reporting when u execute your report which event gets triggered.