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.

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 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

  • 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

  • Client Independent

    What is the client concept in SAP? What is the meaning of client independent?

    HI
    http://www.sap-img.com/sap-introduction.htm
    http://www.sap-img.com/general/what-is-sap--landscape.htm
    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.
    In commercial, organizational, and technical terms, a self-contained unit in an SAP system with separate master records and its own set of tables.
    There are different meanings.
    Functionality point of View CLIENT is the highest hierarchial Orgn entity in any module
    Clients again are different from each box/system like DEV,Quality and PRD.
    Generally we create more clients in DEV system one for technical and other for sandbox and other for Customization etc.
    This is a Mandatory field in all tables.
    Each client has its own set of Application,master,data. Hence we need to populate data for each clinet separatly.(I think you cant say "implementing the SAP for the client")
    Client Independant: These objects are not specific to any client. And it is universal which can be viewed,changed across the clients.
    Client Dependant: These are the objects can be viewed, changed for the client for which it has been assigned. Other clients do not have access on these objects.
    In SAP, all objects are finally stored as tables. "Mandt" is key field which determines whether the object is client dependant or not.
    Client Independant transport requests will make the transported objects available across the clients. and Client dependent transport request make the objects available only for the client mentioned by field "Mandt"
    look here:
    http://help.sap.com/saphelp_nw04/helpdata/en/b7/8a9a3aaf894871e10000000a114084/frameset.htm
    Client Independent(cross client) objects can be accessed from any client without transporting. For example, Reports and smartforms are client independent that means if you create a report or smartform in one client, this report and smartform can be viewed in another client without transporting.
    Where as client dependent objects can be viewed or accessed only in the client in which you create them.
    All scripts are client dependent and some tables are client dependent.
    There are two types of objects in SAP, client dependent and client independent. Objects used in several clients are called client independent while objects used in a specific client is called client dependent. To identify if a table is client dependent, one can use tcodes SE11 or SE12. In the table field attributes, if the MANDT field is present that table is client dependent.
    Almost all the programs and database objects are client independent.
    Only the data in Database tables are client dependent.
    Go through the below PDF file, it is having 4 pages which explains why SAP has Client independent and Client dependant..
    http://www.sappoint.com/basis/clntadm.pdf#search=%22ABAP%20%2B%20client%20independent%20and%20client%20dependant%20%22
    Create client????
    Goto Tcode su01,
    Client 810
    Give user name sap*
    password:06071992.
    presss continue.
    In the next screen :
    User: Sapuser
    Press creat buttom in the application tool bar ,
    In address tabstrip : give ur name last name and first name ,
    click on logon data: here u give the initial password, suppose password is = nihar
    click on profile give : SAP_ALL
    SAP_NEW
    Press save buttom .
    Now ur client 810 created
    Goto the SAP EASY Access Screen
    Give client : 810
    User: sapuser
    password: nihar
    press enter
    Again system will ask for final password.
    Give here exiting password: nihar
    new password: india.
    check this
    needed very urgently: ABAP real time questions and answers
    check the below link u will find lot of info..
    https://forums.sdn.sap.com/click.jspa?searchID=1815764&messageID=1967306

  • Is SAP HR client dependent

    Hi all,
      Is SAP HR client independent or dependent?
       what ever changes we make in IMG screen by logging into 1 client (eg:800) can they be seen when i login by another client (eg.000)?

    Hi,
    Almost all are client dependent...You need to transport to other client.All Configurations has to be transported to diff, server (Like QAS,PRD)  from DEV .
    Regards,
    Manoj.

  • Question concerning sap script

    Hi all experts! I have a question concerning sap script
    First some background information:
    I’ve created a sap script  that is called from a function module and from an executable program,  when I run the executable program the sap script work fine, but when I run the function module, all the variables in the sap script don’t have value
    In the function module the variables are defined in the top include
    I don’t know why these variables don’t take his value from the function module
    Any ideas?
    Thanks in advance.
    Message was edited by: Gerardo hernandez

    I think that sapscript expects its variables to be in the program which calls the fm <b>by default</b>. When you test via SE37 the framework itself is the calling program and it's unlikely that it will have a variable named kunnr-name1.
    To over-ride this default, inside your fm pass the 'options' parameter(type itcpo) to 'open_form' and set the 'tdprogram' value to sy-repid in the function module.
    I have tested this in my own environemnt and initially got the same error as you. When I set the tdprogram variable it started working!

  • It can not displayed sap script

    i have to post invoice in vendor a/c,then run to APP successfully,then execute  spool,actually hear it can displayed ABAP list file, SAP script(otf) file,and SAP script file(otf) but hear only displayed ABAP list file, SAP script(otf) file it can not displayed vendor payment advice list why. pls give me answer

    Hi Shirley,
    I assume the hardware is less on the target than on the source or they are different at least in terms of hardware specs
    If the system is not starting, check the dev_disp.log, the stderr* files, and the dev_w0 log from the work directory to find the exact error. Does the system start if you increase or decrease this value?
    Regards,
    Paul

  • Vertical line issue in SAP Script main window

    Hi All,
    I want to draw a vertical line in my main window in SAP Script output.
    But problem is in main window i am printing some texts at the beggining then i am printing line items.
    So this is not fixed line (box). It may increase/decrease based on text available before line items.
    How can i manage this prining vertival line as i don't know height, top of this line!
    Thanks in advance.
    Thanks,
    Deep.

    Hai Deep,
    Use Elements as suggested by Kodarapu.
    Now goto Paragraph Formats create a format for Item lines.
    ex.
    Name Paragraph Format as 'IL' Now click on the Push Button "Tabs" on bottom Right.
    now in "Tab Position" enter the spacing that you need for your item dispaly
    ex.
    Number     Tab position       Alignment
    1               6.00   CH          LEFT
    2               25.00  CH         LEFT
    3               54.00  CH         LEFT
    The above example is for 3 items
    Now in your Script Windows-> Main
    do the following.
    /E           ITEM_LINE_A
    IL           &EKPO-EBELP&,,&EKPO-EMATN&,,,,&EKPO-TXZ01&
    Hope it SOlves your Issue.
    Cheers,
    Suvendu

  • SAP Script & Smart forms

    Hi All,
    How to find out in a particular object whether SAP scripts or smart forms are used?
    If forms are used is there any t.code to find out which type of form is used?
    Regards,
    Vamsi P

    Hello Vamsi,
    <b>SAP scripts and SMARTFORMS - both serve the same purpose.</b>
    SMARTFORMS were introduced since the release of SAP 4.7. Earlier to that it was only SAP scripts for designing layouts. SMARTFORMS have few additional benefits in terms designing over scripts.
    Now, coming to your questions -  Every Script or a SMARTFORM has a driver program. i.e. Smart form/Script has to be called into a program. And this Driver program is in turn assigned to the relevant output type, And the output type is assiged to appropriate level of a transaction i.e. at the header level of an order or invoice etc.
    T-code: SE71 is used to design SAP script.
    T-Code: SMARTFORMS is used for designing Smart Forms.
    To find out whether a script or Smartform is used in any particular case..........you have to look into the <b>Driver program</b> that is assiged to the output type.
    Hope this helps..............
    <b>REWARD POINTS IF HELPFUL.</b>
    Regards
    Sai

  • Is it possible to use same sap script for different comp code with difflogo

    I have 3 company codes. I need to use same sap script to all  but each company code has different logo. I dnt want to go for 3 different sap script. Is it possible to change in coding
    like this
    If comp code = '100'
    print ' logo1'
    If comp code = '200'
    print ' logo2'
    If comp code = '300'
    print ' logo3'
    in same sapscript.If yes how ?

    Hi,
    Yes you can do it.
    In Sap Script use:-
    /: If Comp code='100'
       INCLUDE ZHEX-LOGO100 OBJECT TEXT ID ST LANGUAGE EN
    /:Elseif comp code = '200'
    INCLUDE ZHEX-LOGO200 OBJECT TEXT ID ST LANGUAGE EN
    /:Else
    INCLUDE ZHEX-LOGO300 OBJECT TEXT ID ST
    LANGUAGE EN
    /:Endif
    I hope this helps,
    Regards
    Raju Chitale

  • How to make SAP Script/Macro run in background like xl macros

    Hi,
    I have a recorded sap script to run, but I can see all  the steps visible in the screen. Is there a  solution in SAP to set displayalerts or screenupdate as false like excel. I do not want the viewers to see the macro running in all steps. I tried iconify, but it works only for main screen, the child screen are still visible. Please help.
    Thanks
    Mercy

    Hello.
    In my knowledge there is no Option from SAP GUI Scripting.
    When you run this from VBA you can use USER32-API function
    Public Declare Function LockWindowUpdate Lib "user32" _
      (ByVal hwndLock As Long) As Long
    Call function via public Sub:
    Public Sub DisableScreenUpdating(xhWnd&)
      If xhWnd <> 0 Then LockWindowUpdate xhWnd
    End Sub
    Public Sub EnableScreenUpdating()
      LockWindowUpdate 0&
    End Sub
    And call this whenever you have a new handle during your script:
            Session.FindById("wnd[0]/usr/btn%_STAE1_%_APP_%-VALU_PUSH").Press
            DisableScreenUpdating Session.FindById("wnd[1]").Handle
            Session.FindById("wnd[1]/usr/tabsTAB_STRIP/tabpSIVA/ssubSCREEN_HEADER:SAPLALDB:3010/tblSAPLALDBSINGLE/ctxtRSCSEL_255-SLOW_I[1,0]").Text = "DLFL"
            Session.FindById("wnd[1]/usr/tabsTAB_STRIP/tabpSIVA/ssubSCREEN_HEADER:SAPLALDB:3010/tblSAPLALDBSINGLE/ctxtRSCSEL_255-SLOW_I[1,1]").Text = "INAC"
            Session.FindById("wnd[1]/tbar[0]/btn[8]").Press
            DisableScreenUpdating Session.FindById("wnd[0]").Handle
            Session.FindById("wnd[0]/usr/btn%_STRNO_%_APP_%-VALU_PUSH").Press
            DisableScreenUpdating Session.FindById("wnd[1]").Handle
            Session.FindById("wnd[1]/tbar[0]/btn[24]").Press
            Session.FindById("wnd[1]/tbar[0]/btn[8]").Press
    When your script is completed call
    EnableScreenUpdating
    Of course People can get nervous at it seems like nothing happen. May they kill this session as they think it´s crashed.
    Hope this help.
    Br, Holger

  • 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

  • Disadvantage of Smartform and Advantages of SAP script

    Good day Gurus.,,
    Can anyone please tell me the Advantages of SAP Script over Smartforms and
    Disadvantages of Smartforms over SAP script.
    Also is there any special scenario where only sapscript could be used but not Smartforms.
    Please enlighten me....
    Many thanks

    hi,
    Smartforms are came into picture in 4.6 version to overcome the disadvantages of scripts.
    Disadvantages of Scripts
    1.scripts are client dependent.
    2.we can't add colors in scripts.
    3.It is paragraph dependent.
    4.In this  main window is compulsory.
    5.mutiple page formats are not availble.
    6.we can't add background pictures.
    Adavantages of smartforms
    smartforms are advanced versions of sap scripts,
    1.smartforms are client independent.
    2.we can add colors in smartforms.
    3.It is not a paragraph dependent.
    4.In this  main window is not compulsory.
    5.mutiple page formats are possible.
    6.we can add background pictures.
    7. it will generate one function module when activating it.
    8. total code can be written in smartforms itself.
    sap scripts used to use in previous versions if they dont upgrate current version of sap then they have to use sap scripts because smartforms are not available in the previous versions.

  • 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

Maybe you are looking for

  • HT204088 Why am I being charged for things that do not show up on my download histrory?

    I have a charge each week on my bank account from ITunes of things that I am not purchasing.  This week it is $1.29, and it does not show on my downloard history.  What is up with this?  And now I see where I hit the update button and all said FREE a

  • How do you change the apple id on the iphone 4

    My son got an iphone and we set everything up with a new id and password.  However when the automatic Apple ID comes up, it always shows the old ID. How do we get it to "read" the new ID?

  • New Pagelayout in Web page composer and TREX problem

    Hello Experts- I have created a custom page layout for web page composer pages. I havent included it any bundle file to, because we use it only for english language.  Everything works as desired. But any new page created with this layout. System is n

  • Images are not being display in people search for few users - why ?

    Hello, In my farm, users having profile picture in UPSA and they are able to see in My Profile page as well. However when I find user in People search - images are not being display for few users while for others it works. I have checked picture prop

  • Do I need to create indexes on column name?

    Following queries have been shown as bad sql :           select * from t1 where name = 'FUNCTION' Count=     7     Avg Time=13     Min Time=0     Max Time=47 select * from t2 where name = 'USER_TYPE'       Count=2     Avg Time=85     Min Time=0     M