Search Button in Transaction SM30

Good Morning,
I want to know if it's possible to activate de search button in transaction SM30.
What i mean is, when you call transaction SM30 and you choose to modify some data from a table, the search button (binoculars) is deactivated.
It looks to me like this is SAP standard for that Status GUI in particular...
Will the button be activated in any circumstances? If yes, in which circumstances will it be activated?
If no, is it possible to do so by my own? If yes, how can i do it?
Thanks and Best Regards,
Pedro Gaspar

Hi Pedro,
If the table is created by you, then do not define the field by referring to the dataelement or domain, but declare it as a flat data type.
for example do not have matnr referring to matnr data element. Instead declare it as matnr of char18 type.
Regards,
Ravi

Similar Messages

  • Add button to the transaction SM30

    HI
       Whether it is possible to add a buton to application tool bar in the transaction SM30.
    help reg this.

    Hi,
    Yes, it is possible to add button for the transaction SM30.
    This is possible through Menu exit.
    Procedure for Menuexit:-
    Go to SM30 ->System -> Status
    Repository data -> Transaction -> Double click on it
    Copy package name
    Go to SMOD
    Press F4 then a popup will open
    Click on information system
    Enter package name and press Enter
    Then we will get Exit
    Put cursor on that exit and press Enter
    Go to change mode and save it.
    Go to CMOD or alternatively we can use the path tools -> ABAP/4 Workbench -> Utilities -> Enhancements ->Project Management
    Specify Project name in the enhancement text box
    Click on Create icon on the application toolbar.
    Enter description for the project and save it
    Click on Enhancement Assignment button on the application toolbar
    Give Exit  and save it
    Go to Components on the application toolbar
    Double Click on MENUS001
    Write function text which we want to add to menu item and save it with an request      number
    Double Click on Exit and write code there to display menu item in the screen
    Activate the include program and finally activate the project.
    Please reward points if helpful.

  • IH01: Search button not active

    Hi PM Gurus,
    I am working on technical upgrade from 46C to ECC6. I am facing a problem in IH01, after executing the transaction, search button (binocular) is not active. Can any one suggest me what may be the possible reason & how it has to be activated.
    Thanks,
    Ashok

    Hi Ashok,
    I think, IH01 is the transaction code for the selection page ie editing the inputs... (function location structure), there we need not to search anything whereas we need to input the various selections. Thats is the reason sarch button is disabled....
    Once u input the data and transact, the buttons wil be activtaed.
    In case u are looking for searching something specific, pls do let me knwo.
    warm regards,
    punam gupta
    Pune

  • Restrict F4 (Search Button) of ship to party in Delivery

    Hi,
    At present if the users press the F4 button in ship to party, it is shown to customers list.
    My requirement is, Display customers list in Delivery transactions (VL01N,VL02N,VL03N) by pressing F4 in ship to party, system should not show the list.
    We are using the ECC 5.
    How to restrict the F4 (Search button) of ship to party in delivery?
    Regards,
    Devendra

    Hai Devendrap,
    In case your requirement is, user should not enter data in he ship to party then make then greyed out using  SHDO screen variant transaction.
    Since you mentioned VL03N also user should not check list of customers.
    Ask you abaper, to check the Main program
    Program (screen)     SAPMV50A
       SAPLSHL2                       / LSHL2U01
       FUNCTION                       / HELP_START
    write a code before
    if sy_tcode ne 'vl01n or vl02n or vl03n
    then use
    Alle F4-Hilfe Aufrufe werden hier abgehandelt
    All F4 Call helps
      if help_infos-call = 'T' or          "Alle Arten von Prüftabellen
         help_infos-call = 'M' or          "Matchcode-Hilfe
         help_infos-call = 'V'.            "Festwerte (Domäne oder VALUES)
                                           "+ alle anderen
    endif
    So other t codes f 4 help wlil come and these three it will not come.
    Regards,
    Mani

  • How can I disable POST GOODS RECEIPT button in transactions VL31N/VL32N via Authorization or Role Level.

    How can I disable POST GOODS RECEIPT button in transactions VL31N/VL32N via Authorization or Role Level, There is a requirement from my client  and i propose two methode
    1- Creation of Ztcode ZVL32N and do changes ABAP program level
    2- Disablement via Authorization/Role level - but how can i find the auth object/ Authorization corresponds to POST GOODS RECEIPT button in VL32N

    I think you can make use of SHD0 - Transaction variant to achieve this. You can make it as grayed out while recording steps in SHD0.

  • 10133 ADF: How to stop search button to execute when there is an error

    Hi,
    I have two dropdownlists in a search criteria on a search page. The search result is at the bottom of the same page. The two values in the dropdownlists need to be validated when the search button is clicked. The validation logic is put in the searchBtn_action method binded to the search button. In the logic, when an invalid combination happens, I am able to post some error message on top of the page. But how can I stop the application to execute the sql statement? I mean if there is any method I can call to exit if there is an error? Thank you very much.
    Regards,
    Annie

    This is most likely an optimization problem. I know such behaviour existed in the past with some functions and NI usually fixed it in some later release, but the recent changes in the LabVIEW compiler to use LLVM and various optimization improvements may have added this "feature" back in. The default value behaviour is certainly correct and consistent but the behaviour without default value feels not right to me for LabVIEW. In C I would say ok this is simply undefined behaviour and that means the produced code is entitled to even format your harddisk, since C explicitedly says all undefined behaviour is subject to choices by the implementor and is allowed to do whatever the implementor sees fit, including changing behavior between any version of the compiler.
    But LabVIEW as a high level language has explicitedly so called default default data, which in this case should be used. Just having read a bit about LLVM I know they are wrestling with C undefined behaviour as well and LLVM being used a backend by several C compilers already has to deal with them. The reason that C explicitedly has many undefined behaviours is to allow various and sometimes significant optimizations, that could not be done, if the C standard would explicitedly require specific behaviour in certain cases (for instance uninitialized variables).
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Restrict Search results in Transaction FPP3 Business Partner

    Hallo,
    I need to restrict the search results in transaction code FPP3.
    When an end user calls the transaction code 'FPP3' and in the left side of the screen makes a search for Business partner based on what ever selection cryteria, standard program finds the values and gives the result on ALV grid.
    My problem is I need to check if user has right authorisation to look at Partner and if  not delete the partner from Result table. I have treid by implementing events 'SERC1, SECR2 and SERC3'  in BDT and implemented the BADI to masK the fields which is not right solution.
    Can anybody please give me Tip or an Example how I can solve my problem.
    Thank you and Regards
    Ravi

    Hi Komal,
    you can you this in the following way: IMG -> ...-> Treasury and Risk Management -> Basic Functions -> SAP Business Partner for Financial Services -> General Settings -> Business Partner -> Basic Settings -> Business Partner Roles -> Define BP Roles -> select those BP roles you intend to hide for the selection in F4 -> choose detailed view -> look for the fields group 'General data' - > select the checkbox in the field 'Hide'.
    one note - as those BP roles are used in other SAP modules as well, make sure, you are not making the incorrect settings in this area.
    hope this will help you.
    Rgds,
    Renatas

  • In the address bar, how do you get rid of the Amazon button, the "e-pub catalogue" button and change my search button to Google vs Babylon? Where is the button beside the forward arrow that would allow you to see your current history of links?

    On my address bar, there is now a superfluous Amazon button at the right of the forward arrow where there used to be a button that would allow you to see your recent links. It's gone. In addition there is a useless "epub catalog" button and the search button is Babylon instead of Google. How do I go back to my working address bar.

    Right click the Back / Forward buttons to get a list of sites you visited.
    To reinstate Google as your search engine, do the following.
    * In the location bar, type '''about:config '''and hit Enter.
    * In the filter at the top, type: '''keyword.URL'''
    * Double click it and remove whatever's in there and replace it with http://www.google.com/search?q=
    * Go to File | Exit
    * Restart Firefox, go to the site you want to set as your homepage.
    * Go to '''Tools '''| '''Options '''| '''General'''.
    * Make sure it says "''Show My Homepage''" in the first dropdown menu.
    * Click the button called "'''Use Current Pages'''" to set the homepage to the one you have on the screen.
    The URL to add in "keyword.URL" becomes a link in this post, so right click it and choose "Copy Link Location" to copy it to the Windows clipboard. Then hit CTRL+V to paste it. Saves you having to type the whole thing.
    '''EDIT''': Remove the AmAzon button by right clicking a blank part of the tab bar and click '''Customize'''. Then drag it into the panel which opens.

  • Where is Search Button in Portfolio published to web?

    While creating my portfolio in Acrobat 11 Pro, the search button is on the top right hand side of the window and works correctly. As soon as I publish the portfolio to a web, the button dissappears and I am left with just the "Layout" and  "Files" buttons. This happenes in Chrome and IE. How can I get the Search Button to appear?

    OK I have now tried the search engine on the web site approach and it works to a certain extent in that it shows the documents containing the search term. Unfortunately it doesnt highlight the terms in the document in the same way that the Acrobat Search does, so the search term has to be entered again and again into each document found. Ideally I want to be able to use the standard Acrobat search within my web. Any ideas?

  • When using private browsing to view image results in Safari 5.1.3, only the first two rows of results are visible, the following four or so rows display greyed out place holders, and the safe search button is inoperable. Suggestions?

    When using private browsing to view image results in Safari 5.1.3, only the first two rows of results are visible, the following four or so rows display greyed out place holders, the remainder of the results page is blank, and the safe search button is inoperable. When I turn off private browsing and refresh the page, everything works again.
    Anyone else having this problem?

    I have got the same behaviour after the last Safari Update to 5.1.3. It seems that Safari now handles some scripts in a new way. If you debug the Google Website, you will see, that there is some Javascript Error, that seems to prevent to write into local cache. After some searching I wasn't able to finde a solution for this problem, other then disabling Javascript while private browsing to prevent the script loading. You then are able to use Google with the old layout. The option to disable JavaScript can be found in the Menu "Developer", wich has to be enabled in Safari in the options first.
    In my opinion this is a bug that is now occuring, because Apple changed something in private browsing and that has to be fixed by Google now, to run again. Or we will have to wait for 5.1.4, as you can read online Apple will change and bugfix the javascript engine in that version, perhaps this fixes the problem as well. I hope so!
    If anyone is in the developer program perhaps you could test this with the beta of 5.1.4 and tell us if it works.

  • On Click of Search button, display the results in new tab or window

    When i click on the search button on the top right in sharepoint 2010, i want to open the search page in either new tab or window,
    By default, when we click on search icon it redirects to the OOB search result page. the only thing i need to change is to open the result page in new window or tab. so the users remains on the same page & will see the search results in new page.
    Thanks, Kunal Govani

    Hi,
    You need to change the XSL of the Search Core Results WebPart.
    This article describes how to achieve this:
    http://blog.henryong.com/2007/10/27/how-to-make-moss-2007-search-results-open-in-new-window/. It is written for SharePoint 2007 but it can be used for SharePoint 2010 as well.
    HTH!
    Regards, Sjoukje
    Web: http://sjoukjezaal.com | LinkedIn:
    http://www.linkedin.com/in/sjoukjezaal | Twitter:
    @SjoukjeZaal
    Please click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you.

  • How to remove default search button in search module

    I am a neophyte with code and css and normally work with Muse. But I am currently trying to customize the appearance of the search module so that it works with the website it will be serving. I have  accomplished a large part of what I've been attempting, but have hit a snag in removing the default search button (CAT_Search). I've placed the image I want to use no problem, but it is contained in some weird gray beveled box with the original 'Search' text overlapping my image.
    I have been making the rounds of tech support, tutorials, and every documented article on the search module and can find nothing that address this specific issue. Any help would be greatly appreciated! I am enclosing the what I've done so far below.
    Thanks!
    Paula
    <style type="text/css">
    body form {
      width: 163px;
      height: 48px;
      form-top-right-radius: 5px;
      form-bottom-right-radius: 5px;
      background-image: url(http://corehog.businesscatalyst.com/images/search.png);
    .search-box {
      color: #999966;
      font-family: lato;
      font-style: normal;
      font-weight: 100;
      width: 86px;
      height: 24px;
      border: none;
      max-width: 86px;
      opacity: 0%;
      max-height: 24px;
      margin-left: 12px;
      margin-top: 12px;
      margin-bottom: 12px;
    .cat_button {
      width: 32px;
      height: 24px;
      border: none
      background-color: none;
      background-image: url(http://corehog.businesscatalyst.com/images/search-button.png);
      margin-left: 12px;
      margin-top: 12px;
      margin-right: 20px;
      margin-bottom: 12px;
    </style>
    <!--The following script tag downloads a font from the Adobe Edge Web Fonts server for use within the web page. We recommend that you do not modify it.--><script>var __adobewebfontsappname__="dreamweaver"</script><script src="http://use.edgefonts.net/lato:n1:default.js" type="text/javascript"></script>
    <form name="catsearchform87352" method="post" action="/Default.aspx?SiteSearchID=3752&PageID=/http://corehog.businesscatalyst.com/search-results.html"><div><input class="search-box" type="text" name="CAT_Search" id="CAT_Search" /><input class="cat_button" type="submit" value="Search" /></div></form>
    {module_searchresults}

    Hi Ramandeep Nanda,
    Thanks for the reply.
    I followed a slightly different approach than the one mentioned in your post.
    I have not used any client side javascript attributes.I got the inputListOfValues Component from the launch listener event ( launchPopupEvent.getComponent() ) and in the launch listener i am setting richQuery.setModeChangeVisible(false);
    It is hiding the button now but only for the first invocation of the search dialog, it is not working.
    More specifically, for the first invocation of the search dialog, Iterator facetNames = inputListOfValues.getFacetNames(); is not returning the child components and hence the button is not being hidden.
    Any idea why this might be happening?
    Thanks,
    Vikas

  • Can I set an af:setActionListener on the search button of a af:query ?

    Hi,
    I want to store a flag in the session scope when the search button of an <af:query> form is pressed. The flag is used to determine if the query has been executed and the result table iterator should provide the result.
    I'm still looking for a solution to handle the problem of an automatic query execution when a search page is rendered (see How to execute query only when user submits request in <af:query>
    And the solution should work without Java code. :-)
    Thanks,
    Markus

    Hi Frank,
    thats a tough question. I have some opinions on how to implement it:
    1.) Exposing listeners
    Easy (?!) solution, needs managed beans as listeners.
    2.) Exposing the commands. Make the commands like 'search', 'reset', 'save' ... accessible by creating extra JSF code for the commands in a facet when D&D the <af:query>.
    I don't know if it is possible to implement such a solution, but the developer can extend or adapt easily the behavior to his own needs.
    3.) Implement result of a D&D of a named criteria as a series to single JSF components. Each component implements an aspect of the <af:query> component.
    Markus

  • When I use the Norton Safe Search box in Firefox 3.6.19 the letters that I type group together and disappear behind the search button at the end of Norton Safe Search....any help?

    I don't know how much more I can add...However, when I type in the Norton Safe Search box up to the search button in Norton Safe Search I can continue to type but I can't see what is being typed because it doesn't allow me to see the trailing end of what I'm typing. This along with the fact that the letters and words don't always automatically advance a space, they group together as I'm typing and I have to stop, provide a space and continue once again. This only happens in Mozilla Firefox, I'm using Firefox 3.6.19. This doesn't happen in the Norton Safe Search Box in Internet Explorer

    Maybe another extension that you have installed is causing that problem with that Norton Safe Search add-on.
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes <br />
    Disable all other extensions and see if Norton works correctly. <br />
    I so, start enabling extensions one at a time until you find the culprit.
    If not, create a new Profile and verify that Norton is the only extension that appears in the new Profile and see if it works correctly. <br />
    http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    If not, the problem is with the Norton add-on.

  • Class Cast exception when clicking Search Button in Query component

    Hi
    We have to implement the Query component in ADF programmatically.. We are using Toplink as the Model layer for ADF.
    We followed the Web User Interface Guide for ADF development, Chapter 12 (Using Query Components) for the same.
    We already have implemented the following classes:
    1) QueryModel
    2) QueryDescriptor
    3) AttributeDescriptor
    4) ConjuctionCriterion
    5) AttributeCriterion etc.
    We are able to see the Search panel in UI with selected fields in Basic as well as Advanced mode.
    When we click on Search button, we are getting Class Cast exception.
    The stacktrace of the exception is below:
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
    javax.el.ELException: java.lang.ClassCastException: view.QueryDescriptorImpl cannot be cast to oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryDescriptorImpl
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1300)
         at oracle.adf.view.rich.component.UIXQuery.broadcast(UIXQuery.java:116)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.ClassCastException: view.QueryDescriptorImpl cannot be cast to oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryDescriptorImpl
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.processQuery(FacesCtrlSearchBinding.java:374)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         ... 44 more
    <RegistrationConfigurator> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
    javax.el.ELException: java.lang.ClassCastException: view.QueryDescriptorImpl cannot be cast to oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryDescriptorImpl
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1300)
         at oracle.adf.view.rich.component.UIXQuery.broadcast(UIXQuery.java:116)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.ClassCastException: view.QueryDescriptorImpl cannot be cast to oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$QueryDescriptorImpl
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.processQuery(FacesCtrlSearchBinding.java:374)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         ... 44 more
    Any help will be highly appreciated.
    Thanks in advance.
    Anup

    Gary Tam wrote:
    I am working on a project that utilize Oracle Ultra Search that will crawl and tag documents in the database.
    The initial code that uses pure JDBC was working fine, but when we switch to get database connection from dataSource, we are getting classCast exception inside Oracle's ultra search. The problems is that the class we get from dataSource.getConnection() returns
    "weblogic.jdbc.wrapper.JTSConnection_oracle_jdbc_driver_T4CConnection". But Oracle UltraSearch is not expecting that.
    Is there anyway to unwrap the connection that we get from dataSource ? I tried casting to OracleConnection,
    assign the connection to "oracle.jdbc.driver.T4CConnection" without any success.
    Any help would be appricated.
    ThanksHi Gary. If the code you want to run is running inside WebLogic, such as in a JSP,
    then look for our documentation on our JDBC extension 'getVendorConnection()". It
    will get you a direct Oracle connection for their mis-declared UltraSearch
    classes (they declare they take java.sql.Connection, but they really demand a
    concrete thin driver connection. No other Oracle driver will be given a chance).
    Joe

Maybe you are looking for