Map.put() can destroy other objects' maps

Hi,
I assign a new value to an already existing key in a map:
map.put(key1, value1);
map.put(key1, value2);
While still ok in memory, the state of many maps in the database becomes
invalid.
The statement that Kodo logs is the following:
UPDATE JUNIT.MAPWI_MAP SET JDOID = ?, JDOID_VALUE = ? WHERE JDOID_KEY
= ?
Instead of just changing the value in the map's table, Kodo also changes
the owner.
I think the following statement would be correct:
UPDATE JUNIT.MAPWI_MAP SET JDOID_VALUE = ? WHERE JDOID_KEY = ? AND
JDOID = ?
A workaround is to check if a key is already in a map and removing it
before assigning it a new value. That way Kodo makes "delete" + "insert"
instead of "update".
We use Kodo 3.0.0 on Oracle.
--Wolfgang

Thank you very much for this bug report. We've fixed the problem
internally; 3.0.1 will include the fix.

Similar Messages

  • Can you destroy an object?

    I have been looking around for an answer to this question a little while and have also posted on the Java .net forums too.
    But Im writing a little game where things appear on the screen, then because of user interaction, they dissapear. simple enough, I have my objects stored in a sequence, that I bind to a Group{} in my main Frame.
    The issue is that each of these objects get removed from the game via the *delete sequence* code segment and because they have their own timelines which does its own collision detection, the object never seems to get de-referenced and after a while I get out of memory exceptions and the game slows down to a halt.
    Firstly, I added functions to stop all timelines in each element before deleting it from the sequence, but it didnt appear to work as the game still slows down.
    So my question is, can you destroy an object? I just need it gone completly, and if there is a work-around, how can I be sure that it works? Currently the netbeans profiler isnt too easy to read, but that just maybe me (anyone else having issues reading the results of a JavaFX profiled app?)
    Thanks for any help that you can think of...
    Mark

    Are you 100% certain that there are no references to the object left after you remove it from the sequence? There is no way to explicitly destroy objects in Java; and this behavior extends to JavaFX. If you check the code and you're 100% sure that no references are left hanging out there, check Jira.
    [http://openjfx.java.sun.com/jira/|http://openjfx.java.sun.com/jira/]

  • Hi,how can i transport objects from one server to other like (Dev To Qty)

    Hi Sir/madam,
       Can u explain how can i transport objects from one server to other like (Development To Quality To Production).
    Regards,
    Vishali.

    Hi Vishali,
    Step 1: Collect all Transports(with Packages) in Transports Tab(RSA1)- CTO
    Step 2: Release the subrequests first and then the main request by pressing Truck button
    Step 3: STMS or Customized transactions
    Object Collection In Transports:
    The respective Transports should have the following objects:
    1. Base Objects -
    a. Info Area
    b. Info object catalogs
    c. Info Objects
    2. Info Providers u2013
    a. Info Cubes
    b. Multi Providers
    c. Info Sets
    d. Data Store Objects
    e. Info Cube Aggregates
    3. Transfer Rules u2013
    a. Application Components
    b. Communication Structure
    c. Data Source replica
    d. Info Packages
    e. Transfer Rules
    f. Transformations
    g. Info Source Transaction data
    h. Transfer Structure
    i. Data sources (Active version)
    j. Routines & BW Formulas used in the Transfer routines
    k. Extract Structures
    l. (Note) If the transfer structures and related objects are being transferred without preceding
    Base Objects transport (e.g. while fixing an error) it is safer to transport the related Info
    Objects as well.
    4. Update Rules u2013
    a. Update rules
    b. Routines and formulas used in Update rules
    c. DTPs
    5. Process Chains u2013
    a. Process Chains
    b. Process Chain Starter
    c. Process Variants
    d. Event u2013 Administration Chains
    6. Report Objects u2013
    a. Reports
    b. Report Objects
    c. Web Templates
    Regards,
    Suman

  • Keep refereces to other object

    Hello,
    I must do a thing that it's clear to me in C++ but not in Java (and maybe I can't do that with Java); my situation, a bit simplified is this (not full corrected Java):
    class A {
        String type;
        List<B> listObj1 = new ArrayList<B>(); //it could be a long list and I wanted avoid this!
        //here I would like to keep a list of references to B and not duplicate them into a List
    class B {
        String type;  
    //main
    List<B> listB = new ArrayList<B>();
    //fill listB
    List<A> listA = new ArrayList<A>();
    //fill listA
    //check for A and B similirity:
    for (A a :  listA) {
      for (B a :  listB) {
           if ( A.type.equals(B.type) {
                A.listObj1.add( B ); //this will put a copy of B into listObj1, don't want this.
    } So, B can shared same property with A; in this case I need to keep linked the 2 objects; I don't want to put B inside A since I even have other Object with the same feature, So basically I would go to duplicate a lot of stuff; Moreover: there I put 2 for to do this; I think I could avoid it checking for this common property while I fill the listA (since listB is already filled) like this:
    List<B> listB = new ArrayList<B>();
    //fill listB
    List<A> listA = new ArrayList<A>();
    while (something) {
      A a = new A();
      //do some stuff on 'a';
      for (B b :  listB) {
           if ( b.type.equals(a.type) {
                a.addReferencesToBObject(b)
       listA.add(a);
    }Another ponit is that the Object B don't belong to A; they just have a field in common, soI think is not correct say that "an Object A HAS same Object B" (not true).
    Hope this clear, thanks
    Edited by: mickey0 on Aug 25, 2010 3:39 AM

    Depends if I understand you correctly - in the snippet you posted it shouldn't loop over the B list each time. But you might want to explain the problem better (in English with real class names). Also create B with a type A before you create the A seems a bit odd unless you have overridden A#equals() and #hashcode().
    Map<A, List<B> beesByType = ...
    List<B> listB = new ArrayList<B>();
    //fill listB
    while(/*something*/) {
      B b = new B();
      // note: get can return null would need to create a new list in that case
      beesByType.get(b.type).add(b);
      listB.add(b);
    List<A> listA = new ArrayList<A>();
    //fill listA

  • How do you search through configured Alternate Extensions to correct error message : The phone number or extension has already been assigned to some other object.

    When configuring a new Unity Voicemail Account I receive this message : The phone number or extension has already been assigned to some other object. I understand that this means that the 10 digit number I am trying to configure as the alternate extension for this user is already configured for another object with Unity.
    I need to search by the 10 digit number and determine where it is configured so I can change it and map to the correct end user.
    I have attempted to to search Users via DTMF Access ID using the 10 digit number with nothing being returned via that search.
    How do I Search all of the copnfigured Alternate Extensions within our Unity Server?

    A subscriber info dump is likely the fastest way.  If you're curious regarding other methods, you can also use the Data Link Explorer (CUDLE) tool which is in the Cisco Unity Tools Depot.  All extensions for all objects are referenced in the "DTMFAccessId" table.  The View menu has a Query Builder which you can use to compile a SQL query that searches for a digit string.  It's best to search for both the 10 digit string as well as an abbreviated string as Unity sees them essentially the same and they are usually should be associated with a single subscriber.  Once you find a match, you can use the "ParentObjectId" value associated with the DTMF access ID to look for a matching owner in the "GlobalSubscriber" table.  The ParentObjectId should match the SubscriberObjectId for a subscriber (assuming the DTMF access ID is assigned to a subscriber).  This is the same thing as looking at SQL; however, you are not directly accessing the DB so this is generally considered the safest way to browse and get a feel for where things are.
    Hailey

  • MDT 2012 - Will not continue after Windows 8 x86 LTI Deployment First Logon - FAILURE (Err): 429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object

    I've looked at all the other threads I could find in Technet that look close to this issue.
    In my BDD.log, the last entry is "FAILURE (Err): 429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object" right after "RUN: regsvr32.exe /s "C:\Users\ADMINI~1\AppData\Local\Temp\Tools\x64\Microsoft.BDD.Utility.dll""
    I have the following:
    C:\_SMSTaskSequence folder
    C:\MININT folder    
    LiteTouch.wsf link under the Startup Folder
    Deployment share is mapped properly
    System logs in automatically as local administrator
    Even with this, it does not automatically resume the imaging job. I do not understand why it is not continuing.
    If I launch the LiteTouch.wsf from an Admin elevated cmd window, the Task Sequence resumes like nothing was wrong.
    Any guidance is appreciated!
    EDIT1: I changed my customsetting.ini file to join a workgroup instead of the domain and it appears to be continuing without issue now. Is there something I am missing as to why it does not automatically run when it joins to a domain?

    Just wanted to provide an update.
    So, i took the suggestion of a few other blog posts and moved the object into the Computers Container in AD so it did not have any policies impacting it. After doing this, it properly cycles through the application installs and reboots in the Task Sequence
    while joined to the domain.
    Is there an sort of comprehensive list of GPO settings that break MDT? The ones I have found (legal prompt, etc.) we do not do so it has to be something else.

  • Urgent:eror:ActiveX component can't create object:fdmFM11xG5C.clsFMAdapter

    Hi All,
    I get the following error :
    Error: ActiveX component can't create object: 'fdmFM11xG5C.clsFMAdapter'
    At Line: 45
    while trying to map a target FM account
    I have used the following adapter fdmFM11xG5C for registering.
    I have registered the adapter using the given documentation still things are not working the same.
    FDM and HFM are installed on two different machines.
    I have also referred to an earlier forum which had the same issue.
    Kindly let me know what to do here.
    Edited by: user12276446 on Jun 27, 2010 11:52 PM

    Create a domain user which has administrator access in both machines. (creating a local user with same name and password in both machines may NOT solve the issue).
    Make sure the that the user is added to the Administrators group. The minimum required rights additionally are:
    Act as part of the Operating System
    LogOn as a batch job
    Access this computer from the network
    For FDM Task manager: LogOn as a Service
    Additionally, check the following two options under Security Options
    DCOM: Machine Access Restrictions
    DCOM: Launch Restrictions
    Mine worked with both these as blank. If you cannot remove them, delete the content of the registry keys (not the keys): MachineAccessRestriction & MachineLaunchRestriction under HKLM\Software\Policies\WindowsNT\DCOM
    Configure HFM DCOM (with the EPM config) using this domain account
    Configure the FDM adapter with this user
    You may have to configure the IIS application pool with this user as well.
    Make sure that this user has rights to the file system where things are installed.
    + the users running the IIS web apps must also have access to the file system (better to add them to the group Users)
    ~
    Sayantan

  • IDCS3 Mac Applying effects changes colour of images and other objects

    Something strange happening in InDesign CS3. Hope someone can help me.
    When I apply an effect such as drop shadow to an object the colours of all the other objects on the page change. When I say change I mean almost like converting profiles (e.g. rgb to cmyk). The colours change on all the objects of the page but does not affect objects on other pages of the same document. Does applying an effect such as drop shadow or gradient alter the colour profiles of other objects?
    Very puzzling. Is it a bug or am I doing something wrong?
    I am on a Powermac G5 running Tiger. My colour settings are (throught Bridge) ProPhoto RGB and Coated Fogra 39 for CMYK.
    Profile mismatches are set to preserve embedded profiles for both RGB and CMYK.
    Regards
    Jach

    Thanks Peter for your quick response.
    Your answer was spot on. Changing the transparency blend space to Document RGB has put it right.
    Regards
    Jach

  • Requirements to put my own value object into the context

    Hello,
    are there any requirements to put my own value object into the context?
    I got following exception
    An error has occurred:
    "Failed to process the request."
    Please contact your system administrator.
    Hide details
    Web Dynpro product information:
    Product: null, Vendor: SAP AG, Version: null, Build ID: 6.3006.00.0000.20040617153350.0000, Build Date: Mon Aug 16 09:18:37 CEST 2004
    Error stacktrace:
    java.lang.ClassCastException
         at com.sap.tc.webdynpro.progmodel.context.Paths.getAttributeInfoFor(Paths.java:186)
         at com.sap.tc.webdynpro.clientimpl.html.uielib.standard.uradapter.DropDownByKeyAdapter.setViewAndNodeElement(DropDownByKeyAdapter.java:230)
         at com.sap.tc.webdynpro.clientimpl.html.uielements.adaptmgr.URAdapterManager.getAdapterFor(URAdapterManager.java:230)
         at com.sap.tc.webdynpro.clientimpl.html.uielements.adaptmgr.URAdapterManager.getAdapterFor(URAdapterManager.java:63)
         at com.sap.tc.webdynpro.clientimpl.html.uielib.standard.uradapter.TableAdapter$ContentCell.getContent(TableAdapter.java:1295)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.SapTableCellRenderer.render(SapTableCellRenderer.java:57)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:268)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:94)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.SapTableRowRenderer.renderSapTableRowFragment(SapTableRowRenderer.java:67)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.SapTableRowRenderer.render(SapTableRowRenderer.java:33)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:268)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:94)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.SapTableDefaultBodyRenderer.renderSapTableDefaultBodyFragment(SapTableDefaultBodyRenderer.java:96)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.SapTableDefaultBodyRenderer.render(SapTableDefaultBodyRenderer.java:29)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:268)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:94)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.SapTableRenderer.renderSapTableFragment(SapTableRenderer.java:394)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.SapTableRenderer.render(SapTableRenderer.java:49)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:268)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:94)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutCellFragment(GridLayoutRenderer.java:609)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutRowFragment(GridLayoutRenderer.java:312)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutFragment(GridLayoutRenderer.java:250)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.render(GridLayoutRenderer.java:57)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:268)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:94)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:235)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:41)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:268)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:94)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ViewContainerRenderer.renderViewContainerFragment(ViewContainerRenderer.java:93)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ViewContainerRenderer.render(ViewContainerRenderer.java:33)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:268)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:94)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutCellFragment(GridLayoutRenderer.java:609)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutRowFragment(GridLayoutRenderer.java:312)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.renderGridLayoutFragment(GridLayoutRenderer.java:250)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.GridLayoutRenderer.render(GridLayoutRenderer.java:57)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:268)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:94)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:235)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:41)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:268)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:94)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ViewContainerRenderer.renderViewContainerFragment(ViewContainerRenderer.java:93)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.ViewContainerRenderer.render(ViewContainerRenderer.java:33)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:268)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:94)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.UiWindowRenderer.render(UiWindowRenderer.java:32)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:268)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.AbstractRenderManager.render(AbstractRenderManager.java:94)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendHtml(HtmlClient.java:454)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:286)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:178)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:632)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:57)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:139)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:101)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:45)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:383)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:333)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:311)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:811)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:235)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:144)

    Hi Jurgen,
    Can you please explain what you are trying to do in detail. Do you want to create a Node dynamically in the context or, you want to populate a Node in a Context???
    The stack trace, does not reveal what you want to do with the value object!
    Thanks and Regards,
    Vishnu Prasad Hegde

  • How to recover a state of  one objects threads by other object

    hi everyone
    how to recover a state of one object's threads by other object..
    i am creating a object in that i have 10 thread..... i have started it then i have closed that object ...then i am creating a new object for the same class ...i need to stop those thread which i have started earlier

    saiyath_babuhussain wrote:
    hi everyone
    how to recover a state of one object's threads by other object..Objects don't own threads so that's hard to understand
    >
    i am creating a object in that i have 10 thread..... i have started it then i have closed that object ...then i am creating a new object for the same class ...i need to stop those thread which i have started earlierWe don't so much stop threads as inform them politely that their services are no longer required. When you have a long running thread it's almost always a loop, often with a wait or sleep which causes it to wait until it's activitty is needed.
    So if you want to be able to wind up a thread from another thread then you put a boolean flag in which can break the loop. The other thread then changes that flag and calls interupt() on the thread it's trying to stop. Interupt will kick the thread out of wait or sleep if that's where it is, causing an InterruptedException. On discovering that the flag indicates it should stop, or on catching an InterruptedException the thread should then clean up and finish.
    The master thread can call join on the thread it's stopping if it needs to wait for it to terminate.

  • "Create Simple document" from other objects

    Scenario: Creating a document using option "Create Simple document" from other objects
    I have created a document type and defined the object link for Functional Location with option "create simple document"
    When clicking on create icon on the additional data tab on IL02 screen, The system asks for the document type and then the file to be uploaded.
    The document type that i have defined has the Description filed as mandatory field and hence i am not able to create the document.
    However, for the Document type when i set the description field as not mandatory the system creates DIR. But this DIR has no description.
    Please let me know if there is a BADI, using which i could set the Functional location name as the description OR if there is some enhancement by which the user is asked to enter the description when creating the document.
    Warm Regards,
    Vivek Mohankumar

    Hi Vivek,
    After my tests I would like to inform you that this is                  
    the standard system behavior as the document description field is       
    maintained as mandatory in transaction DC10. Please note that for the   
    simple creation of documents this should not be set as a mandatory      
    field.                                                                               
    The creation mode can be defined in transaction DC10 for each object    
    under 'Define object links'.                                                                               
    Please note that the value "1" for the creation of documents is used    
    to enable a user to simple attache a word file to an object             
    without going to the transaction CV01n. Therefore the system behaviour  
    is different then creating a document by CV01n and attaching a          
    file to it. With simple creation mode there should not be any           
    mandatory fields as the user cannot enter anything during the creation  
    process.                                                                               
    However, you can change the behaviour how the document is created by    
    MM02 transaction if you change the customizing in transaction DC10      
    like this:                                                                               
    If you maintain the value "2" for creation of documents, the user is    
    put to transaction CV01n and then the description can be entered. So    
    maybe this would solve the issue.  
    Regarding a useful BADI I can only recommned you to test BADI DOCUMENT_OBJ1,
    DOCUMENT_OBJ2 or DOCUMENT_MAIN01 for fill the description field.
    I hope this information could be useful for you and help to avoid the   
    mentioned error message.                                                                               
    Best regards,
    Christoph

  • Pojo used by many other objects

    Hello all,
    In my application I have got a complex entity containing lists and maps filled with data by the persistence tier and that entity is to be used by many other objects in my application, including many controllers. I am trying to find a way to access that pojo in the most practical way. For that I could use a kind of factory such as:
    public final class MyPojoFactory
        private static MyPojo instance;
        public static MyPojo getInstance(){
        if(instance == null){
           instance = new MyPojo();
           return instance;
    }and then access my pojo using the MyPojoSingleton.getInstance() method throughout the client part of my application. However, I am bit concerned about the thread safety of this implementation since instance is a static variable and that its state could be altered indeterministically.
    What I've thought of is having a parent abstract class extended by all the classes that would need this pojo. But sometimes these classes hierarchy gets really deep and I end up with things like myClass.getParentClass().getParentClass().getMyPojo() if you see what I mean, which I would like to avoid.
    Any solution or design pattern or simpler implementation I should have a look into?
    Thanks a bunch,
    Jimmy

    Well thanks for this tip! But I've got another similar case where the service needs an id as parameter as such:
    public final class MyPojoFactory
        private static MyPojo instance;
        public static MyPojo getInstance(long primaryKey){
        if(instance == null){
           instance = service.getData(primaryKey);
           return instance;
    }In that case I don't think I could use my PojoFactory because the instance object has a global scope, doesn't it? How could I handle such a case?
    Thanks again,
    Jimmy

  • Explicitly destroy an object in ABAP

    Hi,
    i like to destroy an Object explicitly. After the paricular statment the object must be destroyed.
    if i set the reference of the object to null.when the object will be deleted? immediately or during automatic garbage collection.
    Thanks and regards,
    Prakash.

    Hi,
    you can do in OLE also.
    INCLUDE OLE2INCL.
    DATA EXCEL TYPE OLE2_OBJECT.
    CREATE OBJECT EXCEL 'Excel.Application'.
    FREE   OBJECT EXCEL.
    in OO ABAP
    FREE OBJECT <b>OBJ</b> .
    here OBJ is object reference to some class.
    Regards
    Vijya

  • How do i destroy an object explicitly ?

    I need to explicitly destroy an object ... how do i do it ?
    1) set object to null
    2) call finalize on the object
    3) ur suggestion pls...

    I need to explicitly destroy an objectNo, you don't.
    ... how do i
    do it ?You can't.
    1) set object to nullObjects are never null. Only references can be null. If you set the only reachable reference to the object to null (or to any value other than pointing at that object), then the object becomes eligible to be garbage collected. When--or if--it actually gets cleaned up is beyond your control, but it's guaranteed to happen if the memory is needed.
    2) call finalize on the objectNo. Never call finalize. The GC calls it for you. (And you should rarely if ever override finalize.)
    3) ur suggestion pls...Read up on Java's garbage collection so that you understand why you don't need to do this.
    This article is about something else, but it starts off with a decent intro to GC. You can also google for java garbage collection tutorial or something.
    http://java.sun.com/developer/technicalArticles/ALT/RefObj/

  • Dynamic table overlap other objects!!!

    Hi everybody
    I have created a dynamic table with Add Row Button
    Please can anyone tell me how to avoid dynamic table overlap the below objects when multiple rows are created?
    what I wish is that the table bumps everything on his way just like MSWord wrapping option
    please provide a flash tutorial if you can, cause many people ask about this issue

    Hi,
    Use flow layout in order to avoid overlapping of table on other objects. This flow layout is to be set on the parent container (form/subform) of the table. Put the other objects too into the same container. It will cause the dynamic resizing of the container each time the new row is added.
    Thanks.
    Abhinav

Maybe you are looking for

  • Error while installing SAP Enterprise 4.70 for Oracle

    Hi all, While installing R/3 4.7 on Windows 2000 with oracle database ,while installing database instance i encountered the following error message. CJS - 00084 SQL statement or Script failed Error Message: Executable D:\oracle\ora92/bin/sqlplus.exe

  • The Installation of iTunes 10.4 always fails on my MBP, OSX 10.6.8

    i am unable to install iTunes 10.4 on my MacBook Pro, OSX 10.6.8. The installation always stops with an error message.

  • Satellite U500 - picture on external display appears yellow

    I use to attach the external display to my laptop to expand my desktop. All of sudden one da the external display turned yellow. I can still use the screen but everything on external screen is yellowish. I connected my laptop with other screen with m

  • How to record line in on Envy-J020U​S

    Hello all: I recently purchased an Envy - J020US laptop.  I frequently record music (from a keyboard) usually using a line-in port on my computer.  However, much to my dismay, I discovered that THIS model's sound card has a combined jack that is for

  • Loss of service across multiple devices

    For some reason my mobile is unable to make calls, but can receive them fine.  At the same point, my tablet with a data only sim has lost its data connection. Rebooted and reset both devices,  any ideas?