cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between Smartform and SAP Script

Former Member
0 Kudos

hi.

Can you plese distinguish SAP SCRIPT and SMARTFORMS.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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 print background logo while in smartforms we cant 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.

Thanks

Seshu

Answers (5)

Answers (5)

Former Member
0 Kudos

Thanks a lot guyes.

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 print background logo while in smartforms we cant 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

Regards,

Priyanka.

mohammed_moqeeth
Active Participant
0 Kudos

Hi Anil,

Difference between Smartform and SAP Script are:

-SCripts and Smartforms both are Language Dependent and CLIENT dependent

-We create Script Styles using SE72 Tcode.

-Both scripts and SF's are used to output the Outgoing documents of an Orgn.

-In SF there is a provision to write your own code where as in script you have to call sub routines.

-SF is more GUI friendly and is generated using a fun module

- Samrt form generated FM and thus client independent.

- Clored output posible in SF

- Tables and templates in SF

-. Different pages eg : first page could be portraite while second page cud be landscape in SF

-Styles could be maintained using smartstyles.

-script is client dependent whereas 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.

- It is possible to have a smartform without a main window .

- Labels cannot be created in smartforms.

- Routines can be written in smartforms tool.

- Smartforms generates a function module when activated.

<b><u>Check these links for your kind reference.</u>

http://www.sap-img.com/smartforms/smartform-sapscripts.htm

https://forums.sdn.sap.com/click.jspa?searchID=633950&messageID=883538

/message/635740#635740 [original link is broken]

https://forums.sdn.sap.com/click.jspa?searchID=633950&messageID=2880271

https://forums.sdn.sap.com/click.jspa?searchID=633950&messageID=2847350</b>;

Reward Points for every useful answers...

Cheers !

Moqeeth.

ferry_lianto
Active Contributor
0 Kudos

Hi,

Please check these from SDN Wikipedia Smartform.

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/smartforms&;

What are the differences between SAP Scripts and Smartforms?

- SAP Scripts are client dependent whereas Smartforms are client independent.

- SAP Scripts require a driver program to display the output whereas iHow to Create smartform Outpout as a PDF file and save it n smartforms the form routines can be written so that it is standalone.

- An integrated Form Builder helps to design Smartforms more easily than SAP Scripts

- An Table Painter and Smartstyles to assist in building up the smartforms

- On activation a function module is generated for Smartforms

- It is possible to create a Smartform without a main window

- Smartforms generates XML output which can be viewed through the web

- Multiple page formats is possible in smartforms

Regards,

Ferry Lianto

Former Member
0 Kudos

Hi Anil,

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.

It was said that it was provided in CRM 3.0 version, but not available in R/3. You can download smartforms into Local PC in a XML format. In the same way you can upload this XML format into Smartform. From the smartform editor itself you can call download option, if you are working in CRM 3.0 environment.

In R3 also, you can download into XML format. However, it's not sure about uploading. Refer to the program 'SF_XSF_DEMO'.

In 4.7 Enterprise, other have seen this utlity which is completey missing in 4.6c. There is functionality to downlaod a complete form or only a particular node. (Utilities -> Download form). It will create a XML file and save it in the hard disk.

For others, if you want to download/upload the Smartforms source, you will need the help from the Basis people. What you can do is to create a Transport and then FTP down to your local harddisk. When you need the Smartform source in another system, you have FTP up the Smartforms file back to the SAP server. Finally, the Basis team, will tp it into your system.

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.

i) The main difference is that SAP script is client-dependant, while smartform is independent. Also there are some advanced and intreractive features available in smartforms.

You can use an External subroutine-call in sapscript editor like:

/: perform <form_name> in program <program_name>

/: using <var1>

/: using <var2>

.

.

/: changing <return1>

/: changing <return2>

/:endperform

Regards,

Aneesh.