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 the difference between scripts ans smart forms

Former Member
0 Likes
1,330

what is the difference between scripts ans smart forms

10 REPLIES 10
Read only

p291102
Active Contributor
0 Likes
1,184

Multiple Page format is available in smartforms whereas in

sapscripts not possible.

It is possible to a smartform without MAIN Window.

Lables Cannot generated in smartforms.

Smartform generate a fUNCTION Module when it getactivated

1.Sapscript is Client dependent

Smartform is Client independent.

2.Sapscript can uploaded/Downloaded whereas

smartforms cannot.

3.protect/endprotect command in sapscript will

not work in smartforms

4.Transaction for sapscript is SE71

For smartform - SMARTFORMS

sapscripts are clinet dependent. smartforms r independent.

sapscripts allows only black and white texts. smartforms'

texts can be written in various colors.

Sapscripts has repeated transfer of control. There is no

transfer of control b/w prg. and form in smartforms.

There is an option to print a mixture of portrait and

landscape format in smartforms. but this feature is not

available in sapscript.

Sapscripts allows more than one main window. Smartforms

allows only one main widown on pagge.

Text elements in sapscripts allow if..else, case..endcase,

etc.. commands but not smartforms.

pages and windows are defined separately and then combined

to form pagewindows in sapscripts. all windows are

automatically pagewindows in smartforms.

Windows are: main, var, const windows in sapscripts.

main, secondary, copies and final windows in smartforms.

Read only

Former Member
0 Likes
1,184

hi,

1.SCRIPTS ARE CLIENT DEPENDENT

SMARTFORMS ARE CLIENT INDEPENDENT

2.WE CANNOT ADD COLORS IN SCRIPTS

WE CAN ADD COLORS IN SMARTFORMS

3.WE CANNOT GET THE FUNCTION MODULE WHEN WE ACTIVATE THE PROGRAM

WHEN WE ACTIVATE THE PROGRAM WE GET FUNCTION MODULE

4.WE CAN WRITE ENTIRE CODE IN SMARTFROM ITSELF

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.

thanks,

raji

Read only

Former Member
0 Likes
1,184

Hi Sudheer,

SAPScript is client dependent where as Smartforms are not

SAPScript is Language dependent where as Smartforms are not.

Smartforms are easy to use than SAPScript.

Thanks

Nayan

Read only

Former Member
0 Likes
1,184

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.

Contributed by : SAP ABAP/4 Programming, Basis Administration, Configuration Hints and Tips

-


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

Request you to refer the following links

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

www.erpgenie.com/abap/smartforms_sapscript.htm

Reward all helpfull answers.

Regards.

Jay

Read only

Former Member
0 Likes
1,184

hi,

Multiple Page format is available in smartforms whereas in

sapscripts not possible.

It is possible to a smartform without MAIN Window.

Lables Cannot generated in smartforms.

Smartform generate a fUNCTION Module when it getactivated

1.Sapscript is Client dependent

Smartform is Client independent.

2.Sapscript can uploaded/Downloaded whereas

smartforms cannot.

3.protect/endprotect command in sapscript will

not work in smartforms

4.Transaction for sapscript is SE71

For smartform - SMARTFORMS

Read only

Former Member
0 Likes
1,184

Hi,

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.

Refer this thread also

Read only

Former Member
0 Likes
1,184

hi!

Refer this,

Scripts Smartforms

script is client dependent smartform is client independent

more less programing in smart form

multiple page format not allowed multiple page format is possible in

in scripts smart form

can not maintain background graphics in

smartform

scripts doesnot generate any smart form generates

funtional module .

reward me if useful.

Regards,

Nagulan

Read only

Former Member
0 Likes
1,184

Sudhir,

I guess before throwing the thread if you search by just typing appropriate term in search box am sure you were get over 100 of examples.

so please do not throw this type of thread.

your kind of support may help SDN in more efficient way.

Please close this thread after giving mark.

Amit.

Read only

Former Member
0 Likes
1,184

hi

for smartforms...some links

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

http://www.sapgenie.com/abap/smartforms.htm

http://www.sapbrain.com/TUTORIALS/TECHNICAL/SMARTFORMS_tutorial.html

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf

SmartForms : some links

http://www.sapgenie.com/abap/smartforms.htm

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

http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm

http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm

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

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

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

http://www.sapgenie.com/abap/smartforms.htm

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

http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.h...

http://www.erpgenie.com/abap/smartforms.htm

for scripts..

Good ...Check out the following links - important

SAP Scripts

https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=2969311

https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=2902391

https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=3205653

https://forums.sdn.sap.com/click.jspa?searchID=1811669&messageID=3111402

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

http://sappoint.com/abap/

http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm

http://help.sap.com/saphelp_crm40/helpdata/en/16/c832857cc111d686e0000086568e5f/content.htm

http://www.sap-basis-abap.com/sapabap01.htm

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

http://searchsap.techtarget.com/tip/1,289483,sid21_gci943419,00.html

http://sap.ittoolbox.com/topics/t.asp?t=303&p=452&h2=452&h1=303

http://www.sapgenie.com/phpBB2/viewtopic.php?t=14007&sid=09eec5147a0dbeee1b5edd21af8ebc6a

Other Links

http://www.virtuosollc.com/PDF/Get_Reporter.pdf

http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm

http://www.virtuosollc.com/PDF/Get_Reporter.pdf

http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm

drawing lins, boxes and shadings

http://help.sap.com/saphelp_46c/helpdata/en/d1/802ec5454211d189710000e8322d00/frameset.htm

http://www.thespot4sap.com/Articles/Code_CostCentreReport.asp

http://www.allsaplinks.com/dialog_programming.html

http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/frameset.htm

http://www.allsaplinks.com/files/using_table_in_screen.pdf

http://www.geocities.com/ZSAPcHAT

http://www.geekinterview.com/question_details/37873

http://www.allinterview.com/showanswers/23627.html

http://abapprogramming.blogspot.com/2008/03/sap-smart-forms-brief-discussion.html

https://www.sdn.sap.com/irj/sdn/forums

http://saplab.blogspot.com

http://www.saptechnical.com/Tutorials/Smartforms/SFMain.htm.

regards

Read only

Former Member
0 Likes
1,184

hi sudheer,

well the following are the major differnces in sapscripts and smartforms.

Multiple page formats are possible in SmartForms which is not the case in SAPScripts

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.

transactions :- se71 for sapscripts

smartforms for smartforms

and moreover the sapscripts are client dependent

and smartforms are client independent.

so smartforms are more or less better versions of sapscripts.

do reward points if useful....:-)