cancel
Showing results for 
Search instead for 
Did you mean: 

diff bt sapscript n smartforms

Former Member
0 Kudos

Halo frnds,

Can anyone explain me what exactly is the difference between sapscript and smartforms and for what purpose are they used?

r they just the extended versions of each other..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

to give the answer in a one-liner...colours can b used in smart form whereas colours cannoy be used in smartforms

with regards

vijay

Answers (7)

Answers (7)

Former Member
0 Kudos

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.

for forther information u can go through this link

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

Former Member
0 Kudos

hi

i think u got enough information on the differences b/w them. howver, the most workful difference is the page format supported by them.

SAP SCRIPT does not support page format where as smartform does support it. For example, if we have three pages ..page format of 1 page is portrait,...for the second..landscape and for the third page is family..if this is the requirement..then u wont be able to print the form using sapscript where as this possible with smartform.

and the rest difference u know it from all our experts.

regards,

shamim

Former Member
0 Kudos

Hi,

Scripts:

1. Client dependent.

2. Scripts can be migrated to smartforms.

3. Data retrival is possible only through perform statment.

4. No logical conditions other than IF can't be written in scripts.

5. Not GUI friendly.

6. Can't attach URL in the scripts.

Smartforms:

1. Client Independent.

2. Smartforms can't be migrated to scripts.

3. Data retirval is possible through program lines.

4. Any logical conditions can be done.

5. GUI friendly

6. Can attach URL in the smartforms.

7. Smartforms can be taken in XML format.

8. Constants tables concept is available -- TEMPLATES.

Br,

Laxmi

Former Member
0 Kudos

hi,

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.

Also a SAPscript form can be migrated to Smartform. A SAPscript form can be migrated into a Smart Form or convert a SAPscript style into a Smart Style.

When converting a SAPscript style into a Smart Style, the system converts all paragraph and character formats with all their properties and attributes without any changes. Thus you can use the converted Smart Style without making any adaptations.

When migrating a SAPscript form into a Smart Form, the system executes the following steps:

  • It copies the language attributes and the output options.

  • It migrates the layout information including pages, windows, and their attributes and positions on the page.

  • It copies the texts in the form.

  • It displays the fields (SAPscript notation: program symbols) in the texts.

  • It converts the SAPscript commands (such as NEW-PAGE or IF…ENDIF) to comment lines and displays them in the texts.

After the migration, you have a template that you can enhance and modify according to your needs. Adapt the form logic by specifying the commands which the system converted to comment lines.

___________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 out this link:

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

___________________________________________________________________

you can check at:

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

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.

_________________________________________________________________

______________________________________________________

Former Member
0 Kudos

Here are basic diff.

IN Smart forms

1. Client independent

2. Main window is optional

3. Different type of page format in a single form

*ex one page is portrait, and next one may be landscape

4. Static (Template) and dynamic tables

5. The form logic represented by hierarchical structure

6. For Web Publishing, the system provides a generated

XML output of the processed form

7. Function module generated by Dynamically

8. More user friendly compare to sap scripts

You can visit following Links also

http://www.ossincorp.com/Black_Box/Black_Box_2.htm#Note%201

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

ferry_lianto
Active Contributor
0 Kudos

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.

Also some practical differences are:

*----


One main difference which is

visibility in the report is TABLES

(in sapscript we cannot design MATRIX like tables,

having grid lines,

but in smartforms, it is much possible to

design tables, having grid lines, color just

like excel table)

a) Sapscript requires

- driver program (se38 program)

- layout (se71 layout)

Smartforms just require

smartform,(and a program is just required for

selection screen purpose)

b) the logic of printing (ie. sequence, flow)

is CONTROLLED BY drier program,

in case of sapscript.

where as in smartform, it is inbuilt using TABLES element.

c) In sapscript we cannot write our own logic for printing.

where as in smartform,

we can write our own logic for pritning.

(we can even write SELECT Statements, DATA statements,

and many program lines + logic to suit our requirements)

Regards,

Ferry Lianto

Former Member
0 Kudos

<b> diff b/w sap script & smartforms</b>

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

Former Member
0 Kudos

Hi,

Actually I want to check the error you have done while impating the answer to this question. As per my knowledge, we can use protect-endprotect in Smartforms also. So Do check it once again.

Regards