Speed Text String Search of Masterdata

Hello
Within a report we have a selection on ZMATERIAL where our users like to serach for a string within the long text of the object so they can compare the results.
eg Material = *HELLO*
As /BIC/TZMATERIAL is such a large table this takes a long time to run. What strategies are available to speed this up?
Many thanks for any ideas,
Tom

1. have you an index on /BIC/TZMATERIAL-TXTMD?
Check the SQL to see what is passed to this is it - langu then txtmd?
Only other things I can think of will probably not be applicable..
2. using SBOE for searches - but this is only available within the SBOE front end tool (the use of etext searches for this is exactly what the product does)
3. BWA 7.3 is rumoured to have master data abilities within it - but this is rampup Q3 (-ish) 2010

Similar Messages

  • Search a text string to get location

    Is there any way to search a text string in a PDF file or a page of PDF file to get the location of this text string, say (x, y, width, height)?
    Thanks a lot for your help.

    I believe that there is an Assembler command to find text in a document. I think it is DocumentText and you have an attribute called withQuads that will give you 4 points that surround the text that you are looking for.
    I am going from memory so I would have a look at the DDX reference that comes with Assembler.

  • How to search for a text string in Reports designer?

    In iDS reports (10gR2), I want to search from top down for a text string was used in one of the queries or triggers. In Forms, you can do it, in reports the related menu item is always seems to be grayed out no matter what item I pick in the Navigator. Is it doable or not? If yes, then how. I don't wanna open each program piece including the queries in the data model, report triggers or program units and look for (by visual scanning) for the text I am searching for. This is crazy. There must be a way to do it. Thanx.

    That is pretty bad for such an expensive report development program. The forms allows it, I wonder why Oracle did not include similar functionality in the reports developer. I knew the conversion to ascii, but during development it is pain in the ... just to search for a simple text string in the related program units in the report, to convert to ascii, do the search and then go back to the developer. Anyway, if that is the only way, there is nothing we can do I guess :(

  • How to search specific text/string in pdf files from command prompt?

    Hi,
    How to search specific text/string in pdf files from command prompt?
    Will be great if you can refer to any adobe provided command base utility to achieve the above target.
    Best Regards,

    You can't. The commandline parameters for Acrobat and Adobe Reader do not allow any type of commands to be run.

  • Converting multiline text string to single line

    How do I convert a multiline text string into a single line text string

    Hi Bart,
    what's a multiline text string?
    1) You have an array of string: simply use "string concatenate" to convert from array to scalar string.
    2) Your string contains CR and/or NL characters: use "Search/Replace..." for this string, replace all EndOfLine chars by space (or which char you may prefer)...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Text not searching in pdf

    i m not able to search text in pdf, font are using times new roman(embedded subset), when  i m going (ctrl+f) and write some string on it then result come no found, one thing when i m copy the text from that pdf and paste is on find option then coming some unreadeble text on find option but in this case text are searching. plz tell me which type of prb it is

    your settings are equivalent to what I have, and PDF search works for me. Go figure. Maybe try reinstalling RH or getting some additional rights to your PC.
    BTW, did you look at the SALIdxSvc12.xml file in the Program Files (x86) > Adobe > AdobeRobohelp 8 > RoboHTML directory? (referenced in a related post).
    Mine looks like this. I think the circled line is what allows PDFs to be indexed for search: 
    (BTW, the only issues I've had with PDF search is when we generate the help in batch from the command line...for some reason, we can't do PDF search when we use that process.)
    Good luck with it!
    Kathy

  • Operations on text strings

    Hi experts,
          I have a situation wherein i have to compare the text strings and if it matches i want to copy the below lines to an internal table until it faces some other keyword. Let me explain in detail, I have an internal table like this,
    summary
        xxxxxx
        yyyyyyy
        zzzzzzz
    project
        aaaaaa
        bbbbbb
        cccccc
        dddddd
    Now i want to search for summary in the above itab and i want to copy the contents under summary(3 lines here) to another internal table until it encounters project. And I want do same for project also. Pls help me.
    Points assured
    Regards
    Tharanatha

    !!! Check this code !!!
    TYPES : BEGIN OF ty_struct ,
              sv_string TYPE string,
            END OF ty_struct.
    DATA : itab_struct1 TYPE TABLE OF ty_struct,
           wa_struct1 LIKE LINE OF itab_struct1,
           itab_struct2 TYPE TABLE OF ty_struct,
           wa_struct2 LIKE LINE OF itab_struct2.
            wa_struct1-sv_string = 'efghijkl'.
            APPEND wa_struct1 to itab_struct1.
            wa_struct1-sv_string = 'hmgkdhfl'.
            APPEND wa_struct1 to itab_struct1.
            wa_struct1-sv_string = 'summary'.
            APPEND wa_struct1 to itab_struct1.
            wa_struct1-sv_string = 'xxxxxxx'.
            APPEND wa_struct1 to itab_struct1.
            wa_struct1-sv_string = 'yyyyyyy'.
            APPEND wa_struct1 to itab_struct1.
            wa_struct1-sv_string = 'zzzzzzz'.
            APPEND wa_struct1 to itab_struct1.
            wa_struct1-sv_string = 'project'.
            APPEND wa_struct1 to itab_struct1.
            wa_struct1-sv_string = 'aaaaaaa'.
            APPEND wa_struct1 to itab_struct1.
    DATA : lv_string1 TYPE string,
           lv_string2 like lv_string1,
           summary_index TYPE I,
           project_index TYPE I.
    lv_string1 = 'summary'.
    lv_string2 = 'project'.
    READ TABLE itab_struct1 INTO wa_struct1 WITH TABLE KEY sv_string = 'summary'.
    IF sy-subrc eq 0.
      summary_index = sy-tabix.
      summary_index = summary_index + 1.
    ENDIF.
    READ TABLE itab_struct1 INTO wa_struct1 WITH TABLE KEY sv_string = 'project'.
    IF sy-subrc eq 0.
      project_index = sy-tabix.
      project_index = project_index - 1.
    ENDIF.
            LOOP AT itab_struct1 INTO wa_struct1  FROM summary_index to project_index.
              APPEND wa_struct1 to itab_struct2.
            ENDLOOP.
            WRITE : 'Done'.
    <b>Reward Points If Useful</b>

  • Adding text string to existing cell contents in Numbers '09

    Hi
    First up ... I have read the manual (user guide and formula guide) and searched the forum. I have REALLY tried to get this simple thing to work... but I'm doing something wrong...
    2 columns
    A B
    file1 .aiff
    File2 .aiff
    file3 .aiff
    file4 .aiff
    I want to combine the two columns ... I don't care if I append the string ".aiff" to the values in column A, or create a new column C that looks like this
    C
    file1.aiff
    file2.aiff
    file3.aiff
    I have tried CONCATENATE by entering a formula in an empty cell at the bottom of column A but it just concatenates one row. I have attempted to create column C and enter formulas like =A&" "&B (from posts here) in cells all over the place... but they just turn into cell text strings. I've read that I just have to paste a formula into a column header, enter a formula then auto fill....
    Clearly many ways to do this ... but never a "thanks that worked"... the threads just end.
    Can someone set me straight? That is what function/formula to use and where to enter it... and how if there's a trick I'm missing.
    I'd do this concatenation manually if there were't thousands of entries to do!
    Burned
    Lee

    Hi Lee,
    You wrote:
    I have tried CONCATENATE by entering a formula in an empty cell at the bottom of column A but it just concatenates one row.
    That's the way formulas work. The formula determines the content of the cell that contains the formula. You need to place the formula into every cell where you want to get that result.
    Fortunately, that can be done pretty efficiently.
    If ALL of the cells in column B contain the same extension (.aiff), you can replace that with
    =A&".aiff"
    Enter the formula in the first 'regular' (ie. non-header) cell in column B and Fill down (see below) through the rest of the column.
    If some cells in B contain different values, you'll need to do the concatenation in column C.
    =A&B (see note below regarding your similar formula)
    or
    =CONCATENATE(A,B)
    As above, enter the formula in the first non-header cell in column C and Fill down.
    To fill down through a long column:
    Click any cell to show the row and column reference tabs.
    Click on the column reference tab (B or C) to select the whole column.
    Command-click on each of the header cells above the formula to remove it from the selection.
    When the formula is in the top cell of the selection, go Insert > Fill > Fill down.
    Regards,
    Barry
    Note re your formula: =A&" "&B
    With 'file1' in column A and '.aiff' in column B the result of this formula will be file1 .aiff
    As I thought you probably did not want the space between the filename and the extension, I removed it from the formula:
    =A&B
    Result: file1.aiff

  • String search

    i hI have a string "1234, abcdef, bbbbb"
    How do one get/search for the "abcdef" or "bbbb" out of the string using substring?
    If anyone has source code or references (for similar code) searching for "abcdef�(normally text enter in a text field that will be used to search through a string) It would be appreciated

    // This might help!
    String search = "test";
    Pattern pattern = Pattern.compile(".*" +search +".*");
    boolean test = pattern.matcher(testString).matches();

  • Looking for a way to monitor forums for a text string.

    Hi as the subject says I'm looking for a way to monitor various forums for a list of text strings and give me a link to the post. I'm have tried googling but cant find anything specific enough I've tried looking at methabot but am unsure as to if this is the right sort of program, anyone with any experience or ideas in this area would be much appreciated.
    thanks in advance.

    you could write a daemon method which would, every so often, search the forums for the keyword.
    Better yet, you can use google's "site: bbs.archlinux.org keyword format to do your search.
    But, be sure not to do it too often. If you keep banging a particular forum website too often, your ip might get banned.

  • Help me in writing ajax string search from database

    {noformat}*hi everybody,
    please send me a ajax with jsp application
    suppose i enter a word in text area ajax will populate/suggest all string from database ,who started
    from that entering character(s).like a google string search.
    please send full source code
    *{noformat}

    shadab_think_globally wrote:
    {noformat}*hi everybody,
    please send me a ajax with jsp application
    suppose i enter a word in text area ajax will populate/suggest all string from database ,who started
    from that entering character(s).like a google string search.
    please send full source code
    *{noformat}how about you do it yourself?

  • Faster string search options

    Hi
    I am an intern at a mobile technology firm assigned the job of enhancing the search performance of a tool, which is coded completely in java. This tool, along with other features basically searches for the substring in a string array by using the string.indexof() method which is very slow, since i am dealing with vast amount of data..
    Now the last two weeks all I did was try and understand the massive code. These are the alternatives I came up with. I could do with suggestions about the feasibilities of these ideas.. or any new suggestions are welcome..
    1. are there any faster ways instead of string.indexof() that i can use to do my string search?
    2. How about replacing this indexof() method with a faster search algorithm? something like boyer-moore for example??
    3. will using a the .nio package instead of .io package work???
    4. how about completely scrapping this string search and taking in the data from input stream as integer format.. and then doing the comparisons??
    thanks
    mahima

    yumjay wrote:
    1. are there any faster ways instead of string.indexof() that i can use to do my string search?You seem to have found one in section 2.
    2. How about replacing this indexof() method with a faster search algorithm? something like boyer-moore for example?? Well obviously you can't override or replace String's indexOf, but you could certainly change the code to use a different algorithm. What's stopping you?
    3. will using a the .nio package instead of .io package work??? Not sure, there may be virtue in some of the memory mapping additions, but I don't really know your requirements or situation.
    4. how about completely scrapping this string search and taking in the data from input stream as integer format.. and then doing the comparisons?? The string search is essentially doing integer comparisons on data 16 bits at a time (that's the width of a char). So first, remember that the int returned by InputStream.read() isn't really an int but a byte stuffed into an int (so they can return -1 on EOS). That said, you might experience a performance gain if you put the data into ints or longs (depending on your computer architecture) and then use something like boyer-moore, because your computer can likely do comparisons of two bytes, chars, shorts, ints (and perhaps even longs on a 64-bit architecture) in the exact same amount of time. They're probably even the same machine instruction. You also wouldn't therefore have to decode the input data into a string either. But you'd have to encode your search string into integers. So yeah you could potentially squeeze a bit more speed, not likely more than 50% though.

  • String searching algorithm needed.

    Hi. Am trying to make a simple text editor that includes a search capability. When there is some text on a TextArea, the user can search through the string for some text. So far I have managed the part that the text being searched for is found but when the text being searched for is not present am having trouble.
    Also, I need to be able to highlight or make bold the string if it has been found. Can somebody please help? Thanks.

    The basic idea I use to search is, I have an InputBox object from the Javabook package (http://www.drcaffeine.com/) that gets the string. Then I get the length of that string and that of the main text and use substring() method to search through the main string, the search times decided by the length of the main string. After it has found, I have managed to convert the string ( if found ) to capitals but am defeated to highlight or bold it. Am also out of ideas on what to do if the search string is not found. Am getting errors.

  • Like %, string search

    Hi all,
    I am making a application in which there is string search but i dont know how to find a solution.
    For example in sql, there is (like %) expression to find similar words. But in java how can I do that.
    For instance word1 = mehmet, word2 = mehemet.
    How can i do it?
    Thanks...

    regerybets wrote:
    Hi all,
    I am making a application in which there is string search but i dont know how to find a solution.
    For example in sql, there is (like %) expression to find similar words. But in java how can I do that.
    For instance word1 = mehmet, word2 = mehemet.
    How can i do it?
    Thanks...Sounds like a job for Levenshtein. Apache has an implementation in their Commons-Lang API:
    import org.apache.commons.lang.StringUtils;
    public class LevenshteinDemo {
        public static final int MINIMUM_LIKE_DISTANCE = 4;
        public static boolean like(String wordA, String wordB) {
            return like(wordA, wordB, MINIMUM_LIKE_DISTANCE);
        public static boolean like(String wordA, String wordB, int permittedDistance) {
            return StringUtils.getLevenshteinDistance(wordA, wordB) <= permittedDistance;
        public static void main(String[] args) {
            String a = "mehmet";
            String b = "mehemet";
            String c = "ambulance";
            String d = "meehemeet";
            String e = "mhmt";
            System.out.println(like(a, b));
            System.out.println(like(a, c));
            System.out.println(like(a, d));
            System.out.println(like(a, e));
    /* output:
                    true
                    false
                    true
                    true
    */Download it here: [http://commons.apache.org/downloads/download_lang.cgi], stick the file commons-lang-2.4.jar in your classpath and the snippet above will compile. Of course, you may want to make permittedDistance variable depending on the size of the input words. Now it will only work for small strings/words, not larger chunks of text.

  • How to find by DEFAULT the EXACT text string (and no more) with Acrobat Pro?

    How to find by DEFAULT (always) the EXACT text string (and no more) with Acrobat Pro? Adobe Acrobat Pro 9.2.0 search engine finds USELESS hits on Mactel with Mac OS X 10.5.8.
    For instance, if I search for "sec" (no quotes) trying to find ONLY hits with sec (for second, like in: it took 20 sec), it finds useless hits like: security, etc (any word containing sec, which is NOT what I want).

    Any idea on how to do it by default with Adobe Acrobat Pro 9.3.1 on Mac OS X 10.6.2 (Snow Leopard)? Thanks.

Maybe you are looking for