Skip to Content
avatar image
Former Member

Differences between Scripts and Smartforms.

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 20, 2006 at 04:16 AM

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

    sapscript-vs-smartforms

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 20, 2006 at 04:18 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 20, 2006 at 04:18 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 20, 2006 at 04:27 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 20, 2006 at 04:28 AM

    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

    Add comment
    10|10000 characters needed characters exceeded