Updating field in query result pls give me response asap

Hi,
i have a custom button in my page and when i press that button one more field going to modified(it is displaying some date)
problem is when i tried to modified from back end modified that query result (that action query date) from fret-end it is not modifying
i think i need to create dynamic vo or what?
if i am wrong
pls help me how can i solve this?
thanks&regarding
srinivas

I'm afraid what you've written is not clear. Without attempting to be rude your English is poor.
I suggest restating the problem.
CM.

Similar Messages

  • UDF update field using Query

    Hi All,
    I have a udf field in OITM which we use to flag whether an item is obsolete or not, so Y or N is populated in all item records.
    I am trying to copy this field and its contents to be displayed in the Stock Data Tab (OITW) using a UDF but cannot get the query to work to automatically populate this new UDF?
    Any advice on the structure of the query or if I should try anything else would greatly received.
    Thanks, Richard

    Hi Richard......
    Try this......
    Select $[OITM.U_UDF.0]
    Replace UDF with your UDF Code and apply this FMS in the UDF at OITW area and then press Shift+F2
    Regards,
    Rahul

  • Little bit confusion , give response asap

              Hi Prasad
              I have some question(confusing)??? pls give solutions asap
              What is Theread pool size???
              What is Thread Count???
              What is Thread Dump???
              Regards
              Krishna
              > Prasad Peddada <[email protected]> wrote:
              1. There is no point in having maxCapacity greater than the thread pool size. 2. Either reduce that increate thread count.
              Look at the service pack readme files. There is some suggestion regarding get connection to database.
              If you still see the problem, take thread dump in intervals of 30 seconds and post them.
              - Prasad
              Krishna wrote:
              > Hi prasad
              > I am giving the connection pool here. pls look this and give some suggession.
              >
              > weblogic.jdbc.connectionPool.iSyndicatePool=\
              > url=jdbc:weblogic:mssqlserver4:[email protected]:1433,\
              > driver=weblogic.jdbc.mssqlserver4.Driver,\
              > loginDelaySecs=1,\
              > initialCapacity=10,\
              > maxCapacity=40,\
              > capacityIncrement=1,\
              > allowShrinking=true,\
              > shrinkPeriodMins=15,\
              > refreshTestMinutes=10,\
              > testTable=useraccount,\
              > props=user=syndicate;password=syndicate;server=216.35.151.124:1433
              >
              > weblogic.allow.reserve.weblogic.jdbc.connectionPool.iSyndicatePool=guest
              > weblogic.allow.reset.weblogic.jdbc.connectionPool.iSyndicatePool=guest
              > weblogic.allow.shrink.weblogic.jdbc.connectionPool.iSyndicatePool=guest
              >
              > and comming to the thread count
              >
              > weblogic.system.executeThreadCount=25
              >
              > i created connection poos in both servers cluster properties file. pls give some idea asap.
              >
              > Regards
              > Krishna
              >
              > Prasad Peddada <[email protected]> wrote:
              > >krishna wrote:
              > >
              > >> Hi Prasad
              > >> Thanks for ur suggession. Its working fine Now. But problem is
              > >> whenever i am sendding the request to the both servers, up to some time they are giving the response succesfully. But after some time both servers are not giving any response.(all requests are going to fail)
              > >>
              > >
              > >When this happens you should take thread dumps in intervals of one minutes and post the threaddumps.
              > >
              > >Also what's the jdbc connection pool size and what's the threadcount in both cases?
              > >
              > >- Prasad
              > >
              > >> Again after some time both servers are giving response. Again its repeating so on.
              > >>
              > >> What is the problem ????
              > >>
              > >> Can u Please help me about this issue.
              > >>
              > >> If servers are not in cluster, and both are connection to the same database.its giving 100% successful response. But if i joined in cluster its going to fail some times.
              > >>
              > >> Regards
              > >>
              > >> Krishna
              > >
              > >--
              > >Cheers
              > >
              > >- Prasad
              > >
              > >
              

    Comments inline.
              Hope it helps.
              Cheers - Wei
              "krishna" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Hi Prasad
              > I have some question(confusing)??? pls give solutions asap
              > What is Theread pool size???
              > What is Thread Count???
              I think Thread Pool Size and Thread Count are the same thing. WLAS has a
              thread pool. ExecuteThreadCount is the size of the pool. That is, it
              specifies how many threads in that pool.
              > What is Thread Dump???
              Refer to http://www.weblogic.com/docs51/techsupport/threaddump.html
              > Regards
              > Krishna
              >
              > > Prasad Peddada <[email protected]> wrote:
              >
              >
              > 1. There is no point in having maxCapacity greater than the thread pool
              size. 2. Either reduce that increate thread count.
              >
              > Look at the service pack readme files. There is some suggestion regarding
              get connection to database.
              >
              > If you still see the problem, take thread dump in intervals of 30 seconds
              and post them.
              >
              > - Prasad
              >
              >
              > Krishna wrote:
              > > Hi prasad
              > > I am giving the connection pool here. pls look this and give some
              suggession.
              > >
              > > weblogic.jdbc.connectionPool.iSyndicatePool=\
              > > url=jdbc:weblogic:mssqlserver4:[email protected]:1433,\
              > > driver=weblogic.jdbc.mssqlserver4.Driver,\
              > > loginDelaySecs=1,\
              > > initialCapacity=10,\
              > > maxCapacity=40,\
              > > capacityIncrement=1,\
              > > allowShrinking=true,\
              > > shrinkPeriodMins=15,\
              > > refreshTestMinutes=10,\
              > > testTable=useraccount,\
              > > props=user=syndicate;password=syndicate;server=216.35.151.124:1433
              > >
              > > weblogic.allow.reserve.weblogic.jdbc.connectionPool.iSyndicatePool=guest
              > > weblogic.allow.reset.weblogic.jdbc.connectionPool.iSyndicatePool=guest
              > > weblogic.allow.shrink.weblogic.jdbc.connectionPool.iSyndicatePool=guest
              > >
              > > and comming to the thread count
              > >
              > > weblogic.system.executeThreadCount=25
              > >
              > > i created connection poos in both servers cluster properties file. pls
              give some idea asap.
              > >
              > > Regards
              > > Krishna
              > >
              > > Prasad Peddada <[email protected]> wrote:
              > > >krishna wrote:
              > > >
              > > >> Hi Prasad
              > > >> Thanks for ur suggession. Its working fine Now. But problem is
              > > >> whenever i am sendding the request to the both servers, up to some
              time they are giving the response succesfully. But after some time both
              servers are not giving any response.(all requests are going to fail)
              > > >>
              > > >
              > > >When this happens you should take thread dumps in intervals of one
              minutes and post the threaddumps.
              > > >
              > > >Also what's the jdbc connection pool size and what's the threadcount in
              both cases?
              > > >
              > > >- Prasad
              > > >
              > > >> Again after some time both servers are giving response. Again its
              repeating so on.
              > > >>
              > > >> What is the problem ????
              > > >>
              > > >> Can u Please help me about this issue.
              > > >>
              > > >> If servers are not in cluster, and both are connection to the same
              database.its giving 100% successful response. But if i joined in cluster its
              going to fail some times.
              > > >>
              > > >> Regards
              > > >>
              > > >> Krishna
              > > >
              > > >--
              > > >Cheers
              > > >
              > > >- Prasad
              > > >
              > > >
              >
              >
              >
              

  • QA: Designer's operation to Add one more Field to display in Query Result Web Part

    QUESTION ABOUT Query Result Web Part presentation +1 Field
    I'd be looking at a property of Web Part to look up Discussion Board through Query Result Web Part. Currently it displays 'Title' column of Discussion Board, and my caring requirement is presentation customization to hold double
    columns of 'Title'+'Updated Date'. How could I add one more field 'Updated Date' to display in addition to that preexisting 'Title' field?
    Any procedural steps to realize how to add Filed to display in Query Result Web Part?

    Hi Yoshihiro,
    As I understand, you want to add the field to display in Query Result Web Part in SharePoint 2013.
    Which web part does you use? Content query web part or search results web part?
    If you use search results web part, you could edit the discussion board result template and add the updated field in the template.
    You could go to Design Manager: Edit Display Templates (site setting-> look and feel->design manager->edit display template), download the Discussion Item.htm file, and edit the file. 
    After editing, upload the file.
    The articles below are about how to modify an existing Display Template in SharePoint 2013.
    http://www.learningsharepoint.com/2012/09/17/sharepoint-2013-the-new-display-templates-for-styling-your-content/
    http://blogs.technet.com/b/sharepoint_quick_reads/archive/2013/08/01/sharepoint-2013-customize-display-template-for-content-by-search-web-part-cswp-part-1.aspx
     If you use content query web part, you could edit the content query web part, in the Property Mappings section select the “Change the mapping of managed”, and add the “modifiedOWSDATE” (it means the last modified date) in the line, after
    that you could see the update date under the title.
    Best regards,
    Sara Fan
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • TS1559 halooo sir/madam,I am using iphone4s,after update ios 7 my device wifi is not working wifi button also not enable pls give me the solution

    i am using iphone 4s,after update ios7 the wifi is not working and wifi button also not eneble its dimmed pls give me the solution.

    http://support.apple.com/kb/ts1559

  • BEx Query results not getting updated

    Hi,
    I am using a BEx Query based on a multiprovider which is fetching data from a multiple remote cubes and multiple regular cubes.
    Now when data in the source system is getting changed the corresponding remote cubes are getting update but query result are not getting re-fresh for at least 2 hours.
    We have already tried doing logging out and and logging into the bex system.
    Is there some cache setting which is required?
    Default cache mode in query is  'Main memory cache without swapping'.
    Kindly advice.
    Regards
    Vivek

    Hi,
    Just generate your query once with program RSR_GEN_DIRECT_ALL_QUERIES.
    By selecting your multiprovider .
    Thanks,
    Ranjan

  • How to get POF object's field value from query result

    hi,all:
    I want to get field value from the query result, my code is below
    Set setResults = cache.entrySet(createFilter("homeAddress.state = 'MA'"));
    for (Iterator iter = setResults.iterator(); iter.hasNext(); )
    Contact c=(Contact)iter.next();
    System.out.println ("firstame####=" + c.getFirstName());
    * but I get error*
    Exception in thread "main" java.lang.ClassCastException: com.tangosol.util.ConverterCollec
    tions$ConverterEntrySet$ConverterEntry cannot be cast to com.oracle.handson.Contact
    at com.oracle.handson.QueryExample.printResults(QueryExample.java:159)
    at com.oracle.handson.QueryExample.query(QueryExample.java:86)
    at com.oracle.handson.QueryExample.main(QueryExample.java:43)
    who can tell me how to get POF object's field value from query result

    Hi,
    If you look at the Java Doc for the entrySet method here http://download.oracle.com/docs/cd/E15357_01/coh.360/e15725/com/tangosol/util/QueryMap.html#entrySet_com_tangosol_util_Filter_ you will see that it returns a Set of Map.Entry instances so you need to do this...
    Set setResults = cache.entrySet(createFilter("homeAddress.state = 'MA'"));
    for (Iterator iter = setResults.iterator(); iter.hasNext(); )
        Map.Entry entry = iter.next();
        Contact c=(Contact)entry.getValue();
        System.out.println ("firstame####=" + c.getFirstName());
    }JK

  • Hi pls give me any one update routine, transfer routine scenarios

    hi pls give me any one update routine, transfer routine scenarios for to telling interviews (easy scenario for interviews)

    Hi Venkat,
    Pls chk this nice paper:
    How To… Routines within Transformations
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6090a621-c170-2910-c1ab-d9203321ee19
    Pls chk this links for samples & Examples:
    http://help.sap.com/saphelp_nw04s/helpdata/en/e3/732c42be6fde2ce10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/c3963dfbde4dede10000000a422035/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/bcdb7801344defe10000000a422035/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/bcdc6001344defe10000000a422035/frameset.htm
    Hope this helps,
    Regards
    CSM Reddy

  • Manipulate / change query result object

    Hi experts,
    I've enhanced my Activity Search and the result set to. BUT, my custom fields of the result set are still empty. I don't want to fill the custom fields via the GET_-Methods because then it is not possible to sort by my custom fields. But I have to sort by them.
    I tried to manipulate my result object in eh_onsearch event. if you try lr_entity->set_properties( ls_attributes ) the properties will not be updated, because by definition, it is not allowed to manipulate result objects.
    Is there a chance to update them anyway.
    Thanks and regards,
    Sebastian

    Hi Sebastian
    What is the approach you followed to create the custom fields (AET or appending fields to strcutures) if you use the AET pls check the below things
    1) while creating are you selected that custom fields should be extended to both search and reuslt structures.
    2) please check the generated custom fields info in Transaction Genil_model_browser under folder advanced search query the field should extend in Advanced search structure and search result structure.
    3) use the right custom fields on the correct configuration.
    in the above scenario the fields will be automatically filled with data
    if you extend the BOL structures the with the customfield then you have to implement the necessary badi to fill the custom fields.
    Thanks & Regards
    Raj

  • Updating AVI Video Drivers results in blue screen of death

    Creating a CD in Premiere 9 resulted in the program closing.  I was told to update video and sound drivers.  First I used the option in Device Manager, then I used DriverUpdate.  The computer now frequently gets the "blue screen of death," with reference to an infinite loop because of ATI2DVAG.  I want to download the drivers myself after deleting the current drivers.  The first field on the ATI site gives me the choice of desktop graphics, notebook graphics, TV tuner graphics, workstation graphics, integrated motherboard, embedded and MAC.  I chose DESKTOP.  I have Windows XP Professional and I also have Linux installed; my video card is ATI Radeon HD 4250.
    In the second field I chose Radeon HD Series.  In the third field I chose Radeon HD 4xxx Series PCle.  In the fifth field I chose XP 32.
    This brings me to a page which has three tabs: Catalyst Software Suite (with one download), Individual Downloads (five downloads) and Optional Downloads (five downloads).  I think the first is the one I want.  It comes with the warning that Framework 1.1 Service Pack from Microsoft, dated August 30, 2004, must be installed.  I have no reason to believe that my service packs are not up-to-date; I have service pack 3.
    The Catalyst Software Suite, with the one download, is 11.6.  I think I now have 11.2 (I found this in the Catalyst Control Center from the icon on the bottom of my screen).  In my Device Manager it says: 8.821.0.0 released January 26, 2011, PCl busl, device5, function 0, internal version 8.821.
    It looks as if the program I bought, DriverUpdate, did not install the latest release.  I think my best bet is to delete the current driver and install the Catalyst
    Software Suite 11.6.  Is this the right thing to do?

    I agree with John that those driver updater programs can cause more problems than they fix. I gave up on them a long time ago.
    But if one of them were giving me the blue screen of death, I'd be very concerned! Blue screens, even on Windows computers, have rarely been seen since the days of Windows ME.
    Rather, you'd be best to just manually go to Windows Update and ensure you have even the non-critical updates. That fixes about 99% of your computer. Though occasionally I go to the ATI or nVidia sites manually and get the latest drivers for my video card. And of course I go to Apple.com to ensure I have the latest version of Quicktime, which plays an important role in all PC-based computer editing.
    Beyond that, I'd run iobit's excellent, free PC tune-up tool Advanced System Care. It's one of the few tune-up programs I do trust -- and it tunes up everything with just a click or two.
    http://www.iobit.com/advancedsystemcareper.html
    And if you're STILL having problems, please give us more information about your system and your project.
    What operating system are you running? How fast is your processor and how much free, defragmented space is on your C drive?
    What kind of camcorder is your video coming from? When you started your Premiere Elements project, which settings did you select?

  • Refresh characteristic texts in query result without logoff in Bex 7.0

    Dear Experts,
    I'm using a query in BEx 7.0 and switched off all caching parameters in RSRT. For instantly reloading values from Cube/DSO this is working fine.
    Some of my characteristics are shown as key + text in query result. Unfortulately these texts are not updated during the query reloads. I do not want the user to logoff / logon the report to get the updated texts.
    Interestingly, after a refresh the texts for those characteristics are updated immediately for all filter items, but not in the result area.
    Could you give me a hint, how I will be able to refresh those characteristic texts as same as the values in the infoprovider? E.g. using VBA makros or by customizing of specific workbook settings?
    Thanks for your help!
    Kind regards,
    Tim
    Edited by: Tim Kley on Apr 19, 2010 2:42 PM

    Hi,
    what have you achieved so far concerning this.
    My post from today was also going in this topic.
    In Bex update after attribute change run
    The setting of this paramter I mentioned there could maybe help in your case.
       transaction "RS_FRONTEND_INIT" add the parameter "ANA_ENHANCE_REFRESH" with value "X"
       o Open the analyzer and connect to system to open WB
       o Click on the refresh button
       o New functionallity "Full Refresh Of Active Queries" is now available.
    Best regards Harry

  • Query result closing prematurely, Object closed error

    Hi guys
    I've discovered an unusual behaviour when iterating through a collection
    returned from a query.
    Scenario
    The code executes a query, iterates partially through the resultset and for
    each row calls a method which creates another object. Given that there
    could be thousands of rows, I commit the new objects every n times and then
    go back to the start of the loop which re-executes the query. This code runs
    fine when
    MAX_SCHEDULES_PER_TRANS <= com.solarmetric.kodo.DefaultFetchBatchSize.
    Problem
    If the DefaultFetchBatchSize is 10, and I commit every 11 iterations, then
    during the 3rd outer loop (ie commit has succeeded twice and the query has
    been executed 3 times) an exception is thrown when calling events.next() on
    the 10th element. The stack trace is included below, but it appears that
    the query resultset is somehow being closed early.
    If I increase the DefaultFetchBatchSize to 20, then I can also increase my
    MAX_SCHEDULES_PER_TRANS to 20 without getting the error.
    Any ideas?
    Regards
    Nathan
    Kodo 2.5.3
    SQLServer 2000
    Code Snippet
    private static final int MAX_SCHEDULES_PER_TRANS = 10;
    while (!terminated) {
    Collection col = (Collection) getQuery().execute(currentDate); //
    getQuery() method Creates query object once and reused in subsequent calls
    Iterator events = col.iterator();
    int counter = 0;
    boolean committed = false;
    while (events.hasNext() && !committed && !terminated) {
    Event event = (Event) events.next();
    event.schedule()
    counter++;
    if ((counter == MAX_SCHEDULES_PER_TRANS ) || !events.hasNext()) {
    try {
    context.getPersist().commitTransaction();
    committed = true;
    catch (OptimisticLockException e) {
    context.getPersist().rollbackTransaction();
    break;
    getQuery().close(col);
    Kodo.properties
    # Kodo JDO Properties configuration
    # DEVELOPMENT
    com.solarmetric.kodo.LicenseKey: xxxxxxx
    com.solarmetric.kodo.ee.ManagedRuntimeProperties=TransactionManagerName=Tran
    sactionFactory
    javax.jdo.PersistenceManagerFactoryClass=com.solarmetric.kodo.impl.jdbc.JDBC
    PersistenceManagerFactory
    javax.jdo.option.ConnectionDriverName=com.microsoft.jdbc.sqlserver.SQLServer
    Driver
    javax.jdo.option.ConnectionUserName=xxxxx
    javax.jdo.option.ConnectionPassword=xxxx
    javax.jdo.option.ConnectionURL=jdbc:microsoft:sqlserver://devsnetsql01:1433;
    SelectMethod=cursor;DatabaseName=devsnet09
    javax.jdo.option.RetainValues=true
    javax.jdo.option.RestoreValues=true
    javax.jdo.option.Optimistic=true
    javax.jdo.option.NontransactionalWrite=false
    javax.jdo.option.NontransactionalRead=true
    javax.jdo.option.Multithreaded=true
    javax.jdo.option.MsWait=5000
    javax.jdo.option.MinPool=0
    javax.jdo.option.MaxPool=0
    javax.jdo.option.IgnoreCache=false
    com.solarmetric.kodo.FlushBeforeQueries=with-connection
    com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory=20
    com.solarmetric.kodo.impl.jdbc.StatementCacheMaxSize=0
    com.solarmetric.kodo.impl.jdbc.WarnOnPersistentTypeFailure=true
    com.solarmetric.kodo.impl.jdbc.SequenceFactoryClass=com.solarmetric.kodo.imp
    l.jdbc.schema.DBSequenceFactory
    com.solarmetric.kodo.impl.jdbc.FlatInheritanceMapping=true
    com.solarmetric.kodo.impl.jdbc.AutoReturnTimeout=10
    com.solarmetric.kodo.Logger=stdout
    com.solarmetric.kodo.EnableQueryExtensions=true
    com.solarmetric.kodo.DefaultFetchThreshold=30
    com.solarmetric.kodo.DefaultFetchBatchSize=10
    com.solarmetric.kodo.impl.jdbc.TransactionIsolation=READ_COMMITTED
    com.solarmetric.kodo.ee.ManagedRuntimeProperties=TransactionManagerMethod=co
    m.ibm.ejs.jts.jta.TransactionManagerFactory.getTransactionManager
    com.solarmetric.kodo.ee.ManagedRuntimeClass=com.solarmetric.kodo.ee.Invocati
    onManagedRuntime
    Stack trace
    com.solarmetric.kodo.runtime.DataStoreException: java.sql.SQLException:
    [Microsoft][SQLServer 2000 Driver for JDBC]Object has been closed.
    [code=0;state=HY000]
    NestedThrowables:
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Object has
    been closed.
    at
    com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwDataStore(SQLExcep
    tions.java:64)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyRes
    ultList.java:223)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.jav
    a:142)
    at java.util.AbstractList$Itr.next(AbstractList.java:431)
    at
    com.solarmetric.kodo.runtime.objectprovider.ResultListIterator.next(ResultLi
    stIterator.java:49)
    at com.mallesons.servicenet.ta.shared.BOIterator.next(BOIterator.java:48)
    at
    com.mallesons.servicenet.ta.event.SchedulerThread.process(Scheduler.java:171
    at com.mallesons.servicenet.ta.event.SchedulerThread.run(Scheduler.java:122)
    NestedThrowablesStackTrace:
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Object has
    been closed.
    at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown
    Source)(Inlined Compiled Code)
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown
    Source)(Inlined Compiled Code)
    at com.microsoft.jdbc.base.BaseConnection.validateClosedState(Unknown
    Source)(Inlined Compiled Code)
    at com.microsoft.jdbc.base.BaseStatement.validateClosedState(Unknown
    Source)(Inlined Compiled Code)
    at com.microsoft.jdbc.base.BaseResultSet.validateClosedState(Unknown
    Source)(Compiled Code)
    at com.microsoft.jdbc.base.BaseResultSet.getRow(Unknown Source)
    at
    com.solarmetric.datasource.ResultSetWrapper.getRow(ResultSetWrapper.java:465
    at
    com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyRes
    ultList.java:186)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.jav
    a:142)
    at java.util.AbstractList$Itr.next(AbstractList.java:431)
    at
    com.solarmetric.kodo.runtime.objectprovider.ResultListIterator.next(ResultLi
    stIterator.java:49)
    at com.mallesons.servicenet.ta.shared.BOIterator.next(BOIterator.java:48)
    at
    com.mallesons.servicenet.ta.event.SchedulerThread.process(Scheduler.java:171
    at com.mallesons.servicenet.ta.event.SchedulerThread.run(Scheduler.java:122)

    Thanks for pointing out the optimisticLockException catch error. That would
    have been a bug but it hasn't been hit yet as I've only ever run one
    instance of this app!!
    The BOIterator is just wrapper layer and I have removed it to ensure it is
    not the culprit. Still getting the same error.
    I have done some more testing and have narrowed down the problem a little.
    It seems to only occur when I update one of the columns that is being used
    in the query. If I update a column that is not used in the query, it works
    fine.
    com.solarmetric.kodo.runtime.DataStoreException: java.sql.SQLException:
    [Microsoft][SQLServer 2000 Driver for JDBC]Object has been closed.
    [code=0;state=HY000]
    NestedThrowables:
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Object has
    been closed.
    at
    com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwDataStore(SQLExcep
    tions.java:64)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyRes
    ultList.java:223)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.jav
    a:142)
    at java.util.AbstractList$Itr.next(AbstractList.java:431)
    at
    com.solarmetric.kodo.runtime.objectprovider.ResultListIterator.next(ResultLi
    stIterator.java:49)
    at
    com.mallesons.servicenet.ta.event.SchedulerThread.process(Scheduler.java:197
    at com.mallesons.servicenet.ta.event.SchedulerThread.run(Scheduler.java:143)
    NestedThrowablesStackTrace:
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Object has
    been closed.
    at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.microsoft.jdbc.base.BaseConnection.validateClosedState(Unknown
    Source)
    at com.microsoft.jdbc.base.BaseStatement.validateClosedState(Unknown Source)
    at com.microsoft.jdbc.base.BaseResultSet.validateClosedState(Unknown Source)
    at com.microsoft.jdbc.base.BaseResultSet.getRow(Unknown Source)
    at
    com.solarmetric.datasource.ResultSetWrapper.getRow(ResultSetWrapper.java:478
    at
    com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyRes
    ultList.java:186)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.jav
    a:142)
    at java.util.AbstractList$Itr.next(AbstractList.java:431)
    at
    com.solarmetric.kodo.runtime.objectprovider.ResultListIterator.next(ResultLi
    stIterator.java:49)
    at
    com.mallesons.servicenet.ta.event.SchedulerThread.process(Scheduler.java:197
    at com.mallesons.servicenet.ta.event.SchedulerThread.run(Scheduler.java:143)
    2003-10-27 15:26:40,142 DEBUG - SchedulerThread.run() - exit
    "Marc Prud'hommeaux" <[email protected]> wrote in message
    news:[email protected]...
    Nathan-
    I guess you are right that it doesn't look like the query result is
    being kept open between commits. I do notice that the block that catches
    the OptimisticLockException doesn't break out of the loop though: can
    you check to ensure that one isn't getting thrown?
    Also, what is the com.mallesons.servicenet.ta.shared.BOIterator stuff?
    If it is a wrapper layer that you have around the query execution,
    can you try removing it, just to ensure that it isn't misbehaving in
    some way?
    In article <[email protected]>, nathan boyes wrote:
    Hi Marc,
    Bug 718 certainly seems similar, however I still don't think it is
    necessarily the problem in this case. That particular bug relates to the
    resultset that was opened prior to commit, not remaining open after the
    commit. However, once I've committed, I call query.closeAll() then re
    execute the query. I would expect this to give me a new resultset that
    would not be affected by the previous commit.
    Also the CURSOR_CLOSE_ON_COMMIT is disabled by default and we haven't
    enabled it. A query against the database using one of the SQLServer
    functions confirms that this setting is false on the server.
    Predictably, instantiating the entire collection also fixes the problem.
    I
    guess this is similar to setting DefaultFetchThreshold = -1.
    Not really sure what else to try.
    "Marc Prud'hommeaux" <[email protected]> wrote in message
    news:[email protected]...
    Nathan-
    This sounds to me like
    http://bugzilla.solarmetric.com/show_bug.cgi?id=718 , even though it is
    not known to happen for SQLServer. If, before you commit, you
    instantiate the entire "col" list (with something like
    "new LinkedList (col)"), do you still see the problem?
    If this is indeed the problem, it seems that this is a server option
    that you can configure. If you disable CURSOR_CLOSE_ON_COMMIT on the
    server, do you still see the problem? See:
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_set-set_48kz.asp
    >>>
    >>>
    >>>
    >>>
    In article <[email protected]>, nathan boyes wrote:
    I have upgraded to 2.5.5 and am now calling query.closeAll() neither
    of
    which had any effect. When I set DefaultFetchThreshold to -1, thenthe
    problem disappeared.
    For efficiency, if I am iterating through 50 objects beforecommitting
    then
    it is probably worth setting
    DefaultFetchThreshold=50
    DefaultFetchBatchSize=50
    which will run without problem.
    However, that doesn't address the underlying problem that could stilloccur
    in other parts of our system.
    "Stephen Kim" <[email protected]> wrote in message
    news:[email protected]...
    First can you upgrade to Kodo 2.5.4 and see if the problem persists?
    If so, can you for the sake of debugging try setting
    DefaultFetchThreshold to -1?
    Also you should be calling either query.closeAll () or query.close(events).
    nathan boyes wrote:
    Hi guys
    I've discovered an unusual behaviour when iterating through a
    collection
    returned from a query.
    Scenario
    The code executes a query, iterates partially through the
    resultset
    and
    for
    each row calls a method which creates another object. Given that
    there
    could be thousands of rows, I commit the new objects every n timesand
    then
    go back to the start of the loop which re-executes the query. This
    code
    runs
    fine when
    MAX_SCHEDULES_PER_TRANS <=
    com.solarmetric.kodo.DefaultFetchBatchSize.
    Problem
    If the DefaultFetchBatchSize is 10, and I commit every 11
    iterations,
    then
    during the 3rd outer loop (ie commit has succeeded twice and the
    query
    has
    been executed 3 times) an exception is thrown when calling
    events.next()
    on
    the 10th element. The stack trace is included below, but it
    appears
    that
    the query resultset is somehow being closed early.
    If I increase the DefaultFetchBatchSize to 20, then I can also
    increase
    my
    MAX_SCHEDULES_PER_TRANS to 20 without getting the error.
    Any ideas?
    Regards
    Nathan
    Kodo 2.5.3
    SQLServer 2000
    Code Snippet
    private static final int MAX_SCHEDULES_PER_TRANS = 10;
    while (!terminated) {
    Collection col = (Collection) getQuery().execute(currentDate);
    getQuery() method Creates query object once and reused insubsequent
    calls
    Iterator events = col.iterator();
    int counter = 0;
    boolean committed = false;
    while (events.hasNext() && !committed && !terminated) {
    Event event = (Event) events.next();
    event.schedule()
    counter++;
    if ((counter == MAX_SCHEDULES_PER_TRANS ) ||
    !events.hasNext()) {
    >>>>>>
    try {
    context.getPersist().commitTransaction();
    committed = true;
    catch (OptimisticLockException e) {
    context.getPersist().rollbackTransaction();
    break;
    getQuery().close(col);
    Kodo.properties
    # Kodo JDO Properties configuration
    # DEVELOPMENT
    com.solarmetric.kodo.LicenseKey: xxxxxxx
    com.solarmetric.kodo.ee.ManagedRuntimeProperties=TransactionManagerName=Tran
    sactionFactory
    javax.jdo.PersistenceManagerFactoryClass=com.solarmetric.kodo.impl.jdbc.JDBC
    PersistenceManagerFactory
    javax.jdo.option.ConnectionDriverName=com.microsoft.jdbc.sqlserver.SQLServer
    Driver
    javax.jdo.option.ConnectionUserName=xxxxx
    javax.jdo.option.ConnectionPassword=xxxx
    javax.jdo.option.ConnectionURL=jdbc:microsoft:sqlserver://devsnetsql01:1433;
    SelectMethod=cursor;DatabaseName=devsnet09
    javax.jdo.option.RetainValues=true
    javax.jdo.option.RestoreValues=true
    javax.jdo.option.Optimistic=true
    javax.jdo.option.NontransactionalWrite=false
    javax.jdo.option.NontransactionalRead=true
    javax.jdo.option.Multithreaded=true
    javax.jdo.option.MsWait=5000
    javax.jdo.option.MinPool=0
    javax.jdo.option.MaxPool=0
    javax.jdo.option.IgnoreCache=false
    com.solarmetric.kodo.FlushBeforeQueries=with-connection
    com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory=20
    com.solarmetric.kodo.impl.jdbc.StatementCacheMaxSize=0
    com.solarmetric.kodo.impl.jdbc.WarnOnPersistentTypeFailure=true
    com.solarmetric.kodo.impl.jdbc.SequenceFactoryClass=com.solarmetric.kodo.imp
    l.jdbc.schema.DBSequenceFactory
    com.solarmetric.kodo.impl.jdbc.FlatInheritanceMapping=true
    com.solarmetric.kodo.impl.jdbc.AutoReturnTimeout=10
    com.solarmetric.kodo.Logger=stdout
    com.solarmetric.kodo.EnableQueryExtensions=true
    com.solarmetric.kodo.DefaultFetchThreshold=30
    com.solarmetric.kodo.DefaultFetchBatchSize=10
    com.solarmetric.kodo.impl.jdbc.TransactionIsolation=READ_COMMITTED
    com.solarmetric.kodo.ee.ManagedRuntimeProperties=TransactionManagerMethod=co
    m.ibm.ejs.jts.jta.TransactionManagerFactory.getTransactionManager
    com.solarmetric.kodo.ee.ManagedRuntimeClass=com.solarmetric.kodo.ee.Invocati
    onManagedRuntime
    Stack trace
    com.solarmetric.kodo.runtime.DataStoreException:java.sql.SQLException:
    [Microsoft][SQLServer 2000 Driver for JDBC]Object has been closed.
    [code=0;state=HY000]
    NestedThrowables:
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver forJDBCObject
    has
    been closed.
    at
    com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwDataStore(SQLExcep
    tions.java:64)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyRes
    ultList.java:223)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.jav
    a:142)
    at java.util.AbstractList$Itr.next(AbstractList.java:431)
    at
    com.solarmetric.kodo.runtime.objectprovider.ResultListIterator.next(ResultLi
    stIterator.java:49)
    atcom.mallesons.servicenet.ta.shared.BOIterator.next(BOIterator.java:48)
    >>>>>>
    at
    com.mallesons.servicenet.ta.event.SchedulerThread.process(Scheduler.java:171
    atcom.mallesons.servicenet.ta.event.SchedulerThread.run(Scheduler.java:122)
    >>>>>>
    NestedThrowablesStackTrace:
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver forJDBCObject
    has
    been closed.
    at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown
    Source)(Inlined Compiled Code)
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown
    Source)(Inlined Compiled Code)
    at
    com.microsoft.jdbc.base.BaseConnection.validateClosedState(Unknown
    Source)(Inlined Compiled Code)
    atcom.microsoft.jdbc.base.BaseStatement.validateClosedState(Unknown
    Source)(Inlined Compiled Code)
    atcom.microsoft.jdbc.base.BaseResultSet.validateClosedState(Unknown
    Source)(Compiled Code)
    at com.microsoft.jdbc.base.BaseResultSet.getRow(Unknown Source)
    at
    com.solarmetric.datasource.ResultSetWrapper.getRow(ResultSetWrapper.java:465
    at
    com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyRes
    ultList.java:186)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.jav
    a:142)
    at java.util.AbstractList$Itr.next(AbstractList.java:431)
    at
    com.solarmetric.kodo.runtime.objectprovider.ResultListIterator.next(ResultLi
    stIterator.java:49)
    atcom.mallesons.servicenet.ta.shared.BOIterator.next(BOIterator.java:48)
    >>>>>>
    at
    com.mallesons.servicenet.ta.event.SchedulerThread.process(Scheduler.java:171
    atcom.mallesons.servicenet.ta.event.SchedulerThread.run(Scheduler.java:122)
    >>>>>>
    >>>>>>
    >>>>>
    Stephen Kim
    [email protected]
    SolarMetric, Inc.
    http://www.solarmetric.com
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Odac 12.1 Oracle.VsDevTools Cannot edit query results

    I am running Windows 7 64-bit and Visual Studio 2010
    I installed ODTwithODAC121010 successfully.
    In Visual Studios Help>About it shows: Oracle Developer Tools for Visual Studio 12.1.0.1.0
    Issue:
    After updating to odac 12.1 I can no longer edit/insert data into the query builder results pane.
    I have relied on this capability in previous versions of odac.
    Has this feature been removed?
    I've connected to multiple Oracle 11g dbs with same results below:
    I get the following response when I attempt to edit a field in the query results pane:
    No row was updated.
    The data in row 10 was not committed.
    Error Source: .
    Error Message: Unable to parse expression.
    Correct the errors and retry or press ESC to cancel the change(s).
    I get the following response when I paste a new row in the query results pane:
    No row was updated.
    The data in row 11 was not committed.
    Error Source: Oracle.VsDevTools.10.0.
    Error Message: Object reference not set to an instance of an object.
    Correct the errors and retry or press ESC to cancel the change(s).
    Is there something I need to do to enable this?
    What are some good alternatives if this capability is no longer supported?

    Hi George Pertea,
    Thanks for the reply.
    I am in the edit query mode and also the query tool bar is enabled.
    But my "view sql" button is disabled,I cannot click on it.
    I am logged in as "Admin" , so what is the problem.
    I was able to do that in XI R2 before.
    Please help me!
    Thanks

  • Field Available in result, not in search

    Hi,
    In my requirement, there is a field available in result, but not in search criteria.
    Hence:
    1. I appended the Zfield in the BOL structure of the search.
    2. Got the DDLB value in GET_V_ZFIELD.
    3. Displayed the field in config.
    4. Wrote the following code in EH_ONSEARCH.
    But it did not give the result with the ZFIELD search criteria, rather results all types. I checked in dquery_definition, the search parameter/criteria is available. Please suggest how to proceed.
    method eh_onsearch.
      data: lr_query_service    type ref to cl_crm_bol_dquery_service.
      data: lr_qs         type ref to cl_crm_bol_dquery_service,
            lr_col_params type ref to if_bol_bo_col,
            lr_entity     type ref to if_bol_bo_property_access,
            lr_qs_col type ref to if_bol_bo_col,
            lr_attr   type ref to if_bol_bo_property_access,
            ls_attribute type genilt_selection_parameter,
            lv_low type string.
      field-symbols:<fs_result> type crms_thtmlb_search_field_info,
                    <ft_ddlb> type  crmt_thtmlb_search_ddlb_nvp.
      lr_qs ?= me->typed_context->XXXXX->collection_wrapper->get_current( ).
      if lr_qs is bound.
        lr_col_params = lr_qs->get_selection_params( ).
      endif.
      if lr_col_params is bound.
        lr_entity = lr_col_params->get_first( ).
        while  lr_entity is bound.
        call method lr_entity->get_properties
          importing
            es_attributes = ls_attribute.
        if ls_attribute-attr_name = 'ZFIELD.
          lv_low = ls_attribute-low.
       if lr_window is bound and lr_window->gv_vr_set = abap_false.
        if lv_low is not initial.
          lr_qs->add_selection_param(
                                     iv_attr_name = 'ZFIELD'
                                     iv_sign      = 'I'
                                     iv_option    = 'NE'
                                     iv_low       =  lv_low ).
          super->eh_onsearch( htmlb_event = htmlb_event
                              htmlb_event_ex = htmlb_event_ex ).
        endif.
        endif.
    *Remove the just added entity from search parameter list so that it does not appear on UI.
          try.
              if lr_entity->get_property_as_string( iv_attr_name = 'ATTR_NAME' )  eq 'ZFIELD' . "#EC NOTEXT
                if lr_entity->get_property_as_string( iv_attr_name = 'LOW') eq lv_low. "#EC NOTEXT
                  lr_col_params->remove( lr_entity ).
                  exit.
                endif.
              endif.
            catch cx_sy_conversion_error cx_root .
          endtry.
          lr_entity = lr_col_params->get_next( ).
        endwhile.
      endif.
    *Build the Parameter table again.
      me->typed_context->XXXX->build_parameter_tab( ).
    endmethod.

    Please check this blog; the necessary steps are explained in detail.
    /people/tuncer.gorgun3/blog/2010/06/21/enhancing-standard-activity-bol-query-with-related-fields
    Regards
    Kathirvel

  • Pls. give some suggestion on Subsequent Credit and debit note?

    Dear Gurus,
    Pls. give some suggestion on Subsequent Credit and debit note?
    Regrds
    Shikha

    Hi Sikha
    We generaly use subsequent debit / credit to adjust invoice value without affecting Qty
    Pls check notes supplied by SAP
    A subsequent debit/credit arises if a transaction has already been settled, and a further invoice or credit memo is received afterwards.
    A subsequent debit/credit changes the total invoice value of a purchase order item; the total invoice quantity remains unchanged. Therefore, only a value-based update of the purchasing transaction takes place. There is no quantity-based update.
    You must enter an invoice as a subsequent debit if a purchase order item has already been invoiced and further costs are incurred. (Example: A vendor has inadvertently invoiced you at too low a price and then sends a second invoice for the difference.)
    You must enter a credit memo as a subsequent credit if a purchase order item was invoiced at too high a price and now you have received a credit memo. (Example: A vendor has inadvertently invoiced you at too high a price and then sends a credit memo for the difference.)
    If you enter a subsequent debit/credit, the system suggests the entire invoiced quantity, but no value. The maximum quantity that you can subsequently debit or credit is the quantity that has already been invoiced.
    You can only enter a subsequent debit/credit for a purchase order item if an invoice has already been posted for that item.
    A subsequent debit/credit cannot refer to a particular invoice.
    Subsequent debits and credits are listed separately in the PO history
    Typical example is like
    suppose vendor has overcharged u for perticular PO and afterward he want to correct it
    In such scenario u can post subsequent debit to correct PO without affecting Qty. field
    <b>Reward if usefull</b>
    Vishal..

Maybe you are looking for

  • Duplicate check via BAS (ADDRESS_SEARCH)-- how to handle non-crm customer?

    Dear all, I'm implementing a duplicate check and using the BADI Address_search. Within this BADI I use the method "Address_Search" for calling a third party software tool with customer information. This tool checks whether the entered customer is alr

  • 'A' button has stopped working?

    Hey guys, the 'a' button has mysteriously stopped working on my keyboard which is a real hindrance. In case it was a software issue I tried to restore factory settings, but I have to enter the word 'blackberry' to do so, and I obviously can't type th

  • How to use different default parameter value for different report subscriptions

    In ssrs is it possible to define different default parameter values for different subscriptions? In the following example I have a report which has two subscriptions with different start date and end date values: Report name – Testsubscription.rdl Su

  • View .pdf file in Nokia 5800

    Hi, How is it possible to view .pdf files please?

  • Need fast help... problem with .eps files

    So I'm in a bind helping my company put out T-Shirts... We need things in .eps format. I'm the one who has some design experience so I've been doing it. What we need though is the design to be saved on a transparent background so when it's imported i