Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

diff between scripts and smartforms

Former Member
0 Likes
674

Hi,

Pl tell me the differences between sap script and smartforms.

Thanks

7 REPLIES 7
Read only

Former Member
0 Likes
657

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.

Read only

Former Member
0 Likes
657

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

Read only

Former Member
0 Likes
657

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

Read only

0 Likes
657

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

Read only

Former Member
0 Likes
657

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.

Read only

Former Member
0 Likes
657

hi,

You can convert a sapscript to a smartform by migration.

Utilities-->Migrate SAPscript form

Read only

Former Member
0 Likes
657

thanks