2006 Oct 18 7:12 AM
Hi,
Pl tell me the differences between sap script and smartforms.
Thanks
2006 Oct 18 7:14 AM
Hi aafaqhusain,
SAP Script
1.Client Dependent
2. Multiple page formatting is not possible
3. 2 Componets(Print program and LAyoutset)
Smartforms:
1.Client Independent.
2. Multiple page formatting is not possible
3. 3 Componets(Print program, Function module and Layoutset)
whenver u activate a smartform it will create a smartforms
some practical differences are :
*One main difference which is
visibility in the report is TABLES
(in sapscript we cannot design MATRIX like tables,
having grid lines,but in smartforms, it is much possible to design tables, having grid lines, color just
like excel table)
a) sapscript requires
- driver program (se38 program)
- layout (se71 layout)
smartforms just require
smartform,
(and a program is just required for selection screen purpose)
b) the logic of printing (ie. sequence, flow) is CONTROLLED BY drier program,in case of sapscript.
where as in smartform, it is inbuilt using TABLES element.
c) In sapscript we cannot write our own logic for printing.
where as in smartform,
we can write our own logic for pritning.(we can even write SELECT Statements, DATA statements,and many program lines + logic to suit our requirements)
2 Which we have to use
If we are copying some standard sapscript,
then we have to go for sapscript only.
We can use both. but practically smartforms is easier to
develop.
Regards,
amit mittal.
2006 Oct 18 7:16 AM
Multiple page formats possible in smartform
Main window may not be there in smartform
Labels cannot be created in smartform
Routines can be written in smartforms
Smartform creates a function module when activated
Best Regards,
Vibha
*Please mark all the helpful answers
2006 Oct 18 7:19 AM
Hi,
For more information on the difference between SAPscript & smarform,
kindly check the following links:
http://www.sap-img.com/smartforms/smartform-sapscripts.htm
hope this helps!
best regards,
Thangesh
2006 Oct 23 11:34 AM
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.
reward points for all the useful answers
2006 Oct 23 11:39 AM
Difference with SMARTFORMS vs. SapScript(SE71)The Following are the differences :-· 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 activatedShared lockShared locks (or read locks) allow you to prevent data from being changed while you are reading it. They prevent other programs from setting an exclusive lock (write lock) to change the object. It does not, however, prevent other programs from setting further read locks. Exclusive lockExclusive locks (or write locks) allow you to prevent data from being changed while you are changing it yourself. An exclusive lock, as its name suggests, locks an application object for exclusive use by the program that sets it. No other program can then set either a shared lock or an exclusive lock for the same application object.Lock DurationWhen you set a lock, you should bear in mind that if it remains set for a long time, the availability of the object to other transactions is reduced. Whether or not this is acceptable depends on the nature of the task your program is performing.Remember in particular that setting too many shared locks without good reason can have a considerable effect on programs that work with database tables. If several programs running concurrently all set a shared lock for the same application object in the system, it can make it almost impossible to set an exclusive lock, since the program that needs to set that lock will be unable to find any time when there are no locks at all set for that object. Conversely, a single exclusive lock prevents all other programs from reading the locked object.At the end of an SAP LUW, you should release all locks. This either happens automatically during the database update, or explicitly, when you call the corresponding dequeue function module. Locks that are not linked to a database update are released at the end of the SAP transaction.
2006 Oct 24 5:54 AM
hi,
You can convert a sapscript to a smartform by migration.
Utilities-->Migrate SAPscript form
2007 Apr 12 1:23 PM