02-21-2007 3:24 AM
Hi Folks,
Will we be able to differentiate a SAP Script from Smart Form by just looking at it?
I do know the basic differences but will be glad if any one here can let me know a bit more.
K.Kiran.
02-21-2007 3:29 AM
Hi,
script is client dependent
smartform is client independent
less programing in smart form
multiple page format is possible in smart form
we can maintain background graphics in smartform
scripts doesnot generate any funtional module where as smart form generates.
multiple page format not allowed in scripts allowed in sf.
labelling is possible in scripts not possible in sf.
script is client dependent and sf is client independent.
a) Multiple page formats are possible in smartforms which is not the case in SAPScripts
b) It is possible to have a smartform without a main window .
c) Labels cannot be created in smartforms.
d) Routines can be written in smartforms tool.
e) Smartforms generates a function module when activated.
Smartforms are Introduced to make Form development easier and quicker.
It takes half the time when you compare it with scripts.
For example you take Table creation in both. Its very easy in Smartforms.
You can have multiple Page layouts in Smartforms.
You can create templates and reuse them in your form.
And when you activate a Smartform it generates a Function module .
You can write Application logic within the form development. and execute it.
Thanks,
Shankar
02-21-2007 3:29 AM
Hi,
script is client dependent
smartform is client independent
less programing in smart form
multiple page format is possible in smart form
we can maintain background graphics in smartform
scripts doesnot generate any funtional module where as smart form generates.
multiple page format not allowed in scripts allowed in sf.
labelling is possible in scripts not possible in sf.
script is client dependent and sf is client independent.
a) Multiple page formats are possible in smartforms which is not the case in SAPScripts
b) It is possible to have a smartform without a main window .
c) Labels cannot be created in smartforms.
d) Routines can be written in smartforms tool.
e) Smartforms generates a function module when activated.
Smartforms are Introduced to make Form development easier and quicker.
It takes half the time when you compare it with scripts.
For example you take Table creation in both. Its very easy in Smartforms.
You can have multiple Page layouts in Smartforms.
You can create templates and reuse them in your form.
And when you activate a Smartform it generates a Function module .
You can write Application logic within the form development. and execute it.
Thanks,
Shankar
02-21-2007 3:31 AM
Kiran,
Links.
http://www.sap-img.com/smartforms/smartform-sapscripts.htm
1. Client independent
2. Main window is optional
3. Different type of page format in a single form
*ex one page is portrait, and next one may be landscape
4. Static (Template) and dynamic tables
5. The form logic represented by hierarchical structure
6. For Web Publishing, the system provides a generated
XML output of the processed form
7. Function module generated by Dynamically
8. More user friendly compare to sap scripts
Pls. reward if useful
02-21-2007 3:31 AM
Hi Kiran ,
iF 'By Looking at it ' meant looking at the output , then i dont feel we will be able to diffrentiate between the two.
The main diffrenece between script and smartforms is that in smartforms you can write your codes , declare varaibles and many other processings inside the form itself , but it is not possible in case of scripts , in scripts if you want some additional processing then you will have to write a subroutinre in another program and then call it from the scriopt.
One more major diffrence is that script is client dependent whereas smartforms is not.
Regards
Arun
02-21-2007 3:54 AM
are you asking about the difference in the output? or in the code?
basically it is almost impossible to tell if you just see the output if it is a smartform or a sapscript.
in the code the differences are obvious as both are called differently as well as the passing of the variables
there is also a way to tell if your form is triggered by an output type, try looking at transaction NACU.
02-21-2007 4:12 AM
Hi Kiran,
They are two differents tools to do the same thing: to print a document.
The real big difference is the most of abap code to control the smartform is in the same smartform and not in the control program. So the program has to transfer the main data and run the smartform only.
Anyway in the smartform there are some tool to create some output objects (like grid) easer than sapscript.
It could say the sapscript is obsolete tool to print a document, so perhaps one day it'll be expired.
Check there links for more info.
/message/635740#635740 [original link is broken]
Regards,
Priyanka.
03-01-2007 3:17 AM