Using synonyms in name search

Hello,
i'm trying to use synonyms in an oracle namesearch. I setup a name seqarch like in the second example described in the oracle text application developer's guide at http://download.oracle.com/docs/cd/E18283_01/text.112/e16594/search.htm
Now the name i'm searching for might contain a '&', for example 'B & V'.
I'd like to find this text when i enter 'B&V', B & V' or even 'B and V'.
I found a thread about setting up a thesaurus with synonyms for '&' and 'and' at "and" and Ampersand or special characters
Now i wonder how to combine this.
Thanks for help in advance,
Dirk

In the following example, I started with the code from the second example in the link provided. I added one row of data containing the "B & V" for testing. I added "&" and "and" to the thesaurus as synonyms. I added a function to format the search string by adding an extra space around "&", removing duplicate spaces, adding "{" and "}" around each reserved keyword, trimming the result, and returning it. I then modified the query to use the function. That seems to be all that is necessary. It does not seem to be necessary to change the stoplist or printjoins, due to the way the rest of the code is written. I added comment lines to show where I made changes. I did not change the procedure, but you may want to modify it as the usage of regexp seems to be only outputting the last four digits of the phone.
SCOTT@orcl_11gR2> create table emp (
  2        first_name    varchar2(30),
  3        middle_name   varchar2(30),
  4        last_name     varchar2(30),
  5        email            varchar2(30),
  6        phone            varchar2(30));
Table created.
SCOTT@orcl_11gR2> insert into emp values
  2  ('John', 'Black', 'Smith', '[email protected]', '123-456-7890');
1 row created.
SCOTT@orcl_11gR2>
SCOTT@orcl_11gR2> -- added row of data:
SCOTT@orcl_11gR2> set define off
SCOTT@orcl_11gR2> insert into emp values
  2  ('Jane', 'Doe', 'word B & V word', '[email protected]', '321-654-0987');
1 row created.
SCOTT@orcl_11gR2>
SCOTT@orcl_11gR2> create or replace procedure empuds_proc
  2       (rid in rowid, tlob in out nocopy clob) is
  3         tag varchar2(30);
  4         phone varchar2(30);
  5  begin
  6    for c1 in (select FIRST_NAME, MIDDLE_NAME, LAST_NAME, EMAIL, PHONE
  7              from emp
  8              where rowid = rid)
  9    loop
10         tag :='<email>';
11         dbms_lob.writeappend(tlob, length(tag), tag);
12         if (c1.EMAIL is not null) then
13             dbms_lob.writeappend(tlob, length(c1.EMAIL), c1.EMAIL);
14         end if;
15         tag :='</email>';
16         dbms_lob.writeappend(tlob, length(tag), tag);
17         tag :='<phone>';
18         dbms_lob.writeappend(tlob, length(tag), tag);
19         if (c1.PHONE is not null) then
20           phone := nvl(REGEXP_SUBSTR(c1.PHONE, '\d\d\d\d($|\s)'), ' ');
21           dbms_lob.writeappend(tlob, length(phone), phone);
22         end if;
23         tag :='</phone>';
24         dbms_lob.writeappend(tlob, length(tag), tag);
25         tag :='<fullname>';
26         dbms_lob.writeappend(tlob, length(tag), tag);
27         if (c1.FIRST_NAME is not null) then
28           dbms_lob.writeappend(tlob, length(c1.FIRST_NAME), c1.FIRST_NAME);
29           dbms_lob.writeappend(tlob, length(' '), ' ');
30         end if;
31         if (c1.MIDDLE_NAME is not null) then
32           dbms_lob.writeappend(tlob, length(c1.MIDDLE_NAME), c1.MIDDLE_NAME);
33           dbms_lob.writeappend(tlob, length(' '), ' ');
34         end if;
35         if (c1.LAST_NAME is not null) then
36           dbms_lob.writeappend(tlob, length(c1.LAST_NAME), c1.LAST_NAME);
37         end if;
38         tag :='</fullname>';
39         dbms_lob.writeappend(tlob, length(tag), tag);
40       end loop;
41    end;
42  /
Procedure created.
SCOTT@orcl_11gR2> show errors
No errors.
SCOTT@orcl_11gR2> begin
  2    ctx_ddl.create_preference('empuds', 'user_datastore');
  3    ctx_ddl.set_attribute('empuds', 'procedure', 'empuds_proc');
  4    ctx_ddl.set_attribute('empuds', 'output_type', 'CLOB');
  5  end;
  6  /
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> begin
  2    ctx_ddl.create_section_group('namegroup', 'BASIC_SECTION_GROUP');
  3    ctx_ddl.add_ndata_section('namegroup', 'fullname', 'fullname');
  4    ctx_ddl.add_ndata_section('namegroup', 'phone', 'phone');
  5    ctx_ddl.add_ndata_section('namegroup', 'email', 'email');
  6  end;
  7  /
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> begin
  2    ctx_thes.create_thesaurus ('nicknames');
  3    ctx_thes.create_relation ('nicknames', 'John', 'syn', 'Jon');
  4  end;
  5  /
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2>
SCOTT@orcl_11gR2> -- added synonym to thesaurus:
SCOTT@orcl_11gR2> begin
  2    ctx_thes.create_relation ('nicknames', '&', 'syn', 'and');
  3  end;
  4  /
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2>
SCOTT@orcl_11gR2> begin
  2       ctx_ddl.create_preference('NDATA_WL', 'BASIC_WORDLIST');
  3       ctx_ddl.set_attribute('NDATA_WL', 'NDATA_ALTERNATE_SPELLING', 'FALSE');
  4       ctx_ddl.set_attribute('NDATA_WL', 'NDATA_BASE_LETTER', 'TRUE');
  5       ctx_ddl.set_attribute('NDATA_WL', 'NDATA_THESAURUS', 'NICKNAMES');
  6       ctx_ddl.set_attribute('NDATA_WL', 'NDATA_JOIN_PARTICLES',
  7        'de:di:la:da:el:del:qi:abd:los:la:dos:do:an:li:yi:yu:van:jon:un:sai:ben:al');
  8  end;
  9  /
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> create index name_idx on emp (first_name)
  2  indextype is ctxsys.context
  3  parameters
  4    ('datastore  empuds
  5        section    group namegroup
  6        wordlist   ndata_wl');
Index created.
SCOTT@orcl_11gR2>
SCOTT@orcl_11gR2> -- added function to format search string:
SCOTT@orcl_11gR2> create or replace function format_string
  2    (p_string in varchar2)
  3    return varchar2
  4  as
  5    v_string     varchar2 (32767) := ' ' || p_string || ' ';
  6  begin
  7    -- add extra spaces around ampersand:
  8    v_string := replace (v_string, '&', ' & ');
  9    -- remove duplciate spaces:
10    while instr (v_string, '  ') > 0
11    loop
12        v_string := replace (v_string, '  ', ' ');
13    end loop;
14    -- add { and } around each reserved word:
15    for r in
16        (select keyword,
17             ' ' || keyword || ' ' keyword2
18         from      v$reserved_words)
19    loop
20        v_string := replace (upper (v_string), r.keyword2, ' {' || r.keyword || '} ');
21    end loop;
22    return ltrim (rtrim (v_string));
23  end format_string;
24  /
Function created.
SCOTT@orcl_11gR2> show errors
No errors.
SCOTT@orcl_11gR2> -- examples of usage of function:
SCOTT@orcl_11gR2> select format_string ('B & V') from dual;
FORMAT_STRING('B&V')
B {&} V
1 row selected.
SCOTT@orcl_11gR2> select format_string ('B and V') from dual;
FORMAT_STRING('BANDV')
B {AND} V
1 row selected.
SCOTT@orcl_11gR2> select format_string ('B&V') from dual;
FORMAT_STRING('B&V')
B {&} V
1 row selected.
SCOTT@orcl_11gR2>
SCOTT@orcl_11gR2> -- query modified to apply foramt_string function to :name variable:
SCOTT@orcl_11gR2> var name varchar2(80);
SCOTT@orcl_11gR2> exec :name := 'Jon Blacksmith'
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> column first_name  format a10
SCOTT@orcl_11gR2> column middle_name format a11
SCOTT@orcl_11gR2> column last_name   format a9
SCOTT@orcl_11gR2> column phone          format a12
SCOTT@orcl_11gR2> column email          format a22
SCOTT@orcl_11gR2> select first_name, middle_name, last_name, phone, email, scr
  2  from   (select /*+ FIRST_ROWS */
  3                first_name, middle_name, last_name, phone, email, score(1) scr
  4            from   emp
  5            where  contains
  6                  (first_name,
  7                   'ndata (phone,'       || format_string (:name) || ') OR
  8                 ndata (email,'       || format_string (:name) || ') OR
  9                 ndata (fullname,' || format_string (:name) || ')',
10                   1) > 0
11            order  by score (1) desc)
12  where  rownum <= 10;
FIRST_NAME MIDDLE_NAME LAST_NAME PHONE        EMAIL                         SCR
John       Black       Smith     123-456-7890 [email protected]         93
1 row selected.
SCOTT@orcl_11gR2> -- enter new values for :name and re-run query:
SCOTT@orcl_11gR2> exec :name := 'B & V'
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> /
FIRST_NAME MIDDLE_NAME LAST_NAME PHONE        EMAIL                         SCR
Jane       Doe         word B &  321-654-0987 [email protected]           61
                       V word
1 row selected.
SCOTT@orcl_11gR2> exec :name := 'B and V'
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> /
FIRST_NAME MIDDLE_NAME LAST_NAME PHONE        EMAIL                         SCR
Jane       Doe         word B &  321-654-0987 [email protected]           80
                       V word
1 row selected.
SCOTT@orcl_11gR2> exec :name := 'B&V'
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> /
FIRST_NAME MIDDLE_NAME LAST_NAME PHONE        EMAIL                         SCR
Jane       Doe         word B &  321-654-0987 [email protected]           61
                       V word
1 row selected.
SCOTT@orcl_11gR2> exec :name := 'B something V'
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> /
no rows selected
SCOTT@orcl_11gR2>
SCOTT@orcl_11gR2> -- cleanup:
SCOTT@orcl_11gR2> drop function format_string;
Function dropped.
SCOTT@orcl_11gR2> exec ctx_ddl.drop_preference('ndata_wl');
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> exec ctx_thes.drop_thesaurus ('nicknames');
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> exec ctx_ddl.drop_section_group('namegroup');
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> exec ctx_ddl.drop_preference('empuds');
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> drop procedure empuds_proc;
Procedure dropped.
SCOTT@orcl_11gR2> drop table emp;
Table dropped.
SCOTT@orcl_11gR2>

Similar Messages

  • Quick name search, music artist search, etc. (This is a suggested solution)

    Spotlight wasn't finding documents or music, even if they were sitting on my desktop. I was using command-F to bring up the find window. It was also an annoyance to have to switch "kind" to whatever I was really searching for every time.
    I found an Apple fix which suggested re-indexing my computer. I was lead to believe it was unnecessary to have to re-index, as Spotlight is supposed to update automatically, so I wasn't looking for that solution and wasted a lot of time before finding it. I saw it in a post on this site as well. In case you haven't seen that fix:
    Go to System Prefs->Spotlight->Privacy, and enter all of your internal and external drives in the box. Then remove them, and it re-indexes everything. (It only takes about 14 hours...) OK, it actually took 2 hours, but seemed like 14.
    The music and documents I was looking for now appeared under a general "Search for" after clicking command-F. But so did all kinds of other unrelated stuff, like eBooks, documents, emails, and even images when I entered "Name", "Pink Floyd. It was annoying to have to switch lots of fields to do a simple name search. Here's a suggested time saver which can be used for a name search or any other search.
    This is an example for a music artist search.
    1) To find songs by a certain artist anywhere on your computer, first open a find window (command-f). Then select "Others" in the top menu and click on all your drives.
    2) For "Kind" select "Music". The and add "Authors" "Contains" on the next line. The ID3 tag for the songs you are looking for have to be filled in for "artist" for this search to work.
    "Authors" is found in a menu that comes up if you select "Other" at the bottom of the pop-up menu under the first filter button. All kinds of other search terms are there as well which I never knew existed.
    3) Then fill in some type of symbol which brings up few if any results in the Authors field and save the search. I used pi ("π", option-p).
    Whenever you want to do an artist search, select your saved search, erase the symbol, and enter your actual search. Not really that big of a deal, but it is less annoying than switching everything every time you want to do a search.
    You can do the same thing for any type of search. For example for a document search, enter "Filename" "Contains" and "Kind" "Document", then your symbol, and save it. That way you don't get 7000 results if you try to search for a word document you named "To do."
    If you find this useless, feel free to post replies ridiculing me. But please make them entertaining

    Another option:
    Dowmload Quicksilver or LaunchBar or Butler
    Take 5 minutes to configure it - just make it search your home folder, for instance.
    invoke it with your keyboard shortcut
    search
    QS is free, the others are shareware.
    Regards
    TD

  • How to use synonyms on multiple word search ?

    We use context with multiword search like this one :
    select * from my_table where contains(my_text,'the small building near the river')>0
    Now we have specific synonyms in a thesaurus. How do we write the contains clause ?
    contains(my_text,'syn(the,thes) and syn(small,thes) and syn(building,thes) and syn(near,thes) and syn (river,thes)')>0 does not fin the synonym for "small building"="house" for instance
    contains(my_text,'syn(the small building near the river,thes)')>0 does only for synonyms on the full sentence.
    More generally is there an Oracle Document which describes how to use SYN, FUZZY and combine them, since
    the reference documentation gives only limited information on this ?
    Have a nice day

    The thesaurus functionality is not currently built for stuff like this.
    if you want to combine fuzzy and thesaurus, I am assuming you want to do fuzzy first, to correct any misspelling,
    then thesaurus on the "corrected" spellings? You'd have to do something like:
    1. take the query and run ctx_query.explain to break it down and do the fuzzy expansion
    2. work through the fuzzy expansion and build a new query string by sticking SYN() around each
    expanded word
    As for thesaurus expansion and phrase, these are not compatible. Thesaurus expansions use "," and "|", and so
    you cannot have a phrase of thesaurus expansions.
    I see what you're getting at, but you would need sub phrase detection, phrase equivalence, etc., which is
    currently beyond the thesaurus function capability.
    You can use themes (ABOUT) on phrases, and it will do something like what you are describing. You might want
    to check that out.

  • Search using partial file name?

    I know this issue has been addressed before, but I haven't found a satisfactory answer.
    I use the Search field in the toolbar to search for files on my external drive. That external drive contains a file named "housefly.psd." When I search for "house" using the File Name filter and with columns set to Kind, all the Photoshop files that begin with "house" appear at the top of the window, including the file I'm searching for.
    But if I search for "fly," the "housefly.psd" file doesn't appear in the list at all, although files containing the word "fly" with a space before the word show up in the list (e.g. - "big fly.psd").
    Users aren't always going to remember the initial characters in a file name they want to find. So how do I find the file if I only remember some of the internal characters?
    Thanks,
    Andy
    iMac, OS 10.6.8

    Andy Tubbesing wrote:
    if I search for "fly," the "housefly.psd" file doesn't appear in the list at all, although files containing the word "fly" with a space before the word show up in the list (e.g. - "big fly.psd").
    Yeah, isn't Spotlight great?! Give this example to all the experts who gush about Spotlight.
    What you see is how Spotlight was designed to work -- at least for hoi polloi like us. The query looks for words, not strings. "Fly" is one word, "big fly" is two words, but "housefly" is one word. It contains the string "fly", but not the word "fly". Now, if you had had the foresight and forethought to name your file "HouseFly", then probably Spotlight would have found it, "Fly", unlike "fly" being, by the rules of the Apple wallahs, a word, not a string. Is that all? No, of course not, that would have been too simple. Spotlight also has hidden somewhere a private list of exceptions. So "books" in "Audiobooks" is always a word, no matter how capitalised; but in "Cookbooks" it's just a mere string, and hence not worthy of notice.
    How do you get around this (without using Terminal)?
    (1) One way is to construct a query, as already suggested, with the Filename and Contains. But, beware! if you're searching in Finder, and you've already entered a string in the Spotlight search field on the toolbar, the query constructed thus will be restricted to the hits of the query already in the search field. So, if you've enter "fly" in the window toolbar search field, and then construct a Filename Contains "fly" query, you'll find nothing, because any subset of the ∅ (empty set) is also empty. This restriction applies to any query thus constructed.
    (2) If you are a real, hair-chested, red-blooded Mac user, you don't use namby-pamby Filename queries. You go straight for the jugular. In the pop-up menu, instead of "Filename", choose "Other...". Then scroll through the interminable list to "Raw Query" and enable it. Then type in the Raw Query search box
    kMDItemFSName == *fly*
    Note 1: "*fly*", not "*fly", because the Item's File System Name is "housefly.psd".
    Note 2: You can use the keyword "name" in the window toolbar Spotlight search field, thus
    name:housefly
    However, this one doesn't take wildcards.
    (3) If you happen to be just a normal person, who uses a computer to be productive and not to exercise one's fingers by typing lengthy and abstruse keywords (or as a Rorschach test to have fun divining the inscrutable minds of Apple engineers), then my suggestion is to give Spotlight the widest possible berth and use something else. I suggest Find File by John R Chang, Find Any File by Thomas Tempelmann, and EasyFind by Christian Grünenberg.

  • Automatic Row Processing (DML) using synonym name instead of table

    I want my APEX form to select info using the table name but perform all the DML (add, change, delete) using the synonym name. I created the form using the wizard and went into the "Process Row of xxx" process that was created. I tried changing the table name to synonym name under the 'Source: Automatic Row Processing (DML)' section, but it still uses the table name. Is this possible or do I need to manually create processes using the synonym names

    Hi,
    when I change the Table Name property in the "Automatic Row Processing (DML)" process to a non existing table it raises an error when I run the page and try to save something. So it's actually using the value.
    Does the synonym point to the same table or a different table? What is the intention behind selecting from the table but updating through the synonym?
    Patrick
    My APEX Blog: http://www.inside-oracle-apex.com/
    The APEX Builder Plugin: http://builderplugin.oracleapex.info/
    The ApexLib Framework: http://apexlib.sourceforge.net/

  • Name search using CATSEACH

    I am using Oracle 11.2.0.3.  I have a table having names with CTXCAT index on it.
    1. Can I implement NDATA (name search) with CATSEARCH?
    2. Does CTXCAT support query term highlighting?
    3. Can I implement NDATA search along with prefix search?

    I am using Oracle 11.2.0.3.  I have a table having names with CTXCAT index on it.
    1. Can I implement NDATA (name search) with CATSEARCH?
    2. Does CTXCAT support query term highlighting?
    3. Can I implement NDATA search along with prefix search?

  • Migrating from SQL to ORACLE 11g : naming length Issue using synonyms...

    Hi,
    In sql I have maximum length of objects is 98 char
    now i m migrating it into oracle , i m using synonyms for it ..
    it is showing synonyms created ...
    but it gets converted into encrypted forms,
    due to this i m not able to use actual synonyms that i have created
    so tell me how can i create synonyms of more than 30 characters
    If this is not possible , then wht else solution by which i can solve ma problem.
    please give me solution asap!!!!!!!

    Create synonym name with more than 30 character.

  • Using Oracle Text to search through WORD, EXCEL and PDF documents

    Hello again,
    What I would like to know is if I have a WORD or PDF document stored in a table. Is it possible to use Oracle Text to search through the actual WORD or PDF document?
    Thanks
    Doug

    Yes you can do context sensitive searches on both PDF and Word docs. With the PDF you need to make sure they are text and not images. Some scanners will create PDFs that are nothing more than images of document.
    Below is code sample that I made some time back to demonstrate the searching capabilities of Oracle Text. Note that the example makes use of the inso_filter that is no longer shipped with Oracle begging with Patch set 10.1.0.4. See metalink note 298017.1 for the changes. See the following link for more information on developing with Oracle Text.
    http://download-west.oracle.com/docs/cd/B14117_01/text.101/b10729/toc.htm
    begin example.
    -- The following needs to be executed
    -- as sys.
    DROP DIRECTORY docs_dir;
    CREATE OR REPLACE DIRECTORY docs_dir
    AS 'C:\sql\oracle_text\documents';
    GRANT READ ON DIRECTORY docs_dir TO text;
    -- End sys ran SQL
    DROP TABLE db_docs CASCADE CONSTRAINTS PURGE;
    CREATE TABLE db_docs (
    id NUMBER,
    format VARCHAR2(10),
    location VARCHAR2(50),
    document BLOB,
    CONSTRAINT i_db_docs_p PRIMARY KEY(id)
    -- Several notes need to be made about this anonymous block.
    -- First the 'DOCS_DIR' parameter is a directory object name.
    -- This directory object name must be in upper case.
    DECLARE
    f_lob BFILE;
    b_lob BLOB;
    document_name VARCHAR2(50);
    BEGIN
    document_name := 'externaltables.doc';
    INSERT INTO db_docs
    VALUES (1, 'binary', 'C:\sql\oracle_text\documents\externaltables.doc', empty_blob())
    RETURN document INTO b_lob;
    f_lob := BFILENAME('DOCS_DIR', document_name);
    DBMS_LOB.FILEOPEN(f_lob, DBMS_LOB.FILE_READONLY);
    DBMS_LOB.LOADFROMFILE(b_lob, f_lob, DBMS_LOB.GETLENGTH(f_lob));
    DBMS_LOB.FILECLOSE(f_lob);
    COMMIT;
    END;
    -- build the index
    -- Note that this index differs than the file system stored file
    -- in that paramter datastore is ctxsys.defautl_datastore and not
    -- ctxsys.file_datastore. FILE_DATASTORE is for documents that
    -- exist on the file system. DEFAULT_DATASTORE is for documents
    -- that are stored in the column.
    create index db_docs_ctx on db_docs(document)
    indextype is ctxsys.context
    parameters (
    'datastore ctxsys.default_datastore
    filter ctxsys.inso_filter
    format column format');
    --search for something that is known to not be in the document.
    SELECT SCORE(1), id, location
    FROM db_docs
    WHERE CONTAINS(document, 'Jenkinson', 1) > 0;
    --search for something that is known to be in the document.  
    SELECT SCORE(1), id, location
    FROM db_docs
    WHERE CONTAINS(document, 'Albright', 1) > 0;

  • Design a site, use my domain name, and host it via .mac

    It sounds simple, and I thought a search through these forums would yield some easy answers, but no luck, so here goes:
    I'm an advanced Photoshop and Final Cut Studio user, running an audio/video/image restoration and transfer business, but I'm a total beginner in the iWeb/.Mac area.
    About three years ago, I decided it was time for a web site, so I went to a local company; they designed and still host my site, for which I pay them $30.00 per month; it's a simple site with no ecommerce, and six or seven pages. There is a contact form through which potential customers can email me.
    I also have a domain name, for which I pay $15.00 per year to the same company.
    My site is OK, but it's the same as it was three years ago; any small changes I have asked the company to make (mostly just text additions/changes) they have done at the rate of $75.00 per hour.
    What I want to do is cancel my account with them, design a totally new site using iWeb, start a .mac account, and have the site hosted using my domain name, so that the average customer who sees my newspaper ad can navigate to my new site exactly as they can with the current one. (I only have one email account, through my ISP, which I don't want to change.)
    I've got lots of questions, but mostly, what else do I have to do to make this switch besides cancelling my account with my current company? (After an overlap period, of course) What happens with my domain name--who will I pay to keep it? And finally, what simple things am I not thinking of?
    Many thanks in advance to anyone with enough patience to read through this, and still find time to provide some assistance.

    You can design your site in iWeb and upload it to either .Mac or a commercial server.
    You would then provide the domain name registrar with your server ID number or, in the case of .Mac, your .Mac URL and instruct them to point your domain name in that direction.
    .Mac is neither intended for, nor the best option, for a business site.
    For example the company I host with - Host Excellence - allows you a free domain name registration and up to 6 sites with unlimited web mail and more server space than you are likely to need for about the cost of a .Mac account.
    Commercial servers are a lot more reliable than .Mac, have wider bandwidth and usually have good tech support.
    You only have to look at the number of problems in this forum concerning .Mac to see that tech support is not readily available from Apple.
    I'm not putting down .Mac. I use it myself for various purposes and it is good for its intended use of one clicking publishing of personal websites.

  • BAPI to create bp with name, search term, address and Authorization Group

    Hi
      which BAPI could be used to create Business Partner (type organazation) with names, search term, address and the Authorization Group field.
      ths

    Hello ,
    You can use : BAPI_BUPA_CREATE_FROM_DATA
    In case you need to update additional fragments just search in trn code SE37  for BAPI_BUPA_*CREATE.
    For example BAPI_BUPA_FRG0040_CREATE - Create classification data for BP , etc'.
    Additional you can use XIF :CRMXIF_PARTNER_SAVE to create business partners
    Rika

  • Unable to create dimensions in schemas that use synonyms

    I have three schemas (s1, s2 and s3) that use synonyms to reference different tables. S1 and S2 have all tables, equally distributed in their schema. S3 is an end user who has just synonyms.
    I tried creating dimensions in any of them, table or view not found error is encountered.
    I created required tables in my schema (user: meka) and I was successfully able to create dimensions. The following command worked in "meka", not any of the three schemas (s1, s2 and s3).
    CREATE DIMENSION country
         level city_id is lu_city.CITY_ID
              level state_id is lu_state.STATE_ID
              level country_id is lu_country.COUNTRY_ID
    hierarchy country_hier (
    city_id CHILD OF
    state_id CHILD OF
    country_id
    JOIN KEY lu_city.STATE_ID references state_id
    JOIN KEY lu_state.COUNTRY_ID references country_id
    ATTRIBUTE city_id DETERMINES (lu_city.CITY_NAME)
    ATTRIBUTE state_id DETERMINES (lu_state.STATE_NAME)
    I tried a few combinations, including specifying fully qualified table names (s1.lu_city.city_id, etc); created views at user S3 tried the same. All of them were unsuccessful. I am using Oracle 11g R2, here is screen shot:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    Q: How can I create a dimension in a schema where tables do not exist. They exist in another schema.
    Edited by: user8967661 on Jan 12, 2010 2:12 PM

    This is resolved.

  • Change the Finder search default to Find by Name (search by file name) rather than Find by Content

    I just discovered another way to set the finder Find option to default to "find by name" (search by file name). I'm using Mac OS X 10.8.5 Mountain Lion. I'm not sure if this works on other OS versions, but it probably does.
    Here's a step by step:
    #1: Open System Preferences
    #2: Click on "Keyboard"
    #3: Click on "Keyboard Shortcuts"
    #4: Click on "Application Shortcuts" (on my system this was the last item located on the left-hand side window)
    #5: Click the little "+" right below the right-hand side window
    #6: Click on the "Application" menu and choose "finder.app"
    #7: Click into the field "Menu Title:" and type "Find by Name..." (Type it exactly like that including the three dots. Don't type the quotes BTW.)
    #8: Click into the field "Keyboard Shortcut:" and press the command-key and F at the same time. It should look like this ⌘F
    #9: Close System Preferences
    That's it. Basically what you are doing is remapping the command-F key (⌘F) to "Find By Name".
    I tried to post this to other previous discussions asking this same question, but they were all locked.

    Apple doesn’t routinely monitor the discussions. These are mostly user to user discussions.
    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback

  • Using ALV as a search Help

    Has anyone used ALV as a search help presentation/selection method.  I'm thinking, in a simplistic sense, it would be just creating an itab and presenting it on a grid in a container on a new screen called by an exit....
    Probably too simple, huh?    Pointers to any snippets that implement this would be welcome. 
    (additionally, might have a need to save user layouts of this info as well)
    Thoughts, comments, pitfalls.... ?
    Thanks...
    ...Mike

    Hey Michael a working example I just made for some1
    thought u might be interested
    Q. i_checkbox_fieldname = 'CHECKBOX'
    A. If the table output in the popup has checkboxes at the beginning of the rows (e.g. for multiple selection), the internal table must contain a field containing the value of the checkbox.
    Assign the name of this field to the parameter I_CHECKBOX_FIELDNAME.
    Q. i_tabname = 'TLINE'
    A.  This is the name of ur input help internal table
    Q. it_fieldcat = fieldcat[]
    A  The table u gonna display has to have a fieldcat.
    Q. it_excluding = extab[].
    A. In case u wanna exclude some functions.
    Below is a working example, paste it in se38 and activate.
    !!! Warning SAVE IT AS A LOCAL OBJECT !!!
    report ztests1.
    type-pools: slis.
    data: index type i.
    data: l_kunnr like kna1-kunnr.
    data: input(10) type c,
           text(4) type c,
           text1(5) type c.
    data: begin of itab occurs 10,
           kunnr like kna1-kunnr,
           name1 like kna1-name1,
          end of itab.
    data: e_exit.
    data: fieldcat TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    parameter: p_kunnr(10) type c.
    at selection-screen on value-request for p_kunnr.
      select kunnr name1 up to 10 rows
        from kna1
        into table itab.
      fieldcat-tabname = 'ITAB'.
      fieldcat-fieldname = 'KUNNR'.
      fieldcat-seltext_m = 'Cust'.
      fieldcat-ddictxt = 'M'.
      fieldcat-outputlen = 10.
      APPEND fieldcat.
      CLEAR fieldcat.
      fieldcat-tabname = 'ITAB'.
      fieldcat-fieldname = 'NAME1'.
      fieldcat-seltext_m = 'Cust Name'.
      fieldcat-ddictxt = 'M'.
      fieldcat-outputlen = 30.
      APPEND fieldcat.
      CLEAR fieldcat.
        CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
          EXPORTING
            I_TITLE                       = 'Customer Selection'
          I_SELECTION                   = 'X'
          I_ALLOW_NO_SELECTION          =
          I_ZEBRA                       = ' '
          I_SCREEN_START_COLUMN         = 0
          I_SCREEN_START_LINE           = 0
          I_SCREEN_END_COLUMN           = 0
          I_SCREEN_END_LINE             = 0
          I_CHECKBOX_FIELDNAME          =
          I_LINEMARK_FIELDNAME          =
          I_SCROLL_TO_SEL_LINE          = 'X'
            i_tabname                     = 'ITAB'
          I_STRUCTURE_NAME              =
            IT_FIELDCAT                   = fieldcat[]
          IT_EXCLUDING                  =
          I_CALLBACK_PROGRAM            =
          I_CALLBACK_USER_COMMAND       =
          IS_PRIVATE                    =
          IMPORTING
          ES_SELFIELD                   =
            E_EXIT                        = e_exit
          tables
            t_outtab                      = itab
        EXCEPTIONS
          PROGRAM_ERROR                 = 1
          OTHERS                        = 2
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.

  • Name search with and with out case sensitive including * also.

    there is an urgent reuirement for name search .
    i am having 6 fields all are related to name like name prefix ,firstname, lastname etc. now i want select query so that i can search the person name with case ,with out case sensitive and ' * ' also.
    and one more thing
    i am having multiple selection for first name,lastname etc.
    so i must write select query for >=, = , <= etc also along with ' * ' .
    so can any one help me, requirement is urgent.
    i cannot add one more field in database.

    Hi, I did not understand your problem exactly, but I am sending you an sample query according to my understanding.
    select <fields names> from <tablename> where name = '%xxx'.
    here % is used for searching for all the names which ends with 'xxx'
    If you give some more details briefly then I can try for you.

  • AE CC 2014.1 error : internal verification failure (Unexpected match name searched for in group)

    Hi,
    First of all, forgive me for my basic english.
    I'm a creative cloud suscriber and recently update AE with CC2014.1.
    I worked for several months on a project, but since last update, on some composition, i have an error windows pop in who say :
    "After effects error: internal verification failure, sorry! {unexpected match name searched fo in group}
    (screenshot here -imgur: the simple image sharer )
    i have look everywhere but i can't get any info on this issue, and there is no support for after effect.
    I can't afford to loose all those hours of work, may some of you have some information / solution about that ?
    Help me Obi-Wan Kenobi. You're my only hope !
    Thank you for your time

    Well, you don't have to update in knee-jerk fashion, do you?  Is it absolutely mandatory that you have to have the Newest Thing On The Block from Day 1?  You weren't so busy that you couldn't  spare the time to do the update, weren't you?
    You used the word, "we", which indicates more than one individual is running the same software.  Is it not possible to devise a strategy where the updates take place one at a time, so you can observe the potentially-adverse effects?
    Oh, you can do it, but I don't think you WANT to do it... either because you like to have the newest thing, no one in the shop is willing to work a little later to do it one machine at a time, or you simply don't have a plan in place.  Sorry if that's harsh, but it seems to me that early adopters without an eatrly adoption plan put their livelihoods at risk by jumping on the bleeding edge.  Adobe, Apple, Avid, Autodesk, Whoeveritis...  changes in software contain bugs, and you don't know what those bugs are.  Would you rather be the one EXPERIENCING the bugs or just reading about them?
    Okay, now I'll step down off my soapbox.

Maybe you are looking for

  • How to call a view without event handler onaction method.

    Hi Experts, I have develop a WD application. It has three views let view1, view2 and view3. In view1 one button is there (onaction) which navigates to view2 through outbound plug  wd_This->Fire_Out_Screen1_Plg(   ). where Out_Screen1 is outbound plug

  • How do I install snow leopard on late 08 aluminum macbook

    I have the install disc from a macbook I bought last year with 10.6 and I want to put it on my 08 aluminum macbook with 10.5. Is it possible?

  • OT: Apple Wireless Advice

    Holy cow, I didn't realize Internet connections had become so complex! I had a simple dial-up connection until fairly recently, when I finally equipped my Dell computer with a DSL connection through QWest. Though it works fine, I swore the day I set

  • App Builder/Run Time Install Broke?

    I have full up version of LabView 5.1.1, running on Win98. I went through the Application Building Example on page 12 of the Application Buidler release notes. I then installed the sample app on another Win98 box. The application installation went OK

  • Servlet -- add cookie -- jsp

    1 and 2 works, 3 does not set cookie, although code in servlet gets executed, why ? in jsp   //1.   <a href="http://localhost:8080/testWeb/mcLogin" >Set serverlet cookie </a>   //2.   <a href="/testWeb/mcLogin" >Set serverlet cookie2 </a>      //3.