Clear me about package concept?

While executing packages at first time the entire package loaded into memory then 2nd time execution it will executed from local memory.
if in case any update happened in any schema object then how the execution happened?
its from server or local memory?

The package is cached in shared memory on the server, not local memory on your desktop. The state of package variables is also held in the private memory area associated with each session that is using it (e.g. if you set somepackage.var := 3, that is held in your session's private memory and nobody else can see it).
If the package is invalidated by changes to underlying objects, the cached version is also invalidated and must be reloaded by the next session to use it.

Similar Messages

  • Best Practice: Usage of the ABAP Packages Concept?

    Hi SDN folks,
      I've just started on a new project - I have significant ABAP development experience (15 years+) - but one thing that I have never seen used correctly is the Package concept in ABAP - for any of the projects that I have worked on.
    I would like to define some best practices - about when we should create packages - and about how they should be structured.
    My understanding of the package concept is that they allow you to bundle all of the related objects of a piece of development work together. In previous projects - and almost every project I have ever worked on - we just have packages ZBASIS, ZMM, ZSD, ZFI and so on. But this to me is a very crude usage of packages, and really it seems that we have not moved on passed the 4.6 usage of the old development class concept - and it means that packages do not really add much value.
    I read in the SAP PRESS Next Generation ABAP book (Thomas Ljung, Rich Hellman) (I only have the 1st edition) - that we should use packages for defining separation of concern for an application. So it seems there they are recommending that for each and every application we write - we define at the least 3 packages - one for Model, one for Controller and one for view based objects. It occurs to me that following this approach will lead to a tremendous number of packages over the life cycle of an implementation, which could potentially lead to confusion - and so also add little value. Is this really the best practice approach? Has anyone tried this approach across a full blown implementation?
    As we are starting a new implementation - we will be running with 7 EHP2 and I would really like to get the most out of the functionality that is provided. I wonder what others have for experience in the definition of packages.
    One possible usage occurs to me that you could define the packages as a mirror image of the application business object class hierarchy (see below). But perhaps this is overcomplicating their usage - and would lead to issues later in terms of transportation conflicts etc.:
                                          ZSD
                                            |
                    ZSOrder    ZDelivery   ZBillingDoc
    Does anyone have any good recommendations for the usage of the ABAP Package concept - from real life project experience?
    All contributions are most welcome - although please refrain from sending links on how to create packages in SE80
    Kind Regards,
    Julian

    Hi Julian,
    I have struggled with the same questions you are addressing. On a previous project we tried to model based on packages, but during the course of the project we encountered some problems that grew overtime. The main problems were:
    1. It is hard to enforce rules on package assignments
    2. With multiple developers on the project and limited time we didn't have time to review package assignment
    3. Devopelers would click away warnings that an object was already part of another project and just continue
    4. After go-live the maintenance partner didn't care.
    So, my experience is is that it is a nice feature, but only from a high level design point of view. In real life it will get messy and above all, it doesn't add much value to the development. On my neew assignment we are just working with packages based on functional area and that works just fine.
    Roy

  • Java package concept in ABAP Objects

    Hi, just a question on grouping of classes in ABAP Objects.
    In Java, you can group classes by "package" to avoid
    namespace collision, my question, in ABAP Objects, how
    do you group classes to avoid namespace collision?
    I know that there is package concept in SAP/ABAP but it
    is different concept in Java.
    Thanks in advanced for your reply.

    Hello One and Lonley,
    the package concept in ABAP and Java is quite different. In java the package name is part of the development object in ABAP not. So any class pool name is global unique. In combination with the restriction on 30 chars this leads often to somehow cryptic names.
    The only way to escape this somehow is the excessive use of local classes. That mean classes defined within main programs. If you are on 7.00 you may check FuGr SAPLSAUNIT_TREE_CTRL_LISTENER for this technique.
    Best Regards
      klaus

  • I need  information  about  oops  concept  programming  in abap

    Hi  ,
    I need  information  about  oops  concept  programming  in abap
    Thanks,
    Asha

    Of course, the best place to start is help.sap.com.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    There are a couple good books out there as well.  You can get them at www.amazon.com
    Regards,
    Rich Heilman

  • Package Concept is in Forms ???

    Hi all ..
    Can anyone tell me whether Package concepts is in oracle forms ...
    Regards
    Sai

    we cannot save two form modules with same name in same folder but we can have in different folder
    Right !!! but does system allows you to open both these forms at one time. Do windows allo you to open another file with same name from different folder when same file name is open ??????????????.
    If you need to open these forms at run-time, then you need to specify pathname while calling the form. But only current form will be in active state.
    If your application is a menu driven, and you are calling forms only with names, and not sure where the form lies, then add a suitable paths to registry.
    Eg.. Forms60_path=c:\forms;c:\forms1; .......
    Cheers........... Bob

  • Where can I go to read about the concept of set-up and use of Key Chain to automatically insert required passwords at internet sites?

    Where can I go to read about the concept and use of Key Chain to automatically insert required passwords at internet websites? I may or may not want to use Key Chain after I understand it.

    Key Chain basics

  • Clear idea about internal table.

    I'm new in sap. i need a clear idea about what is  table type , line type and  type groups   in internal table. and why we are using this ?  and give me an idea about work area also.. theses terms are confusing me. if possible please explain me with example. thanks in advance.
    Welcome to SCN - but please do not duplicate post or ask basic questions.
    Edited by: Rob Burbank on Apr 19, 2009 4:20 P

    I'm new in sap. i need a clear idea about what is  table type , line type and  type groups   in internal table. and why we are using this ?  and give me an idea about work area also.. theses terms are confusing me. if possible please explain me with example. thanks in advance.
    Welcome to SCN - but please do not duplicate post or ask basic questions.
    Edited by: Rob Burbank on Apr 19, 2009 4:20 P

  • About Package

    How can I access from one program to anothe program through package
    If i get a simple example, it will be helpful for me.

    I'm not sure how much you know about packages, arifasi, but a package is not much more than a way to organize classes. The full name of a class, includes its package, though the Java import statement allows us to use the short name, most of the time. So, a Vector is really a java.util.Vector but putting the following import statement before your class definition, will allow you to use the short form of the class name:
    import java.util.Vector;
    If you didn't include that import statement, you'd have to use the full class name, wherever you needed a vector. (You can also import all of the classes in a package, without naming them separately, for example: import java.util.*;)
    There are also some method and class visibility issues related to packages but I don't think this is what you were asking.
    So, to access a class in one package from a class in another package, simply use the class, just as you would for any class in the same package. In order to get the compiler to recognize which class you're trying to access, you need to use either the full class name, including the package, each time, or add an import statement, as mentioned above.
    Note that you've probably already done this for classes like Object, String, and so on, without realising it. The compiler automatically includes an import of the java.lang package, so you don't need to do this yourself.
    Tony

  • Info, detail about package check ?

    Hi,
    Does anybody have any documentation about package checks?
    I would like to perform cross package checks, already went though <a href="http://help.sap.com/saphelp_47x200/helpdata/en/37/72b3392f65f530e10000000a114084/frameset.htm">Package Builder Online help</a> and found OSS Note Number: 648898 - Switching on the package check, however this area seems to have lack of documentation.
    Found some info about table PAKPARAM in the mentioned OSS note, however I couldn't find any info about PAKCHEKTYP and all of the PAK* tables.
    It seems checks are performed via PA_SLIN_PACKAGE_CHECK.
    Any info or detail is appreciated.
    Thanks in advance,
    Peter

    Hi Fabrizio,
    1. This is a normal
       'authorisation not there'
      issue.
    2. Contact your basis team
       and they will help out
       by assigning the values
       for the particular auth object
       for the required profile
       for the particular user !
    regards,
    amit m.

  • Qustions about Package "Groups"

    Hello,
    I have some general questions about package "groups" in Pacman. Mainly, I'm curious about who is responsible for deciding when a group will be made and what packages will be included. For example, I type in "pacman -S gnome" and get this:
    gnome package not found, searching for group...
    :: group gnome (including ignored packages):
    epiphany gnome-applets gnome-backgrounds gnome-control-center
    gnome-desktop gnome-icon-theme gnome-media gnome-mime-data gnome-mount
    gnome-panel gnome-screensaver gnome-session gnome-settings-daemon
    gnome-themes gnome2-user-docs libgail-gnome metacity nautilus
    notification-daemon yelp
    :: Install whole content? [Y/n]
    Who decides what all those packages will be? Is there a place where users can provide input about what should be included? I realize a big part of package groups by be simply ease of dependecy managent, but it seems it would be a useful tool for users to get a system up and running quickly. For example, there are several basic things that one would need to get a usable "desktop" up and running (not counting the WM or DM). For example, xorg, alsa, etc.
    I understand that Arch is all about simplicity and building a system from the ground up, which I totally love, but many of us are still going to have the same core goals in mind when setting up a "desktop" system.  We're all going to need xorg, want sound, desire pretty fonts, and have some common useful apps. So, for anyone that falls into that category, a package group called something like "arch-desktop" could include some of these core components. We could even eventually have additional groups tailored towards specific DMs like "arch-desktop-xfce" or "arch-desktop-gnome".
    Now, I realize I've totally spun this specifically for this propsed "arch-desktop" group but I guess my main point was to find out where one could provide official input for such things.
    Thanks!
    Swill

    Mr. Swillis wrote:It seems to me like something that could make things "quicker" for an advanced user to get setup (less stuff to remember) and perhaps "easier" for teaching new Arch users.
    Since pacman will resolve all dependencies, all you need is to do a
    # pacman -Syu
    # pacman -S gnome
    after a core-install. Everything else you would need, could be clutter to someone else. I don't believe there is something as a 'sane default of packages'. Maybe if you're a fan of a particular windowmanager, then you might be interested in what the majority uses for a panel, a taskbar, a background-image-viewer, but also then there are so many choices and personal preferences that everyone could make his or her own group of packages.
    my 0.02€

  • Where can i find clear information about sap function modules?

    where can i find clear information about sap function modules?
    for example,
    if i want to know whats the use of function module  "SAPGUI_PROGRESS_INDICATOR" .
    where i can find all the detail info..
    is there any sap transaction code for knowing about all function modules and there use?
    Regards
    Smitha

    Hi:
    For documentation, you have to find it out in se37 but it is not neccessary every Fm would have.
    Now question is about its used (if you know th e function module)-> go in se37-> put function module -> select where used list -> select used in like - program, class, BSP application etc -> click on ok; it would give the list of its used and just go in that find  how it is being used.
    if you have to find the function module for table - > go in se11 -> select table name -> click on where used list -> select function module  interface and click on ok, it would give the list of  its used.
    Otherwise go in g o o g l e dot  c o  m.
    Regards
    Shashi

  • How SCCM works internally, about design concepts and working principal of ConfigMgr?

    Hi Guys,
    Could you please recommend me any sort of data or link which explians
    how SCCM works internally, about design concepts and working principal of ConfigMgr.
    I have gone through many sites and videos but they only talk about how to work on SCCM with features however they do not talk about
    how SCCM works\inner working of ConfigMgr.
    Thanks very much in Advance!
    Regards,
    Chandan

    Not really sure what you're looking for here. Not much is explicitly published on the internals and most of what is "known" is anecdotal or based on reverse engineering by the community.There are specific things that have been documented fairly
    well, but those are scattered among various blogs. We can potentially address direct questions here in the forums or point you to that info, but there's not much to really direct you to as a single source because it doesn't really exist in general.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Returnable transport packaging concept.

    Dear Experts,
    Please help me to understand Returnable transport packaging concept. what are the pre requisites involved like material master data. & regarding traceability of the material.

    Hi all SAP GURUS,
    we have 1 special requirement involving of Capital Tools/Equipments( Capital Asset  ), which we need to send to different sites thru ordinary truck wherever it requires and once the work is complete at site then 2 possibilities
    1)  If there is no further demand on tools then again we will take back of tools from site to our plant
    or
    2)  If any demand further for tools then  we need to send these tools from that site itself to another site where it requires.(i.e means not taking back the tools from the site to our plant.)
    Note : In some cases some of tools not further required then some we will take back to our plant and some are again sent to another site where ever it trequires
    Requirements to be fulfilled are:
    Till we didnt created any Material masters for this so suggest the best possible method to follow in order to suit the above requirement considering the below constraints.
    1) Tracking of Capital Tools at every point of time
    2) Considering the Excise and Taxes involved in the above process at different poins of time
    3) Documents which are required to prepare as per all Laws.

  • Not clear about some concepts.

    I'm a newbie on installing Oracle8i.
    I 'm confused with some concepts in installation.
    A.Listener Name
    B.Service Name
    C.Net Service Name
    Question:
    1.Does one A listen on only one port?
    2.Can one A commuticate with several db instance?
    3.Does B stand for a db instance's name?
    4.Is B the same as ORACLE_SID?
    5.If the host I'm running Oracle has the name as "xxx.yyy.com",then can I give B the form as "db1.xxx.yyy.com"?
    6.Does C have the similiar meaning as all entries defined in /etc/services?
    7.Shoud I add some entry in /etc/services for any of A\B\C?
    Thank you!
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Q:
    1. No, you can configure your listener so that it listens to more than one port
    2. Yes, it can. Just add your databases to your listener.ora using netasst
    3. It doesn't need to be the same
    4. It doesn't need to be the same
    5. No, it has nothing to do with what you do in /etc/services
    6. No, you can leave /etc/services alone<HR></BLOCKQUOTE>
    Thanks,and some other questions:
    8.Does ORACLE_SID stands for a db instance's name.
    9.What's the relation between B and a db instance's name and ORACLE_SID?
    10.What's the relation between A and C.

  • Package concepts

    Hi,
    What is Forward Declaration in Packages means?Also one more question .Suppose i have declared 5 functions/Procedures in Package Specification but in Package Body i am giving body(Definition) to only 3 of them .will it throw some error on Compiling.Please explain the concept.Thanks

    user12920808 wrote:
    What is Forward Declaration in Packages means?How about reading docs? Forward Declaration
    Suppose i have declared 5 functions/Procedures in Package Specification but in Package Body i am giving body(Definition) to only 3 of them . will it throw some error on Compiling. Please explain the concept.Every procedure/function declared in package specification is publc and anyone who has execute privilege on that package can call that procedure/function. So it is obvious procedure/function must be defined in package body. At the same time package body can define procedure/function that is not in package specification. Such procedure/function is private and can't be called from out side.
    SY.

Maybe you are looking for

  • Can photoshop CC open raw files from Lightroom 5?

    Trying to open raw files from Lightroom 5 in Photoshop CC 2014, with no luck. Anyone?

  • Digitizer tablet for Whiteboarding in Adobe Connect

    Hello, We have a number of users at my company who are interested in a stylus/tablet for use with the whiteboard features in connect, apparently they have tried the bamboo on their own and they were less than thrilled with the performance. Was wonder

  • How to clear/free SAP memory

    Hi All, How can i make sap memory free. Actually i am doing a BDC program where i am generating personnel no through PA40. My requrirement is to clear personnel no in each loop pass of the BDC transaction so that a fresh personnel no gets generated a

  • Archive log automatically getting deleted

    Hi, My Archive logs are getting automatically deleted from ASM. I keep my Archive logs in FRA. My alert log shows deletions like this: Deleted Oracle managed file +DATA1/orcl/archivelog/...Retention policy to recovery window is set to 24 days. The +D

  • Help needed in geocoding through sdo_gcdr.geocode_addr_all

    Hi all, I am using the below SQL for the same. I am able to use the below query SELECT SDO_GCDR.GEOCODE('GEOSAMPLE',SDO_KEYWORDARRAY('CALIFORNIA PACIFIC MEDICAL CTR', 'US','92306'), 'US', 'DEFAULT') FROM DUAL; but now I want to use geocode_addr_all b