Why  SAP script is client dependent ?

why  SAP script is client dependent ?

Hi,
By design, SAP script is a word processing tool which displays data on the form with the help of text elements where the logic of those is written in the print program and Forms were designed to be driven from print program, hence are often termed as client dependent. Smart forms are client independent. Bcoz it doesnu2019t use any text elements. It will be executed through a function module. When a print program calls a Smart Form, the form itself takes over to produce output, without any further direction from print program.
Pelase reward if useful.
Bye

Similar Messages

  • Why SAP Script are Client Dependent, Smartforms are client-independent.

    why  SAP Script are Client Dependent,Smartforms are client-independent.
    Edited by: Srinivasa Reddy Ariga on Oct 27, 2008 12:28 PM
    Edited by: Srinivasa Reddy Ariga on Oct 27, 2008 12:49 PM

    Before you do anything else, read this: Welcome and Rules of Engagement
    Google is your friend.  Try keywords smartforms client dependent   Next time - search first and ask second.
    oh, and it helps to get the correct forum...

  • Why  SAP Script  client-dependent  but  Smartform is client  independent

    Hi  All,
        What   are  the  fundamental  reasons   for  justifying  that  SAP Script  is  client-dependent  but  Smartform is client  independent  ???
    Regards
    jaman

    hi,
    why script is client dependent?
    the reason is:
    in script, to display some table data, we use text elements, where the text elements access the dictionary tables data. there the table from which we are fetching data, that may be a client dependent table, so first the text elements became client dependent. as script use text elements, script also became client dependent.
    hope u got the point. to b simple, the text elements r client dependent, there fore scripts also became client dependent.
    smartforms are client independent. bcoz it doesnt use any text elements. it will be executed through a function module, as you know function modules are client independent, the smartform also became client independent.
    hope ur clear, if any doubts, plz post them back.
    reward if helpful.

  • Why SAP Script is said to  be client dependent

    <b>Hi friends,
    Can you tell me Why SAP Script is said to  be client dependent .
    please let me know it
    Thank you</b>

    Hi,
    Please go through this link,
    http://searchsap.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid21_gci1190925,00.html
    Hope this will give you a clear idea.
    Feel free to revert back.
    --Ragu

  • Send sap script to client through mail

    hi gurus,
    here it goes..
    i have made a sap script and when i execute the driver program a screen pops up showing print parameters like 'print',printpreview , spool request etc.
    i assign a local printer lp01 to it and slect new spool request and click on print .
    but after that nothing happens . actually i want to view the spool number i go to transaction sp01 where i cannot find any spool numbers under my id.
    secondly,
    if i get the spool number (if i get) how to send the sap script to client's email id directly .also the sap script delivered to client should be in a printable form
    do help .points will be awarded.

    HI
    Use FM:
    Read the Spool:
        call function 'RSPO_RETURN_SPOOLJOB'
             exporting
                  rqident              = w_spoolid
                  desired_type         = c_raw  "'RAW'
             tables
                  buffer               = x_buffer
             exceptions
                  no_such_job          = 1
                  job_contains_no_data = 2
                  selection_empty      = 3
                  no_permission        = 4
                  can_not_access       = 5
                  read_error           = 6
                  type_no_match        = 7
                  others               = 8.
    Then move it ,
       loop at  x_buffer.
          x_contents = x_buffer.
          append x_contents.
          clear  x_contents.
        endloop.
    , where x_contents like solisti1 occurs 0 with header line.
    Then, fill the desired parameters and call,
    call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
               exporting
                    document_data              = wa_document_data
               tables
                    packing_list               = x_packing_list
                    object_header              = x_object_header
                    contents_bin               = x_contents_bin
                    contents_txt               = x_contents_txt
                    receivers                  = x_receivers
               exceptions
                    too_many_receivers         = 1
                    document_not_sent          = 2
                    document_type_not_exist    = 3
                    operation_no_authorization = 4
                    parameter_error            = 5
                    x_error                    = 6
                    enqueue_error              = 7
                    others                     = 8.
    Take help of this FM documentation.
    Regards
    Subramanian

  • Problem copying sap scripts between clients

    Dear Abaper's,
    while i copying sap scripts between different client i'm getting following error or warning messages. please help me to solve this problem as soon as possible.
    Copy Forms Between Clients
    ZJOML_EXC : Problem calling the transport system and Workbench Organizer

    Did you check if the script exists, is not already locked in a transport request or is defined in a local class
    Regards,
    Raymond

  • Why Scrippt a client dependent ?

    Hi,
    May be this is basic question, why do we say SAp Script as client dependent, some say, since so10 is client dependent even this is client dependent, is this correct reason or is there any other,  in which table Scripts and SmartForms stored ?
    Thanks and Regards,
                V.K.

    hi Vikram,
    If you search in this SDN forum u will get lot of similar threads, same question has been discussed many times....
    here is one link for  your reference
    https://forums.sdn.sap.com/click.jspa?searchID=12388641&messageID=3585969

  • Client dependant objects in ABAP or SAP

    5.What are client dependant objects in ABAP or SAP?

    Hi Venu,
    Sap Scripts are Client dependent
    How do we debug sapscript?
    First we need to put Break point in Print program where ever you want to stop the execution.
    After in SE71 give your form name and go to Utilities-->Active De-bugger.
    Then go to your transcation like VF03(for Invoice or Credit memo) etc to see the print preview or print the form execute it.
    When you execute it the the form Debugging will get activated and you can see your Form execution step by step.
    Thanks,
    Satya
    Edited by: SATYA KUMAR AKKARABOYANA on May 30, 2008 12:45 PM

  • Smart form vs sap script

    hi experts
    i have one doubt,
    sap script is client dependent and smart form is client independent how?
    and why we say it client dependent and independent.

    SAPscript are client dependent.
    They need to be copied from one client to another for testing. this can be done from SE71->utilities->copy from Client.
    For transferring between server as like other objects they need to be transport.
    As for smartforms they are client independent and all changes are available at the same time in all clients for execution.
    Unlike smartforms, if you want to use or modify a sapscript in a different client you need to copy it from that client or client '000'.
    This is applicable to it accessory components like graphics, texts..etc

  • Report ,sap-script,sreen painter,DDIC

    Hi all ,
    I have some query to ask.
    1)How to transport sap-script.
    2) print program of sap script are client-dependent or client-independent.
    3)Database tables ( on se11) are client-dependent or client-independent. ( is sy-mandt will make dependent or independent)
    4) how to create select-option on screen painter or with module pool programming.
    5)performance tips while creating ABAP report.
    6) How to generate new number whenever a new report is created.(e.g. when we create a customer or materia one new number ro name will be generated for customer or material).
    points for all answers assured.
    thanks.

    Hi Pillac,
    Here is answers..
    1)How to transport sap-script.
    While creating sap-script form it will ask you for abap package (class), if you assign standard package then it will ask you for change request. After completing your development you need to release your request and transport across system.
    2) print program of sap script are client-dependent or client-independent.
    Print program is client independent.
    3)Database tables ( on se11) are client-dependent or client-independent. ( is sy-mandt will make dependent or independent)
    MANDT field indicates it is client dependent table.
    4) how to create select-option on screen painter or with module pool programming.
    Check out following link...
    http://help.sap.com/saphelp_erp2005/helpdata/en/fc/eb2d81358411d1829f0000e829fbfe/frameset.htm
    5)performance tips while creating ABAP report.
    1. Do not use nested select statement.
    2. Use joins if possible ( But with limited number of tables)
    3. If you have more than 100-200 records do not use for all entries which degrades the performance.
    4. Try to use primary keys while selecting data from tables.
    5. If number of records too high in DB table and  select is not on primary key...create secondary index with where clause..will imrpove performance.
    6) How to generate new number whenever a new report is created.(e.g. when we create a customer or materia one new number ro name will be generated for customer or material).
    Create Number Range. You can use function module GET_NEXT_NUMBER which will give you next number everytime whenever you execute it.
    Cheers,
    Nilesh
    Message was edited by: Nilesh Kshirsagar

  • Report  and SAP-SCRIPT  &  SCREEN PAINTER

    Hi all ,
      I need some help.
    1)How to transport sap-script.
    2) print program of sap script are client-dependent or client-independent.
    3)Database tables ( on se11)  are client-dependent or client-independent. ( is sy-mandt will make dependent or independent)
    4) how to create select-option on screen painter or with module pool programming.
    5)performance tuning for ABAP report.
    points for all answers assured.
    thanks.

    Ihave some notes on transporting sapscript for earlier version of SAP. 
    The steps may vary based on your version and Suppport PAckages levels. 
    In the future your version and platform detials will help in a quicker response.
    Summary of sapscript EXPORT / IMPORT process.
    Steps to export Layout Sets (sapscript)
    Log on the Source system and client
    This may have to be client 000 and then again in the client in which you do developement.
    Note that sapscript is client dependent
    SE38 and execute program RSTXR3TR
    Tranport number: DS1K9#####
    Mode field: EXPORT
    File system: Server -  radio button
    The dataset name: /usr/sap/trans/data/DS1K9#####.layoutsets
    CHECK the Display dataset contents checkbox
    Execute
    Steps to import Layout Sets (sapscript)
    Log on the target system and client.  This may have to be client 000 and then in the client in which you test, or ultimatly production.
    SE38 and execute program RSTXR3TR
    Tranport number: DS1K9#####
    Mode field: IMPORT
    The dataset name: /usr/sap/trans/data/DS1K9#####.layoutsets
    CHECK the Display dataset contents checkbox
    Execute
    Note: when importing into Production, the export does not need to be performed. 
    Therefore only the import protion is required once the sapscript has been exported from Development.

  • How to transport the sap script

    Hi gurus,
    I am new to the SAP scripts. I finished the development of my form by usiing SAP Scripts. How can I transport it? Any help is appreciated!
    Thx in advance!
    Kun Bao

    check these links it will be very useful...
    How to transport SAPSCRIPT??
    SMARTFORMS translate and transport
    SAP Scripts are client-dependent objects. Hence, they may often require to be downloaded from or uploaded to SAP system
    Following programs can be used to download from/upload to SAP System
    RSTXR3TR – To EXPORT/IMPORT layout set (FORM) using a Transport Request (CTS)
    RSTXSCRP – To EXPORT/IMPORT layout set (FORM), Style, Standard Text or Device Type without using a Transport Request
    execute the Program 'RSTXSCRP' give the Script name and Export it to u'r system and then log on in different client and Import the script using the same Program.
    reward all help full answers.

  • Urgent:Why Script is cliend dependant and smartform is not client dependant

    Hi all,
    Can any one pls tell me why script is client dependent and smartform is not client dependant.
    <b>Please give some real time examples in brief</b>
    regards
    tapu

    Hi
    DIFFERENCE BETWEEN SMARTFORMS AND SAPSCRIPTS ARE:
    1. script is client dependent one while smartform is client independent.
    2. In scripts we have to write print program while in smart forms it is not necessary.
    3. In scripts we can print background logo while in smartforms we cant print background logo
    4. In scripts we have 99 main windows while in smartforms we have only 1 main window.
    5. In scripts we should write paragraph format otherwise we cant execute program while in smartforms no need to create paragraph formats .
    6. In scripts we can print the text in only two character formats.
    while in smartforms we can do with more.
    7. In scripts we dont have line types while in smartforms we have linetypes.
    8.Multiple page formats are possible in smartforms which is not the case in SAPScripts
    9.It is possible to have a smartform without a main window .
    10.Labels cannot be created in smartforms.
    11.Routines can be written in smartforms tool.
    12.Smartforms generates a function module when activated.
    SAPscript technology is based on a mainframe product from the 1980s, while Smart Forms have only been around since (roughly) 2001. With that sort of time gap, there are bound to be significant differences between the two tools. Client dependence is a fundamental one. Although SAPscript has had some incremental improvements over time, its forms have always been -- under the hood -- relatively ...
    also refer
    difference between smartforms and scripts
    Diff betwen Scripts & smartforms
    advantages of smartforms over scripts
    Whenever a smartform is created, a funciton module gets generated. So, we can access the smartform in different clients. But in case of scripts, it is not so.. So, scripts are client dependent.
    Smart Forms are implemented using the Function Module SSF*, and all the logic lies in the FM. Function Modules are client independent objects, so Smart forms are also client independent
    SAP Scripts are the Layout Forms that you design and there are aviable in the client in which you have created them, for making them available you have to copy across the clients.
    Because, Sapscripts are saved in ITF format as text in client dependant tables STXH and STXL. smartforms are not saved in client dependant tables and visible across clients.
    SAPscript technology is based on a mainframe product from the 1980s, while Smart Forms have only been around since (roughly) 2001. With that sort of time gap, there are bound to be significant differences between the two tools. As you have noted correctly, client dependence is a fundamental one.
    Although SAPscript has had some incremental improvements over time, its forms have always been -- under the hood -- relatively passive objects, with minimal embedded logic. These forms were designed to be driven and controlled by ABAP programs, much in the way ABAP programs read in database tables to produce reports; if you ever download a SAPscript form (e.g., via utility program RSTXSCRP), and look at the portable text file it produces you'll see what I mean. Many text objects (e.g., invoice header texts) are bound directly to documents which are client-dependent, so it makes sense for these text objects to also be client-dependent. From a complexity standpoint, SAPscript forms are close enough to these text objects where I can see how it made sense at the time to make them client-dependent too.
    Conversely, a Smart Form is significantly more robust and complex. For instance, it can contain program nodes and nested tables with patterns. When a Smart Form is compiled, it generates an ABAP function module – and these are always client-independent. This is appropriate, given that this form has more in common with an ABAP program than its predecessor. For instance, when a print program calls a Smart Form, the form itself takes over to produce output, without any further direction from the print program. In fact, the join is so seamless that I often find myself using a Smart Form's Initialization section for logic to handle any data gathering not handled by the print program. I would never even think to attempt this with SAPscript.
    I suspect several factors figured into SAP's decision to make Smart Forms client-independent, including customer feedback. There are significant advantages to client-independence. For instance, a change made in one development client happens immediately across all development clients. Among other things, this means we don't have to waste time figuring which client contains the most recent version -- they all do! In addition, transporting Smart Forms is easier, since we can safely bundle them together in the same transport as their client-independent print programs (no worry about mixing client-dependent and independent objects).
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Client dependent & client independent objects

    Hi All,
    What is meant by client independent & client dependent ?
    I know that sapscripts are client dependent while smartfiorms are client independent. Also reports & FMs are client independent.
    Want to have a better idea on this concept....
    Thanks in advance..
    Sweta

    If you create a table in 010 client in DEV server with CLNT as its first fields type, then you will find that table structure in all clients in DEV server. (i.e client independent)
    example: function module, abap program, smart form.
    If you create a record in that table in 010 client, you will not find that record in other clients. (i.e client dependent)
    Example: script.
    Sap script was developed a long back.
    smartform is developed to avoid these type of some restrictions
    Also:
    Client dependent Means if you create that data in one client is limited to that client only and it is not accessable in other clients
    Like SAP SCRIPTS and STD texts data
    where as Client Independent means the data if you create in one client that is available in that as well as in other clients
    Like SMARTFORMS, All dictionary Objects data and Repository objects data like Programs, Fun modules, tables etc..
    There is no specific reason behind why scripts are client dep[endent and smartforms are client independent!!!
    As for SAP -- Scripts are called client dependent because if you create client in say,200 it would be available in that only.If you want to test the script in client 300 then it won't be there,you will have to go to transaction se71 in 300 .Then Utilities-> Copy from client.Give the source as 200 & form name(i.e. script name) & copy.
    Few more reasons why....? Please read below:
    SAPscript technology is based on a mainframe product from the 1980s.SAPscript forms have always been -- under the hood -- relatively passive objects, with minimal embedded logic. These forms were designed to be driven and controlled by ABAP programs, much in the way ABAP programs read in database tables to produce reports;
    if you ever download a SAPscript form (e.g., via utility program RSTXSCRP), and look at the portable text file it produces you'll see what I mean.
    Many text objects (e.g., invoice header texts) are bound directly to documents which are client-dependent, so it makes sense for these text objects to also be client-dependent. From a complexity standpoint, SAPscript forms are close enough to these text objects where I can see how it made sense at the time to make them client-dependent too.
    MANDT is the field which differenciates the table from Client Dependent and Client Independent Tables.
    All the Scripts are Client Dependent Objects
    Smart Forms, Function Modules are Client Independent Objects.

  • Client dependent and client independent in ALE

    I am going through pdf learning of an ALE scenario,i couldnot get wat is meant by client Independent and client dependent.
    How can i conclude
    Create message type (WE81){color:green} Client independent {color}
    To create a new message type, follow these next few steps:
    u2022 Enter transaction WE81 (ALE -> Extensions -> IDoc types -> Maintain message type for intermed. Structure -> Create logical message type)
    u2022 Choose Create logical message type by double clicking on it
    u2022 Click on change icon to enter change mode
    u2022 Click on New entries to add a new type
    u2022 Enter the required message type, in our case it is ZINVRV and an appropriate description
    u2022 Save and exit.
    Your message type has now been created. The next step will be to link it to the IDoc.
    2.2.1. Link message to IDoc type (WE82 & BD69) {color:green} Client independent {color}
    To link the message type to the IDoc type follow these next few steps:
    u2022 Enter transaction WE82 (ALE -> Extensions -> IDoc types -> Maintain message type for intermed. Structure -> EDI: Message Types and Assignment to IDoc Types)
    u2022 Click on change icon to enter change mode
    u2022 Click on New entries to create the link
    u2022 Enter the message type ZINVRV and the BasicIDoc type as ZINVRV01
    u2022 Save and exit
    u2022 Enter transaction BD69 (ALE -> Extensions -> IDoc types -> Maintain message type for intermed. Structure -> Assign message type to IDoc for ALE)
    u2022 Click on change icon to enter change mode
    u2022 Click on New entries to create the link
    u2022 Enter the message type ZINVRV and the BasicIDoc type as ZINVRV01
    u2022 Save and exit
    Your IDoc is now linked to your message type. We still need to link object types and add the message to the model before we can use the message.
    2.2.2. Maintain object type for message type (BD59) Client independent
    The ALE objects are used to create links between IDocs and applications objects, to control the serialisation, to filter messages in the customer model and to use listings.
    For our own message type and IDoc you must maintain object types for the links.
    If you want to check the serialisation for the message type, then you must maintain object types for the serialisation. If no serialisation object has been maintained for a given message type, then the serialisation will not be checked for this message type.
    To add an object type to our message type, follow these next few steps:
    u2022 Enter transaction BD59 (ALE -> Extensions -> ALE object maintenance -> Maintain object types)
    DOC NAME: ALE_SCENARIO_DEVELOPMENT_PROCEDURE
    Version 1 Page 6 of 16
    ALE Scenario Development Guide
    u2022 Type in your message type ZINVRV and press enter
    u2022 Click on New entries
    u2022 Enter your object type, LIFNR (We need to use the vendor as a filter object), the segment name where LIFNR resides, Z1INVRV, a number 1 for the sequence followed by the actual field name LIFNR
    u2022 Save and exit.
    You have now created an object that weu2019ll use as a filter object in the customer model to direct the flow of messages to the various logical systems based on the vendors in the filter of the message type ZINVRV.
    We now need to add our new message type to the distribution model.
    2.3. Configuring the Distribution Model
    This task is performed on your ALE reference client.
    2.3.1. Manual Configuration (BD64) {color:green}  Client dependent {color}
    To manually configure the customer distribution model, read the ALE configuration procedure, and follow these steps:
    u2022 Perform the Maintain customer distribution model directly function. (ALE -> Distribution customer model -> Maintain customer distribution model directly)
    u2022 Specify the customer model you want to maintain and the logical system that is to be the sender of the messages OR create a new model. (Create model ALE with logical system ALELS1C400)
    u2022 Choose the receiving systems to which the sending system must forward message type ZINVRV to.
    u2022 For each receiving logical system allocate the message type necessary for communication to the receiving systems as per ALE configuration procedure.
    u2022 Create filter objects (in our case LIFNR as the object type with the associated vendor number, 0000018001 with leading zeros, in the object area) for the message types.
    u2022 Save the entries.
    Refer my query within color:green
    Edited by: aditya  sharma on Jul 14, 2010 12:57 PM
    Edited by: aditya  sharma on Jul 14, 2010 1:01 PM

    A client is an independent business unit within an R/3 System, Data in the R/3 are classified as cleint-Dependent and client-independent.
    Client-independent data such as ABAP Programs, R/3 repository objects throught the entire system. Other data is client-dependent. meaning, it can be viewed from one client. Cleint-dependent data includes customizing application and user data.
    Eg.
    Scripts are client dependent, means the changes done to SAP scripts in particular client will not be reflected in other client.
    Smartforms are client independent, means changes done in one client will be reflected in all the clients.
    Server : ECC6
    Client : 100 , 200 , 300 , 400
    Now suppose you have developed report in DV server client 100.
    Then you will be able to see that in all clients.
    Hence this is called as client independent. You can change anywhere and changes will be reflected to all ...
    Now suppose you have developed a script in DV client 100.
    You will not be able to see that in client 200 or 300 or 400 unless ytou copy that from client since it is client dependent.

Maybe you are looking for