QueryFilter on xLongText (CLOB) is not comparable & must not be used with =

Hi,
Im encountering an error creating a queryFilter on xLongText field.
May I know how should I go about doing a search on fields that are declared as xLongText?
Thanks
Error encountered:
com.sap.sql.sqlparser.CommonSQLParserException: - 1:2495 - type check error: the expression >>"ALIAS_1"."SEARCHPROBLEM"<< (CLOB) is not comparable and must not be used with "="
Code:
filters.add(QueryFilterFactory.createFilter("searchProblem", Condition.EQ, (search.length()==0?"*":search.toLowerCase())));

I found the same problem, the way I found round it was to do a find all service (or a by elements find to bring a subset of records back but not filtering on the longText). Then iterate over the results of this in Java and do a string 'contains' method call on the long field as by then it is of type string. If it does contain the filtered string add it to your result.
If there are many records this could become quite a slow service.

Similar Messages

  • I spend 5 months in Florida and 7 months in Ontario, Canada. Can a Verizon Samsung Note ll be unlocked and used with a sim card from another carrier in Ontario?

    I spend 5 months in Florida and 7 months in Ontario, Canada. Can a Verizon Samsung Note ll be unlocked and used with a sim card from another carrier in Ontario?

    Yes, you should be able to use a local SIM card from a carrier in Ontario. You should not have to do anything prior to doing so.

  • Msi x99 gaming 9 ack does not detect capture card when using with xsplit

    msi x99 gaming 9 ack does not detect capture card when using with xsplit
    i install every but still it does not work.

    Hi
    It wasn&#39;t hard to find your motherboard version:
    http://www.msi.com/support/mb/Z68AGD80_B3.html#down-bios
    Since your BIOS is v20.1, it couldn&#39;t be G3 
    Apart from checking BIOS, you can only check motherboard or moth...

  • Service item not relevant for pricing if used with higher level item catego

    Hi,
    We have a service item e.g S900 with Item category ZTAD.
    This line Item automatically creates a Service Order.
    Requirement is , if this service item is used with an Equipement Item,
    Item 10 --> Equipment
    Item 20 --> Service
    --> There would be price required for the Equipment ( Condition type ZPRO - Mandatory )
    --> System should not ask for the price of Service Item, as it would be inclusive in the Equipmetn charges.
    --> In short if the Service item is used as Sub item with Equipment, it is not relevan for pricing.
    I tried copying ZTAD and creating a new item cateogry which is not relevant for pricing...would that be the correct approach, but facing several issues related to Automatic Service order generation.
    what could be possible ways to achieve above.
    Regards
    Trupti Deulkar

    Hi,
      System will ask the price for  item category TAD bcoz service also chargble,in your case insted of TAD use TANN as free,
       You can define based on your higher level item category  for Ex : OR + Normusage(Blank)Higherlevl item (Blank)= TAN
                                                                       you can config like this  ORNormUsge(Blank)  + TAN = TANN
    like this you can do it this correct way or els you can manually enter the item catagory (TANN) at sale order line item level.
    Thanks
    Vinayak.
    Edited by: vinayak4all on Jul 12, 2011 2:45 PM

  • Lookup expression is not working when I am using with in the rectangle box in SSRS

    I have two datasets with common member is ProgramID.
    I have followed the below steps,
    1. Added one table  (2x2) and mapped this table to dataset1. After that I have removed top row.                                               
    That means I am maintaing only  data row.
    2. Added group to the table (ProgramID). Now the programid is sitting at cell#(1,1) and  cell#(1,2) is blank
    3. I have verified the report with preview and able to see the data for my all programs. I have 5 programs
    4. my plan is adding chart and matrix reports to cell# (1,2). If I am adding chart/matrix to the cell#(1,2) then we can't contol the  cell alignments in terms of height x width.
     To resolve that problem, I have added one rectangle control to the cell#(1,2) then I have added my chart and matrix report
    5. After completing the report, I have verified with preview and able to see the reports (chart/matrix) for all my 5 programs by page wise (note: I have provided page break before for my rectangle)
    6. Till this point, I have no issues
    7. Now, I have added one more row under the group. so, we have our main table (2x2). Becuase of programId group we can only see 3 cells in total table  (cell# (1,1) =ProgramId  cell#(1,2)=chart and matix reports under rectangle box; cell#(2,1)=already
    merged with ProgramID group; cell#(2,2)= planned to add one more rectanlge and add two reports (chart and matrix)
    8. Now, i have added rectangle to cell#(2,2) then added chart and matrix reports within the rectangle.
    9. cell#(2,2) reports are needs to extract the data from dataset-2. Here we have common member is ProgramID (ds-1,ds-2)
    10. First I have tested for matrix report by adding lookup expression
          Matrix report (2x2)
         row-1: Cell(1,1)= Gender report heading ; cell(1,2)=Month  (column group)
         Note: month is also common member in both the datasets. 
         row-2: cell(2,1)--  =Lookup(Programid.value, Programid.value,Gender.value,"Dataset2")  (Gender data is Male and Female)
                    Cell(2,2) -- empty for now
     11. I have tried to preview the report and able to see the report without any issues and below are observations
            main Table (2 x2)
             Cell# (1,1)  = ProgramID --Returning all 5 programs properly
             Cell# (1,2)  = Dataset1 related report (chart and matrix reports under rectangle) -- able to see without any issues
             Cell#(2,1)  = We already know this is merged cell. i.e menas ProgramID dispalying
              Cell#(2,2)= Only Male record is dispalying in the matrix report which is under rectanlge (here we have applied Lookup expression.
    Note: male is the first record from the database and Female is the second record
    Also, observed that Cell#(2,2) matrix report is unable to display the gender count information when I have provided count value expression in the cell(2,2) within the matrix and the expression I have uses is
      = sum(Lookup(ProgramId.value,ProgramId.value,GenderCOunt.value,"Dataset2"))
    Please ask me if I am unable to explain or lengthy explain.
    Point : Why the lookup expression is giving the first record only (in case of gender #(male, female) and why it is unable to give the gendercount.  Gendercount cell is totally blank.
    Please help me.
    Kishore.

    Hi Kishore,
    I have tested the issue step by step by following you description, while the first issue works well in my local environment. Based on my research, this can be caused by the lookup expression or it indeed return Male value based on the logic. If you use the
    expression below, it will indeed only return the Male record. So please try to double-check the record in the two datasets and the expression in your environment:
    =lookup(first(Fields!ProgramID.Value,"DataSet1"),Fields!ProgramID.Value,Fields!Gender.Value,"DataSet2")
    As to the second issue, please try to use the following expression:
    =Count(Lookup(fields!ProgramID.value,fields!ProgramID.value,fields!Gender.value,"DataSet2"))
    Besides, if this issue still exist, in order to trouble shoot this issue more efficiently, could you please post both the .rdl  file with all the size properties to us by the following E-mail address?  It is benefit for us to do further analysis.
    E-mail: [email protected]
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • X Tools 3.2.6 'not recognised' when downloaded for use with I OS 10.6.8

    Trying to run 'Codeblocks' for a FutureLearn course C Programming element and need a compiler. The advice seems to be to load X Tools. However my, very stable, i Mac is running on OS 10.6.8 and when I try and load the relevant version of X Tools - 3.2.6 - I get an error message telling me that the file is not recognised.
    Any help much appreciated - very frustrating.
    Jim Hart

    Error: Activation Server Unavailable | CS2 or older products, Acrobat 7
    Mylenium

  • Re: msi x99 gaming 9 ack does not detect capture card when using with xsplit

    I concur with all of badboy2k&#39;s thoughts. He puts forth a very good explanation, and it makes sense.
    I&#39;d get the power supply out and get a good branded power supply (Seasonic is my preference at this time)....

    I have a MSI z87-GD65 and I cannot get the computer to reboot.
    I am on a fresh windows 7 install.
    Specs
    i5 4690k
    EVGA GTX 670
    EVGA 750w
    G skill 2x8gb 2400
    samsung 250gb ssd
    Did:
    Latest bios update from msi
    CMOS reset
    Latest Intel ME driver from msi

  • Null in Composite Primary Key and "Primary keys must not contain null"

    Hello all.
    I'm a newbie concerning to JPA/EJB3, but I was wondering if toplinks doesn't support composite primary keys with null in some field (something perfectly right in any RDBMS).
    I used JDeveloper (I'm using Oracle 10g database and JDeveloper 10.1.3.2.) wizards to generate JPA classes and I checked out generated files (with annotations), so they should be right (by the way, other O-R mappings for my model are working right, but this one).
    I'm getting the next error:
    Exception Description: The primary key read from the row [DatabaseRecord(
         TSUBGRUPOSLDI.CD_GRUP => 01
         TSUBGRUPOSLDI.CD_SUBGRUP => null
         TSUBGRUPOSLDI.CG_POBL => 058
         TSUBGRUPOSLDI.CG_PROV => 28
         TSUBGRUPOSLDI.DSCR => Sanidad)] during the execution of the query was detected to be null. Primary keys must not contain null.
    Compound primary key is (CD_GRUP, CD_SUBGRUP). No foreign keys, no joins (only a NamedQuery: "select o from ..."). It's the simplest case!
    I checked out that everything runs ok if there's no "null" value in CD_SUBGRUP.
    After some research (this and other forums) I'm beginning to believe that it's not supported, but not sure.
    Am I doing sth wrong? If not, what is the reason to not support this? Will it be supported in the future?
    Thanks in advance.

    Null is a special value and in many databases is not comparable to another null value (hence the isNull operator) and may pose problems when used to uniquely identify an Entity. TopLink does not support null values within a composite PK. As the nullable column is most likely not designated as a PK within your database table (many databases do not allow this) I recommend updating the Entity PKs to match that of the database.
    --Gordon                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Theme editor doesn't show - DesignManager must not be null error

    Hi,
    I'm experiencing problem with Theme Editor & default portal themes. Problem was probably started by importing custom themes from older version of portal (current configuration is NW2004 SPS19, Java stack). After entering System Administration / Portal Display, theme editor doesn't show up and defaulttrace contains following error:
    #1#java.lang.IllegalArgumentException: DesignManager must not be null.
         at com.sapportals.portal.ssd.userInterface.InitialPage.<init>(InitialPage.java:74)
         at com.sapportals.portal.ssd.StyleSheetDesigner.doContent(StyleSheetDesigner.java:94)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:545)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         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:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    I've tried many things - delete custom themes (at first from Theme Archive, then from themes Integrity browser (...irj/servlet/prt/portal/prtroot/com.sap.portal.themes.integrity.browse) and finally I've found traces in the filesystem (I think it was .../irj/root/portalapps/com.sap.portal.design.urdesigndata/themes/customer)). So there should be no trace of custom themes in the system (as suggested in thread Theme Editor no showing content.), but the problem remains.
    And there's more I found. We have 2 same systems installed on one server (both have own Oracle database+NW 2004 SPS19). The other portal works fine and without any problems, even with the same themes imported - it didn't create any error so I wonder if the problem doesn't lie somewhere else.
    One more thing I noticed, which is different among these two portals, is the bahaviour of default themes - when I start ...irj/servlet/prt/portal/prtroot/com.sap.portal.themes.integrity.browse on both portals, the one which works, has also its and portal subnodes under every theme from SAP. On the other portal, only one theme shows all - the sap_chrome. Other themes contain only ur subnode. I've tried to compare filesystems of both portals (but only directries which I found through search for "sap_tradeshow"), but I haven't noticed any differences. What else could be different?
    I tried many things, but without any effect. Could anyone help me, please? I'm running out of ideas and thinking about reinstalling the portal, which isn't prefereble solution.

    Hi,
    It's really hard to say, where's the problem. I think you should reinstall it..., probably some components of your EP wasn't installed correctly.
    Regards,
    Juraj

  • Maintenance Order TECO date must not be befor the Permit Issue Date

    Hi Friends,
    I have a genuine requirement like " Maintenance Order TECO date must not be befor the Permit Issue Date ".
    The requirement is System shall issue a message if TECO date is before the Permit issue date.
    Guys pls help me onthis.
    Thanks & Regards,
    krishna

    Krishna,
    What you can do is use a User Exit: IWO10004 Maintenance order: Customer check for order completionand check that the reference date of completion, also you would need the approval date for the assigned permits in Order by using the table "IHSG" or a relevant function module to get the details of the Permit approval date. After you have the permit approval date, you can compare it with the reference date of  completion and if mismatched then generate the relevant error message.
    regards,
    Muhammad Usman Kahoot

  • I bought a song on iTunes...but it must not have downloaded all the way an now I can't get it to play and it won't let me delete it...I also can't purchase it again cause it says I done bought it...any suggestions?

    I bought a song on iTunes...but it must not have downloaded all the way an now I can't get it to play and it won't let me delete it...I also can't purchase it again cause it says I done bought it...any suggestions?

    Try this:
    http://support.apple.com/kb/HT2519

  • I cannot sign in.  "This Apple ID has not yet been used with the iTunes Store.  Please review your account information."  I click "Review", next message "You must turn on cookies to continue.   Cookies must be enabled if you want to create or edit.. etc."

    I applied and received an upgrade code to Redeem Mountain Lion for my new MBP. 
    I get this message when I try to Sign in to the App Store after entering the redemption content code, and also if I just try to "Sign In".   The first part of the error is true - I haven't used the AppleID with the iTunes store.  
    I received the upgrade code using this same AppleID, so I don't think I can use a different AppleID.
    I also tried to re-create this appleID...(it was one suggestion I saw for this issue) It doesn't let me since the ID already exists...
    The error is:
    "This Apple ID has not yet been used with the iTunes Store.  Please review your account information."  I click "Review", next message "You must turn on cookies to continue.   Cookies must be enabled if you want to create or edit.. etc." 
    It's clearly not a cookie issue..   Stuck...

    The first part of the error is true - I haven't used the AppleID with the iTunes store. 
    Try here >  Using an existing Apple ID with the iTunes Store and Mac App Store
    received the upgrade code using this same AppleID, so I don't think I can use a different AppleID.
    Correct.
    It's clearly not a cookie issue..
    As for cookies. Quit the App Store. Now open the Finder. From the Finder menu bar click Go > Go to Folder.
    Type this exactly as you see it here:   ~/Library/Cookies
    Click Go the move the   com.apple.appstore.plist   file from the Cookies folder to the Trash.
    Relaunch the App Store.

  • Nice to see 13" retina but it has only Intel HD Graphics 4000 and does not have NVIDIA GeForce GT 650M with 1GB of GDDR5 memory card. How it will affect the speed, performance and other things compared to 15" retina where NVIDIA GeForce card is available.

    Nice to see 13" retina but it has only Intel HD Graphics 4000 and does not have NVIDIA GeForce GT 650M with 1GB of GDDR5 memory card. How it will affect the speed, performance and other things compared to 15" retina where NVIDIA GeForce card is available.

    The 15" Retina's will have better performance than any 13" Retina. Not only do the 15" machines have dedicated GPU's, but they also have quad-core processors, whereas the 13" Retina's only have dual-core processors.

  • WD - Adobe Interactive Form -  Bound data node must not be empty!

    Hello,
    i have a problem to display the result of a search view in an Adobe PDF. I got the error-message "Bound data node Node(ResultPDFView.FlightList) of InteractiveForm must not be empty!"
    To develop a prototyp i have changed the Flight-List example. I have added a new view, mapped the data of the model to the data of the customController. At the wdInit-Method i have initialized the nodes.
      //@@begin javadoc:wdDoInit()
      /** Hook method called to initialize controller. */
      //@@end
      public void wdDoInit()
        //@@begin wdDoInit()
         // Create a new element in the Bapi_Flight_Getlist_Input node
         Bapi_Flight_Getlist_Input bapiInput = new Bapi_Flight_Getlist_Input();
         wdContext.nodeBapi_Flight_Getlist_Input().bind(bapiInput);
         // Create new elements in the Destination_From and Destination_To nodes
         bapiInput.setDestination_From(new Bapisfldst());
         bapiInput.setDestination_To(new Bapisfldst());
         // Create a new element in the Bapi_Flight_Getlist_Output node
         Bapi_Flight_Getlist_Output bapiOutput = new Bapi_Flight_Getlist_Output();
         wdContext.nodeOutput().bind(bapiOutput);
         // Create a new element in the Flight_List node          
         Bapisfldat     bapiFlightList = new Bapisfldat();
         wdContext.nodeFlight_List().bind(bapiFlightList);
         bapiFlightList.setAirline("LH");
        //@@end
    If i start the application i can see all the information (the airline) in my PDF-Dokument, but after the Bapi-Call
    i got the error message !
      //@@begin javadoc:onActionSearch(ServerEvent)
      /** Declared validating event handler. */
      //@@end
      public void onActionSearch(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionSearch(ServerEvent)
         wdThis.wdGetFlightListCustController().executeBapi_Flight_Getlist_Input();
        //@@end
    Where is the problem ? Must i mapp the result element to the currentContextElement ?
    Thanks for help !
    Regards
    Jürgen Berndt

    Hi Jurgen
    Were you able to find out the solution for this? I am getting the same error on a much simpler application - I am trying to do the tutorial given on SAP Help Site at
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/f1783fe3263042e10000000a114084/frameset.htm
    Thanks
    Pankaj

  • Error: Expression must not return a multiline value

    Hi all,
    I am doing a file to file scenario. My input file has more than one record. I have to validate for each of these records and send back the erroneous records in a file to the source folder.
    I am using BPM for this. In my BPM, i have some multiline container elements. When i try to activate my BPM, i am getting an error saying: <b>Expression must not return a multiline value.</b>
    Can anybody tell me why this error is coming? Also i want to know what type of mapping i have to do to split my source file.
    Regards,
    Divija.

    "Can anybody tell me why this error is coming? Also i want to know what type of mapping i have to do to split my source file."
    Go through the following blogs which give step-bystep approach for split mapping using BPM:-
    1. /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    2. /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    Also, you might want to look at this, where a BPM is not required..i think you can avoid a BPM altogether if you have very little validation..
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Regards,
    Sushumna

Maybe you are looking for