Application Development 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: 

Scripts Vs. smartforms

Former Member
0 Kudos

Is there anything that can b acheived only in scripts but not in smartforms? pls provide me such features that are unique only to scripts and also features unique only to the smartforms.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

SAP Script

1.Clinet 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.

Find the attached diff btw scripts and smartforms in the below link.

Reward points..

4 REPLIES 4

Former Member
0 Kudos

Hi,

SAPscript technology is based on a mainframe product from the 1980s, while Smart Forms have only been around since (roughly) 2001. With that sort of time gap, there are bound to be significant differences between the two tools. Client dependence is a fundamental one. Although SAPscript has had some incremental improvements over time, its forms have always been -- under the hood -- relatively ...

1. script is client dependent one while smartform is client independent.

2. In scripts we have to write print program while in smart forms it is not necessary.

3. In scripts we can not print background logo while in smartforms we can print background logo

4. In scripts we have 99 main windows while in smartforms we have only 1 main window.

5. In scripts we should write paragraph format otherwise we cant execute program while in smartforms no need to create paragraph formats .

6. In scripts we can print the text in only two character formats.

while in smartforms we can do with more.

7. In scripts we dont have line types while in smartforms we have linetypes.

also refer

the main diffarences between smart form and script form are:

1) smart forms are clinent independent where as scripts are client dependent.

2) smart form require half the time to create and maintain forms compare with

script.

3) smart forms provide multiple page formats where as in script not possible

4) smart forms exisist without main window also where as in script not possible.

5) smart form is entairely graphical user interface comapre with script.

6) labeling is not possible in smart form where as it is possible in script.

7) smart form genarate function module whenver it activate where as script

doesn't genarate.

😎 smart form can easily web publishing using the genarated XML output compare

with script.

9) using smart forms we can design web forms but bot possible with script.

10) we can maintain background graphics in smartform wher as in script not

possible.

11) in smart form we use transaction codes SMARTFORM for designing FORM

and SMARTSTYLES to create differnt styles of text, where as in script we

use SE71 for form painter and SE72 for different styles of text and font.

12) we can migrate script to smart form vice-versa is not possible.

Regards,

Raj.

Former Member
0 Kudos

Hi,

SAP provides a conversion for SAPscript into SMARTforms.

There are two way through which you can convert sapscript into smartforms.

(1) This is basically a function module, called FB_MIGRATE_FORM.

You can start this function module by hand (via SE37), or create a small ABAP which migrates all SAPscript forms automatically.

(2) You can also do this one-by-one in transaction SMARTFORMS, under Utilities -> Migrate SAPscript form.

You could also write a small batch program calling transaction SMARTFORMS and running the migration tool.

Note :

While Converting sapscript into smartforms,only layout has passed.But you have do all logic coding in your smartforms.

Steps :

(1) Understand logic of sapscript program.

(2) Understand SAP script windows data.

Now make your technical Design Accordingly,and now do code accordingly for your smartforms.

regards,

Yogesh

reward if useful

Former Member
0 Kudos

In scripts u have built in forms which u can use but therse are not available in smartforms .

U need to migrate them from script to smartform but that is not that effective

Former Member
0 Kudos

SAP Script

1.Clinet 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.

Find the attached diff btw scripts and smartforms in the below link.

Reward points..