Skip to Content
author's profile photo Former Member
Former Member

def scriptf&smatform

hi experts,

what is deference bw smatforms and scripts?

thanks in advance

gangireddy.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Posted on Mar 01, 2007 at 08:15 AM

    This is a very generic question . Just search the forum. YOu will find lots of threads.

    Regards,

    Ravi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 01, 2007 at 08:16 AM

    Smartforms.

    Multiple page formats possible in smartform

    Main window may not be there in smartform

    Labels cannot be created in smartform ( disadvantage)

    Routines can be written in smartforms

    Smartform creates a function module when activated

    web services can be accessed through smartforms

    Texts of differnrent colours is possible

    Sapscripts:

    Main window must be pesent in sapscript

    web services cannoy be accessed through sapscripts

    Texts of differrent colours is not possible

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 01, 2007 at 08:25 AM

    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.

    Hope this helps.

    Regards,

    Richa

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 01, 2007 at 08:36 AM

    Smartforms.

    Smartforms are client independent.

    Multiple page formats possible in smartform

    Main window may not be there in smartform

    Labels cannot be created in smartform ( disadvantage)

    Routines can be written in smartforms

    Smartform creates a function module when activated

    web services can be accessed through smartforms

    Texts of differnrent colours is possible

    There is loop and endloop concept.

    There is exterrnally function module dynamically created.

    Background picture it is possible.

    Sapscripts:

    Scriipts are client dependent.

    Main window must be pesent in sapscript

    web services cannoy be accessed through sapscripts

    Texts of differrent colours is not possible

    There is no loop and endloop concept.

    There is no concept of dynamically function module will called.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 01, 2007 at 08:40 AM

    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

    _________________________________________

    check these...

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

    smart-forms--scripts

    difference-between-smartforms-and-sapscrits

    __________________________________________________________

    Take a look at http://www.sapgenie.com/abap/smartforms_sapscript.htm and http://www.sap-img.com/smartforms/smartform-sapscripts.htm.

    PLS: AWARD POINTS IF USEFUL

    SRI

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 01, 2007 at 08:45 AM

    smartforms: main window is not compulsory in smartform.

    we can use multiple page formats in the smart form

    function module is generated automatically when u execute a smart form.

    easy to develop and more chances for reusability.

    barcoding option is not present in smartforms but we can use smart styles for barcoding in smart forms.

    scripts: main window is complsory in scripts

    we need to use one format through out the script

    no function module is generated.

    barcoding option is there in scripts and easy to use also.

    if u r clear with the concept please reward it.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.