cancel
Showing results for 
Search instead for 
Did you mean: 

Differences between Scripts and Smartforms.

Former Member
0 Kudos

Hi All,

Could anyone please give me eloborate details on differences in scripts and Smartforms.

Thanks in Advance.

Regards,

Goutham.

Scripts: 99 Main Windows Smart forms: 1 main window.

In Scripts: the control moves from program to script and Script to Program.

But in smart form once the control goes to smartform it will not come back until the smart form execution is done.

Please provide some more.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (4)

Answers (4)

raguraman_c
Active Contributor
0 Kudos

There are subtle but important distinctions.

1) <b>Saving </b>a Smart Form is a step done only in the development client. It commits your form changes and marks its status as inactive. A form should not be transported in this inactive state. When you are making a lot of changes to a form, it may be a good idea to save periodically. This is especially true if you are on an earlier support pack where an ABAP dump can occur sporadically during activation; in this case, all changes since your last save will be lost. Saving is quick since it does not generate any ABAP code.

2) <b>Activating</b> a Smart Form is a step done only in the development client. It switches your form's status from inactive to, well, active. Activation also saves your form and generates an ABAP function module, so it can take a while to complete. (Note: One way to speed up activation is to omit graphics until your form is close to completion.)

3) <b>Generating </b>a Smart Form can be done anywhere. It regenerates the ABAP function module tied to the form based on the latest contents of the form. This ABAP code is what your print program calls when producing output, rather than the form itself. Technically speaking, your print program doesn't even look at the form itself! Generation should be done on an active form. If this code generation does not take place, no ABAP will exist and you won't be able to produce any output. Typically, a one-time generation occurs automatically behind the scenes when you first attempt to produce output in a target system.

--Ragu

Former Member
0 Kudos

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.

I hope it helps.

Best Regards,

Vibha

*Please mark all the helpful answers

dani_mn
Active Contributor
0 Kudos
Former Member
0 Kudos

Differences between Smartforms and SAPscript

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.