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

sap script &smartforms

Former Member
0 Likes
555

hi

what r the differences between sapscripts and smartforms.if smartforms is an enhanced version of sapscript then y is sap still having sapscripts.ie,is there any features in sapscripts that cannot be done in smartforms

thanks in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
528

Disadvantages,

1. Labels cannot be created in smartforms.

2. Routines can be written in smartforms tool.

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

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

Difference b/w smartforms and scripts.

Script Smartforms

client dependant independant

not possible multiple page formats are possible

compulsory without main window it can

labels are used labels cannot

not generated once session created function module

Difference b/w smartforms and scripts.

Script

client dependant

multiple page formats not possible

compulsory

labels are used

not generated

Smartforms

client independant

multiple page formats are possible

without main window it can

labels cannot

once session created function module

http://www.saptechnical.com/Tips/ABAP/SmartFormAdvantages.htm

Smartforms have all the functionalities of Sap Scripts. I found the following which cannot be achieved with smartforms.

1. Smart forms are client independent.

2. Lable printing software (for example BARTENDER) can be directly inserted into SAP Script thus enabling Scripts to print Lables. Smartforms do not recognise such code. So whenever you create a label you will need to start from scratch in smartforms.

Hope this will help u...

4 REPLIES 4
Read only

Former Member
0 Likes
529

Disadvantages,

1. Labels cannot be created in smartforms.

2. Routines can be written in smartforms tool.

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

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

Difference b/w smartforms and scripts.

Script Smartforms

client dependant independant

not possible multiple page formats are possible

compulsory without main window it can

labels are used labels cannot

not generated once session created function module

Difference b/w smartforms and scripts.

Script

client dependant

multiple page formats not possible

compulsory

labels are used

not generated

Smartforms

client independant

multiple page formats are possible

without main window it can

labels cannot

once session created function module

http://www.saptechnical.com/Tips/ABAP/SmartFormAdvantages.htm

Smartforms have all the functionalities of Sap Scripts. I found the following which cannot be achieved with smartforms.

1. Smart forms are client independent.

2. Lable printing software (for example BARTENDER) can be directly inserted into SAP Script thus enabling Scripts to print Lables. Smartforms do not recognise such code. So whenever you create a label you will need to start from scratch in smartforms.

Hope this will help u...

Read only

Former Member
0 Likes
528

Hi Prakasam,

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.

Hope this resolves your query.

Reward all the helpful answers.

Regards

Read only

Former Member
0 Likes
528

Hi Prakasam,

Basically Script is client dependant and smartform is client independant.

Check these links.

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

Regards,

Priyanka.