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

difference script and smartform.

Former Member
0 Likes
752

What is the difference between script and smartform. can we change a script into a smartform? if so how?

Regards,

Kishore

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
732

Smartform forms are basically the advanced version of scripts. Easy to use and are much faster. But the final out for both the tools is almost the same.

All scripts can be converted to smartforms and the.

go to transaction SMARTFORMS, give the name of the form u want it as and then in utilities migrate SAPScript form. a pop up will open and input the script to be converted.

Hope it helps.

Shreekant

4 REPLIES 4
Read only

Former Member
0 Likes
733

Smartform forms are basically the advanced version of scripts. Easy to use and are much faster. But the final out for both the tools is almost the same.

All scripts can be converted to smartforms and the.

go to transaction SMARTFORMS, give the name of the form u want it as and then in utilities migrate SAPScript form. a pop up will open and input the script to be converted.

Hope it helps.

Shreekant

Read only

Former Member
0 Likes
732

HI,

here you go

Thanks

mahesh

Read only

Former Member
0 Likes
732

Read only

Former Member
0 Likes
732

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.

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.

Check the link,

http://www.sap-img.com/smartforms/sap-smart-forms.htm

Conversion of SAPSCRIPT to SMARTFORMS

SAP provides a conversion for SAPscript documents to SMARTforms.

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.

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.

http://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/th...

if u want more

1. in smart form Multiple page format is possible

for ex in the invoice header details will be portrait and line item details will be landscape.

this feature is not in sapscript.

2. client independent.

this smartform available all the clients, but sap script is client dependent.

3. Table painter and template is used to design the form layout easily, no need to write commands box like in sapscript

4. function module will be generated dynamically in the smartform once you done the activation, single FM integrate app. program into smart form

5. main window is optional in smartform ( without main window we can design the smartform )

6 and the form logic represented in hierarchical structure , which is represented node by node.

7. for web publishing the system provided generated xml output of the processed form

In smartforms u can have only one main window where as in case of scripts u can have more number of mainwindows

Regards,

Padmam.