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

what is difference between SAP Script and smartform

laxman_sankhla3
Participant
0 Likes
1,560

when we have to use SAP script and when we have to use smartform .

thanks .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,233

Hi Laxman,

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 activated

f) Easier to debug in Scripts.

SAP Smartforms can be used for creating and maintaining forms for mass printing in SAP Systems. The output medium for Smartforms support printer, fax, e-mail, or the Internet (by using the generated XML output).

You can create smartforms using transaction SMARTFORMS.

SAPscripts is the standard SAP form design tools for user to developed customized form printing format such as purchase orders, invoices, checks, labels.

You can create scripts in SE71.

Thanks,

Reward Points If Helpful.

9 REPLIES 9
Read only

Former Member
Read only

Former Member
0 Likes
1,233

Hi,

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 activated.

Advantages of SAP Smart Forms

SAP Smart Forms have the following advantages:

1. The adaption of forms is supported to a large extent by graphic tools for layout and logic, so that no programming knowledge is necessary (at least 90% of all adjustments). Therefore, power user forms can also make configurations for your business processes with data from an SAP system. Consultants are only required in special cases.

2. Displaying table structures (dynamic framing of texts)

3. Output of background graphics, for form design in particular the use of templates which were scanned.

4. Colored output of texts

5. User-friendly and integrated Form Painter for the graphical design of forms

6. Graphical Table Painter for drawing tables

7. Reusing Font and paragraph formats in forms (Smart Styles)

8. Data interface in XML format (XML for Smart Forms, in short XSF)

9. Form translation is supported by standard translation tools

10. Flexible reuse of text modules

11. HTML output of forms (Basis release 6.10)

12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc. (Basis-Release 6.10)

Read only

Former Member
0 Likes
1,233

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

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

Read only

Former Member
0 Likes
1,234

Hi Laxman,

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 activated

f) Easier to debug in Scripts.

SAP Smartforms can be used for creating and maintaining forms for mass printing in SAP Systems. The output medium for Smartforms support printer, fax, e-mail, or the Internet (by using the generated XML output).

You can create smartforms using transaction SMARTFORMS.

SAPscripts is the standard SAP form design tools for user to developed customized form printing format such as purchase orders, invoices, checks, labels.

You can create scripts in SE71.

Thanks,

Reward Points If Helpful.

Read only

Former Member
0 Likes
1,233

Hi Laxman,

In smatforms you can have your own page formats and also you need not have a main window in smartforms like the Scripts. Also one main advantage of smartforms are that they are client independent.

So in this case if you want a more graphical based output use smartforms as they support graphic elements. Also smartforms can be event triggered.

So using smartforms you can customize your ouptput much more than the script hence i think if it is graphical based o/p smartforms is a better option.

Regards,

Aditya.

Read only

former_member198270
Active Contributor
0 Likes
1,233

Hi Laxman

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.

Reward Points if helpful..

Regards,

Amber Soni

Read only

Former Member
0 Likes
1,233

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 activated.

f)Unlike sapscripts (RSTXSCRP), you cannot upload/download Smartform to your local harddisk.

g)The protect and endprotect command in sapscript doesn't work with smartforms. For example on a invoice: First data of position no 80. is printed on page one, other data of position no 80 is printed on page 2. And there's nothing you can do about it. Actually, there is something you can do about it. By using a folder node and checking the 'protect' checkbox, everything in that folder will be page protected.

reward if useful,

rushi.

Read only

Former Member
0 Likes
1,233

The differences betweem scripts and smartforms:

1. Scripts are client dependent, where sa smartforms are client independent.

2. Multiple page formats are not possible in scripts,but it is possible in smartforms.

3. Scripts can not be executed without a print program, but a smartform can be

executed without a driver program. The required code can be written inside a

smartform.

smartforms provides Table painter to design a table layout,and it provides more

graphical tools.