Skip to Content
author's profile photo
Former Member

Difference

Between the Script& Smart form, Set Parameters & Get Parameters,Templete & Table

please forward to the mail id is sathish23.kk@gmail.com .

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 04:37 AM

    Hi,

    SAPScript is client dependent and Smartform is client independent.

    So you need to transport the SAPScript from the development client to test client if both are in the same system.

    Because Smartform is client independent it will behave like report program.

    Also, a function module is generated when we activate a smartform. This function module remains same, whenever we activate the smartform. But this function module will differ in different servers( for ex. function module generated in development is not the same as in production server).

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 04:41 AM

    Hi,

    SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens

    SAP global memory retains field value through out session.

    set parameter id 'MAT' field v_matnr.

    get parameter id 'MAT' field v_matnr.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 04:43 AM

    SAP Script

    1.Clinet Dependent

    2. Multiple page formatting is not possible

    3. 2 Componets(Print program and LAyoutset)

    Smartforms:

    1.Client Independent.

    2. Multiple page formatting is not possible

    3. 3 Componets(Print program, Function module and Layoutset)

    whenver u activate a smartform it will create a smartforms

    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)

    2 Which we have to use

    If we are copying some standard sapscript,

    then we have to go for sapscript only.

    We can use both. but practically smartforms is easier to

    develop.

    SET/GET PARAMETERS

    SET/GET PARAMETER stataments are to set/get a value in ABAP MEMORY (not SAP MEMORY), they are often used to tranfer a value from calling program to called program:

    REPORT ZREP1.

    DATA: MY_NAME(3).

    MY_NAME = 'MAX'.

    SET PARAMETER ID 'ZMY' FIELD MY_NAME.

    SUBMIT ZREP2 AND RETURN.

    REPORT ZREP2.

    DATA: MY_NAME(3).

    GET PARAMETER ID 'ZMY' FIELD MY_NAME.

    WRITE MY_NAME.

    Refer

    Use of SET/GET parameters

    http://help.sap.com/saphelp_erp2005vp/helpdata/EN/9f/db9e0435c111d1829f0000e829fbfe/frameset.htm

    Regards

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 04:57 AM

    hi

    go to this link

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

    it will helpful.

    thanks.

    prashant

    Add comment
    10|10000 characters needed characters exceeded