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

script and smartforms

Former Member
0 Likes
1,127

difernce bw script and smartfrms?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,095

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) Smartforms generates a function module when activated.

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

e) In smartforms there is only one main window.

In scripts we can create 99 main windows.

f) Smartforms are client independent. but scripts are client dependent.

g) we can execute smartforms directly without driver program. But it is not possible in script.

h) peform statement is possible in script but not in smartforms.

i) loop statement is possible in smartforms.

In script for every data record controls moves from

script to driver program and to script.

In smrtforms this is not rquired.

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.

i) 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.

Regards,

Ram

9 REPLIES 9
Read only

Former Member
0 Likes
1,095

Hi,

smart forms are the advanced version of scripts.

using smart forms is very easier.they are user friendly compared to scripts.

for mare info check this link

rgds,

bharat.

Read only

Former Member
0 Likes
1,095
Read only

Former Member
0 Likes
1,096

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) Smartforms generates a function module when activated.

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

e) In smartforms there is only one main window.

In scripts we can create 99 main windows.

f) Smartforms are client independent. but scripts are client dependent.

g) we can execute smartforms directly without driver program. But it is not possible in script.

h) peform statement is possible in script but not in smartforms.

i) loop statement is possible in smartforms.

In script for every data record controls moves from

script to driver program and to script.

In smrtforms this is not rquired.

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.

i) 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.

Regards,

Ram

Read only

Former Member
0 Likes
1,095

check this

Regards

prabhu

Read only

Former Member
0 Likes
1,095

hi

DIFFERENCE BETWEEN SMARTFORMS AND SAPSCRIPTS ARE:

1).Smartforms are client independent and Sapscripts are client dependent.

2).Multiple page formats are possible in smartforms which is not the case in SAPScripts

3).It is possible to have a smartform without a main window .

4).Labels cannot be created in smartforms.

5).Routines can be written in smartforms tool.

6).Smartforms generates a function module when activated.

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.

SAPscript are CLient Dependent, SmartForms are Client Independent. The reason why SmartForms are client independent is because when you activate a SMartForm, SAP actually generates a Function Module (which as you know is client independent). The Print Program (or as SAP likes to refer to them these days - Application Program) calls your generated FM.

In the "smartforms" transaction, when you are viewing a smartform, you can go to the Environment->Function Module Name menu path to see the FM name.

SAP Smart Forms offer the following advantages:

Adapting forms without any programming knowledge due to entirely graphical user interface

Web Publishing using the generated XML output

When activating the smart form the system automatically generates the function module and at the runtime processes it.

To make any changes we have to use the Drag & Drop, Cut & Paste. These actions do not include writing of coding lines or using a script language.

We can insert static and dynamic tables. These include the line feeds in the individual table cells, triggering events for table headings and subtotals and sorting data before output.

The smart forms allow the user to include graphics, which can be displayed as a part of the form or as background graphics. During printout the user can suppress the background graphic as and when necessary.

regards

navjot

reward f helpfull

Message was edited by:

navjot sharma

Read only

Former Member
0 Likes
1,095

Hi

Scripts and smartforms both are used to desgin the outgoing documents of an Orgn

where as smartforms are latest one with advantages like You can write your own PROGRAM Lines(codes) in it and extra GUI features , without writing an external subroutines(ins cripts).

Smartforms generates a Fun module which calls the smartform.

Reward points if useful

Regards

Anji

Read only

Former Member
0 Likes
1,095

Hi,

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

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.

Reward if it is useful.

Thanks.

Read only

Former Member
0 Likes
1,095

Hi Rajamahender,

Difference between 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)

please go thru this link for more clarification

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

Reward points if helpful.

Regards,

Hemant

Read only

Former Member
0 Likes
1,095

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) smartforms = client independent

SAP script = client Dependent

h) The protect and endprotect command in sapscript doesn't work with smartforms.

Reward if useful

regards

dinesh