Searching by wildcard

Im trying to search a field in a DB block from a non DB block and if I dont type in exactly what the field value is, nothing returns. I have a field that can be up to 2000 characters and I want to be able to search by keyword...% didnt work for me..

You should be able to build a where clause on the database block based on the non-db block information.
Non-Database Block - When-button-pressed trigger
declare
v_where varchar2(2000);
begin
v_where := 'like ' || :nondatabaseblock.field;
set_block_property('DATABASE_BLOCK', 'default_where', v_where);
go_block('DATABASE_BLOCK');
execute_query;
end;
-- I hope the syntax is correct because I just wrote this on the fly.
-mike

Similar Messages

  • BP telephone Search using wildcards (IC Winclient)

    I'm unable to search business partners by telephone number using wildcards (*) because I get the error message "enter a country to do the search using wildcards".
    How can I include a default country and state on the html template of the BP Search?
    I´ve tried this code below (on tcode smw0)but it doesn't work:
    Portugal
    Lisbon
    Any help?
    Thanks

    hey buddy
    yes i would like to enahnce the BP search too
    but right now the things is that the BP search screen the standard one is coming emmpty
    i have assigned the search criteria as BPSearch which is a default profile for search
    but when i assign the BP search workspace ,the screen is coming empty
    i mean  firstly the standard screen should be coming ,then i could enhance it
    please tell me what all are the settings required to use BP search in winclient
    again mentioning the standard screen containing the existing standard criteria for BP search is not coming ,the screen under the BP search tab is empty
    please advise
    help will be appreciated
    best regards
    ashish

  • DirectoryContext.search with WildCard "*" Fails in 64 Bit JRE

    Hi all,
    I'm using DirectoryContext.search with wildcard "*" filter. it works fine in 32 Bit JRE, but throws the following exception when I run the same in Solaris 64 Bit JRE.
    Exception in thread "main" javax.naming.directory.InvalidSearchFilterException: invalid attribute description; remaining name 'ou=People,dc=mydomain,dc=com'
    at com.sun.jndi.ldap.Filter.encodeSimpleFilter(Unknown Source)
    at com.sun.jndi.ldap.Filter.encodeFilter(Unknown Source)
    at com.sun.jndi.ldap.Filter.encodeFilterList(Unknown Source)
    at com.sun.jndi.ldap.Filter.encodeComplexFilter(Unknown Source)
    at com.sun.jndi.ldap.Filter.encodeFilter(Unknown Source)
    at com.sun.jndi.ldap.Filter.encodeFilterString(Unknown Source)
    at com.sun.jndi.ldap.LdapClient.search(Unknown Source)
    at com.sun.jndi.ldap.LdapCtx.doSearch(Unknown Source)
    at com.sun.jndi.ldap.LdapCtx.searchAux(Unknown Source)
    at com.sun.jndi.ldap.LdapCtx.c_search(Unknown Source)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(Unknown Source)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source)
    at javax.naming.directory.InitialDirContext.search(Unknown Source)
    Please help.
    Thanks in advance,
    Regards,
    Kaja

    When will Aobe Acrobat support Office 2010 64 bit and Windows 7 64 bit?

  • Value Mapping Replication - XIVMService.execute() search using wildcards

    Hi, i'm replicating value mappings to IS' cache.
    Replication works fine. Using RWB i'm can list all the data in the Value Mapping Groups cache. I can also perform a loose search entering something like "12*" in the 'Value' field and the result contains all the mappings having 'Value' staring with "12".
    The problem arises when i try to do the same search with
    XIVMService.executeMapping
    because it just tries to do an exact search insluding the wildcard as the source value. Has anyone tried this? I need help urgently, otherwise i'm afraid i'll have to change my solution radically.
    Thanks in advance
    Nicolá

    >I can also perform a loose search entering something like "12*" in the 'Value' >field and the result contains all the mappings having 'Value' staring with "12".
    Are you doing this to manually search for the value in the RWB or is it in the Runtime.
    > The problem arises when i try to do the same search
    > with
    XIVMService.executeMapping
    because
    > it just tries to do an exact search insluding the
    > wildcard as the source value. Has anyone tried this?
    Where are you trying this search? What i mean to ask is in the runtime ? Are you using some UDF/ Java code to read the data from the value mapping table?
    If my answer/ question is completely off track , I would really like to know what you are trying here
    Regards
    Bhavesh

  • Exchange Online Quarantine Search Using Wildcards

    Hey There,
    This page http://technet.microsoft.com/en-us/library/dn567976%28v=exchg.150%29.aspx states at the bottom you can use wildcards to search quarantined messages in EOP but I can't get the commandlet to work. I know the brackets are wrong but even are rectifying
    that issue the code still doesn't work.
    Is it possible to  use wildcards with get-quarantinemessage?
    Hibs Ya Bass!

    Please read full text most carefully.
    Q. Are wildcards supported when searching for quarantined messages? Can I search for quarantined messages for a specific domain?
    A. Wildcards are not supported
    when specifying search criteria in the Exchange admin center. For example, when searching for a sender, you must specify the full email address.
    "Not" usually means "not". if this is not the case please notify.
    ¯\_(ツ)_/¯
    Is this the sarcasm forum then?
    It also states that wildcards are not supported when using the Exchange Admin Center. I'm not using the admin center I'm trying to use the powershell code that Microsoft themselves have recommended directly below!
    Hibs Ya Bass!
    No.  The documentation clearly states wildcards re not supported.  Reqd the full text.
    Your issue appears to be a missing character.  Fix that and try again/
    ¯\_(ツ)_/¯
    So you're saying that wildcards aren't supported then go on to tell me the there's a missing character in the code that clearly uses a wildcard. Which is it?
    Hibs Ya Bass!

  • Formatted Search Numbering Wildcards

    I've seen lots of numbers used in formatted search queries on these forums, and it looks like they are used as wildcards (as mentioned below) so that a single query can be used for all marketing documents for instance.  Is there a list somewhere that shows which numbers correspond to which tables and fields?
    "Note!!! You can replace the $[ORDR.CARDCODE] string (in the query) with the $[$-4.0.0] string, and the $[ORDR.NUMATCARD] string with $[$-14.0.0] string. Using these alternative strings will enable SAP Business One users to activate this query in other marketing documents, by changing only the name of the related table."
    My specific question involves a UDF.  I have a row level UDF in my marketing documents called "OrderType", which lets us specify if it is a Normal order, Sample order or a Service order.  Depending on which is selected, my formatted search automatically changes the G/L Account field and COGS Account field on the same row.  Can I use a single query for all marketing documents instead of having one for each table?  Below is my query that is currently functional for sales orders.
    SELECT
      CASE $[RDR1.U_OrderType]
        WHEN 'Normal' THEN 5000
        WHEN 'Sample' THEN 6125
        WHEN 'Service' THEN 5803
      END $[RDR1.U_OrderType]
    FROM RDR1 FOR BROWSE

    As long as you do not include any table names in your query, it applies to all your marketing documnets.  You can find this info by View - System Information.
    Actually, you should create another UDF in the item master. The UDF in all your Marketing Row levels will get this info.
    Your query will looks like:
    SELECT
      CASE $[$38.U_OrderType.0]
        WHEN 'Normal' THEN 5000
        WHEN 'Sample' THEN 6125
        WHEN 'Service' THEN 5803
      END

  • Searching with wildcards

    Hi,
    I'm using some kind of search-function based on a textfield and following sql statement in the where-part of the SQL report:
    and instr(upper("ADRESSE"),upper(nvl(:P300_SUCHTEXT,"ADRESSE"))) > 0
    This is working fine so far, if I am searching only simple things. My problem now is that I would like to implement a search-funtion using wildcards, e.g. Me%er will find Meier and Meyer.
    Does anybody has an idea or a hint?
    Thanks
    Michael

    Hi Vikas
    Thanks for your answer. I have checked this out, but unfortunately this does not solve the problem. The wildcards should stand in the Textfield like Me%er, alike the statement
    SELECT adresse from sbb where adresse like 'Me%er',
    with the difference, that this statement works and if I enter % in the textfield, it doesn't work.
    What to do?

  • How can I create a multi field search with wildcard option

    I've been working on a project which has a MySQL database
    that the user can search by choosing to enter some or all of three
    fields in a form on a PHP page, which then, obviously, relate to
    specific variables and fields in the database.
    Previously I had the default values of the variables as '-1'
    which meant that the results page simply ignored any of the
    variables that hadn't been filled in. However, now that the 8.0.2
    update to Dreamweaver has forced the Type of each variable, it no
    longer ignores those values and so returns no results. In order to
    get a correct result I have to fill in all three, I can't just fill
    in one of the fields.
    What do I have to do to regain the functionality of the
    results page simply ignoring any field that isn't filled in
    (effectively giving a 'any' value)?

    When building SQL statement, leave out the WHERE
    xyzfield=SearchString.
    "Podsnap" <[email protected]> wrote in
    message
    news:e7o8o0$jpo$[email protected]..
    >I need to create a search page that give all results if
    nothing is input
    >into
    > the field.
    >
    > Ultimately I want to have several fields on the page and
    the user will be
    > able
    > to enter as much or as little into the fields.
    >
    > So while the first field it likely to be a keyword
    search I might also
    > have a
    > field for say, 'city' and if nothing is chosen then it
    will give results
    > for
    > all cities but, obviously, if London is chosen then it
    will give results
    > for
    > just London. (And obviously if something is put into the
    keyword field as
    > well,
    > then that will filter the results further).
    >
    > Any ideas how I go about this? Or can you point me to a
    good tutorial? Or
    > even
    > an extension?
    >
    > Thanks.
    >
    > PS: I'm not, by any means, a code warrior, so speak
    slowly ;)
    >

  • Can oracle search with wildcard(%) and decimal point(.)

    I created number of filed like test1.2.1, test1.2.2 and test1.2.3, when conduct a search in the database ADV( test1.% ) the search returned with zero results. can oracle search work on the above scenario?

    Cannot reproduce what you have said (or may be I have misunderstood your requirement).
    SQL> select * from
      2  (select 'test1.2.1' field from dual
      3  union all
      4  select 'test1.2.2' from dual
      5  union all
      6  select 'test1.2.3' from dual
      7  union all
      8  select 'test2.2.1' from dual
      9  union all
    10  select 'test2.2.2' from dual)
    11  where field like 'test1.%'
    12  ;
    FIELD
    test1.2.1
    test1.2.2
    test1.2.3

  • Acrobat 6, Searches, Wildcards, and How It's Created

    Greetings,
    Using Acrobat 6 Professional 6.0.0.5 to edit pdf documents created with FrameMaker 7. I open the pdf document to start my editing and my first step is to search for frequent errors (we have some strict conventions). I'm unable to search for period-space-space, space-hyphen-space, etc.
    I was going through my usual process and realized that I can't seem to search using wildcards. The only reference to wildcards that I can find in the Help documentation is that you can't use them with stemming searches. Google searches haven't yielded any more than that. Perhaps I'm just accustomed to FrameMaker, in which I can search for all SORTS of things.
    I tried searching for a word sitting right on the front page, only putting in either a ? or a * in place of one of the letters, and I get zero results (Adding quotation marks doesn't help).
    This led me to two questions:
    1 - Can Acrobat 6 do wildcard (?, *) searches and, if so, how?
    2 - Some of us Save As... to pdf, others Print to PDF, is it possible that the two methods create documents that have different search properties?
    Thanks,
    Solon Aquila

    I have Adobe Reader 6.0.6 which I last updated 4/17/08 (think I had all available updates by then). My 1999 Dell PC uses Windows 98 SE operating system. Today 7/10/08 (when going to Adobe.com), it appears that Adobe no longer supports any Adobe Reader 6.0 version and also has stopped recognizing Windows 98 (lowest is 2000) - thus users are out of luck vis-a-vis getting updates or support. Since April 2008, I have been unable to open/view many PDF files from online sources (where I could previously access the same files). These PDF files show as a blank page with a colorful icon in the upper left-hand corner. Is there any possible fix to this problem? PLEASE help if possible, as I use Adobe Reader quite often. Thank you! KB in GA

  • Wildcard Search in CCW

    Is there a way to do a wildcard search in CCW when querying up a PO#?
    It would be helpful for my customer when querying orders because their PO#'s sometimes include letters at the end of the PO's like "OP" and sometimes they don't.
    For example PO# 4500151514OP maps to SO# 53654560 and comes up in CCW.  But when I try to do a partial search or wildcard search (4500151514 or 4500151514%) in CCW it won't pull up the SO#.
    Please let me know if wildcard searches are possible in CCW or if there was a work-around that could do this.
    Thank you,
    Tom Butalid

    Thank you for suggesting this.
    I tried this solution but am really confused why its not giving any output when I am giving like condition with presentation variable. Whereas if I directly give same value as in presentation
    variable, it returns all matching rows.
    When I saw the SQL generated (by giving presentation variable with like) by OBIEE, it was having "=" instead of "like value%'" whereas by directly giving the value in place of presentation variable, it applies "like 'value%'" only.
    Not sure why its happening, can you also try it once.
    Let me know if anyone has any other suggestion.
    Thanks
    One possible solution :
    - In your prompt set up a presentation variable
    - and in your answer create filter with a like condition, you presentation variable and the % wildcard an the end

  • Fix for SOLR searches beginning with wildcard?

    All, I am having problems finding clear answers on if the above was corrected in ColdFusion 10. 
    I can't get my head around the idea of SOLR not allowing search criteria to begin with a wildcard.  I've seen a solution for reverse wildcard searching, which is great as long as I specify criteria for which I know the ending letters.  For example, if I am looking for all entries ending in "ing", I could do a search on "*ing", using the reverse wildcard to find "gni*".  I have yet to see, or come up with, a solution for a SOLR search with wildcards in the start and end of the criteria.  For example, lets say I am looking for any word with "fus" in the middle, such as "confusing" or "perfusing" or "profusely".  I would want to do a search such as "*fus*".  From what I understand thus far, this cannot be done in SOLR?
    Thanks,
    Tom

    ColdFusion will support whatever Apache solr supports as it is the underlying engine we are using.
    And Solr does support it: http://lucene.apache.org/solr/api/org/apache/solr/analysis/ReversedWildcardFilterFactory.h tml
    I think this is an egregious hack, but still, it's the way they've chosen to support it.
    Solr technically disables support of leading wildcards by default in the traditional query parsers due to concerns about query performance since it tends to select a large percentage of indexed terms.
    Be that as it may, this should be my decision, as the maintainer of the index, not your decision to blanketly disallow it.  If it's available, then one can use it if one choses, or not use it for the reasons you cite.  If you blanketly disallow it, you're removing the ability for me to make that decision.
    It's also a bit of a backwards compat issue, innit?  Verity allowed leading wildcards.
    Adam

  • Limit the ESS employee search all, No Wildcard Search

    Hello,
    We have:
    EP 7.0, SP10
    ERP2005 (ECC 6.0), SP05
    ESS (MySAP ERP) 1.0, SP04.
    How can we configure the ESS employee search in EP to exclude "*" search all.  This is to limit employee from opening the entire 29K employee master records.
    So it mean we dont want the User to search with Wildcards "*" in ESS employee search.
    Any Ideas?
    Thanks and Regards,
    Nazih

    Hello Nazih,
    You can try search string enhancement 'HRESSWWW' available for ESS.
    FUNCTION EXIT_SAPLRH65_001.
    ""Lokale Schnittstelle:
    *"  CHANGING
    *"     VALUE(PATTERN) TYPE  HRP1000-MC_SEARK
    INCLUDE ZXWWWU01 .
    ENDFUNCTION.
    Regards,
    Ahmad

  • BAPI for searching a customer?

    Hi all,
    I have to search for customers in the KNA1 table, e.g. using name, customer number... (all optional, multiple search parameters count as "AND" search), incl. wildcards (--> potentially multiple customers as result).
    As the search is initiated from a Java-based web application, I need a BAPI or at least an RFC FM.
    Unfortunately, I found no fitting one so far. The next best is BAPI_CUSTOMER_FIND, but it seems to work on individiual fields only, and it only supports OR searches, no AND searches.
    Is there a function module already in the system, or do I have to write it myself?
    Thanks in advance!
    Kind regards,
    Dennis

    I realized that BAPI_CUSTOMER_FIND returns the customer number as well, so I can use it in general.
    But there is still some problems remaining, such as the missing AND operator and the need to afterwards get some details about each customer via JCo calls...
    I guess it's best when I develop a custom range selection BAPI.
    Kind regards,
    Dennis

  • Wild Carding with Record Search - Auto Suggest Behavior

    I have a property by name searchTerm which is enabled for wild card record search. When I am doing a wild card search passing bbay* to ERecSearch , it is not auto correcting to baby and returning no results, whereas when I send bbay to Endeca, it is automatically auto correcting to baby.
    Please let me know why is this different behavior noted. Do we not expect them to auto correct even when we use wild carding. Please throw some light on this and how can this be achieved

    As Pradeep said, auto-correction is one of the linguistic features that isn't supported for wildcard searching (along with stemming, thesaurus, snippeting and phrasing). One approach is to do a "cascading search", so execute a search without wildcarding first (and getting spell-correction, did-you-mean, stemming etc.), and if you don't get any matches then re-submit as a wildcarded search. This is also useful as part of a larger part number matching strategy.
    Michael

Maybe you are looking for

  • How can I manage access to dimension members in a layout?

    Hello, I have a dimension member list of materials (400) on a "material" dimension. But some people have access to one portion of the whole group and others may have access to other groups. But the materials can be shared between groups so I cannot g

  • If you purchase i-tunes on your home computer,how do you get it to sync to your phone? I can't get it to work.

    If you purchase i-tunes online,how do you get it to sync? I keep getting a circle with a slash thru it when I drag the song over.

  • Identifying Notes in a backup

    Can anyone tell me if there is an easy way to identify the file (files?) in an iPhone backup that contain the data from Apple's own Notes app? We lost of a bunch of stuff in an OS4 upgrade; we got most of it back but not the notes... so I am wonderin

  • ORA-02393 Exceeded Call Limit on CPU Usage

    I have created a Profile and attached it to a user, in this example: Create Profile percall Limit CPU_PER_CALL 10 IDLE_TIME 5; I have attached it to one user - USER1 When USER1 runs a SQL Statement - SELECT COUNT(*) FROM TABLE1 A WHERE A.EFFDT = (SEL

  • Having issues with PS photomerge

    I have been trying to practice using PS photomerge to stitch photos together the last couple days, and I am having little success. I have tried this with about 10 different sets of photos and have only had 1 come out right. These are the issues I am