Search string exactly-urgent

i have written a program where in using a table names ,and their corresponding field i search for the fields in all Z--object..
the problem here is ,wen i search the strings which are not the exact match are also listed
Eg: if search string is kunnr....... it_kunnr is also listed.....which i dont want ....
i have used read report and then search

hi Renu,
in order to compare strings, you can use CO (Contains Only).
here is quote of help in SAP
CO (Contains Only):
c1 contains only characters from the string c2.
If c1 or c2 is of type C, the comparison takes into account the full length of the field, including blanks at the end.
comparison.
If c1 is of type STRING and empty, the result of the comparison is always positive.
If c2 is of type STRING and empty, the result of the comparison is always negative, unless c1 is also an empty string.
If the result of the comparison is negative, the field SY-FDPOS contains the offset of the first character in c1 which is not also included in c2.
If the result of the comparison is positive, the system field SY-FDPOS contains the length of c1.
The comparison is case-sensitive.
Examples:
'ABCDE' CO 'XYZ' is false; SY-FDPOS = 0.
'ABCDE' CO 'AB' is false; SY-FDPOS = 2.
'ABCDE' CO 'ABCDE' is true; SY-FDPOS = 5.
please award point if helps
eddhie

Similar Messages

  • How to search for exact string?

    Is there any way to search for the text string exactly as I enter it? Like 'exact search' in the OSS notes?
    For example, I'm trying to find the forum posts regarding the Excel 2007 file format XLSX. By XLSX the search finds hundreds of entries, but most of them are not even close. For example, this was one of the top results: /thread/1078918 [original link is broken]
    Why is it getting picked up when 'xlsx' doesn't even appear there? We are frequently complaining about the users who don't use search before posting, but, frankly, if it works like this, I can't blame them...

    >
    Jelena Perfiljeva wrote:
    > Why is it getting picked up
    >
    => https://forums.sdn.sap.com/search.jspa?threadID=&q=%22Whyisitgettingpicked+up%22&objID=f40&dateRange=all&numResults=15&rankBy=10001
    "Why is it getting picked up"
    I regularly use this to (re)find threads where I remembered a specific comment or even spelling mistake.
    Perhaps a better option in your case would be to use an AND between individual terms.
    I generally tend to edit the search string parameters directly, as it seems to cache previous results and do a search within a search. That might be an option for you as well though.
    Cheers,
    Julius
    Edited by: Julius Bussche on Jul 10, 2009 11:38 PM

  • Highlight search string in a pl/sql report

    Hi all,
    I followed the example of QBE by Scott Spendolini. I got it working. But I am trying to add the highlight search string functionality, in the report created. The report is created from a dynamic pl/sql query. Can you give me any ideas or an example? Thank you for your time in advance,
    Rgds,
    Suma.

    Hi Suma,
    Your Search button runs a process called "RUN_REPORT". Presumably, this process picks up the values from the tabular form to construct the new SQL statement.
    Given that you don't have a normal report definition - ie one that you can use the Highlight Words option - the only other possibility is to adjust the SQL query results.
    Let's assume that you have in your RUN_REPORT process a variable called vJOB that holds the JOB value from your QBE grid. Your SQL statement could then be adjusted to something like:
    SELECT EMPNO,
    ENAME,
    '<span style="color:red">' || JOB || '</span>',
    etc
    FROM EMPTABLE
    WHERE JOB = vJOB;
    Obviously, without seeing your code, I can not say exactly how it should be constructed to highlight the word(s), but the above should give you an idea of what you need to do. If you're still not sure, can you please paste into this thread the RUN_REPORT code.
    Regards
    Andy

  • Use of special characters in Search String

    What is the use of special charaters like
    in the search string in the Find & Replace of ABAP editor ?
    I want to search for all strings starting with V which are followed by alphabets like
    VA
    VB...
    If I use V*, it also gives me results like
    V/R...
    Whether it is possible to specify such a condition?

    Hi,
    While giving ur search in FIND & REPLACE,
    use the match case or match whole word only..
    Then u will get search results only where the exact case of that variable is used..
    As per my knowledge there is no signification of special characters ,- : ; in the search string..
    Hope this helps...
    Cheers,
    Simha.

  • Search Strings

    HI
    We are using Payment Order and through EBS we clear the vendor open items as after payment run system generate the payment order number but vendor open items remain open. For Bank Transfer BTC is NTRF. But for all the check which are also enchashed at counter bank is also using BTC NTRF. So we have two posting rules for the same BTC. For payment order clearing we are using Algoirtham 029. which is assigned in EBS global setting. To solve above we define the search strings but system is not changing the posting rule as check number coming immediately after NTRF1013.
    Our Check Number is exactly 4 characters. So we define search string like below
    Maping empy
    In search strings use we entered CC, HB, AC then algoritham999 as 029 is not exits then search string target field Posting rule and enter posting rule for check then create another entry in which target field is Algoritham and select algoritham 011 for check.
    Now our file for check is coming like 61:1201230123D10000,00NTRF1013       but system not read this record.
    Just for testing we make another line and like 61:1201230123D10000,00NTRF1013       //1013 and system able to change the Posting rule. No idea why its is behaving like this way
    Please help
    Farhan Qaiser

    Dear Farhan,
    Please create the search string in below way.
    (^ |#| *)NTRF####( *|$) with remaining parameters you have entered, please make sure that you are entering global interpretation algo in search string also.
    Or please check any other text is there to identify check transaction and create a search string for that.
    Regards
    Shanu

  • Electronic Bank Statement Search Strings Customer Item Clearing

    I have configured EBS and I am trying to clear open items from customer accounts using Search Strings.
    I have mapped the customer account on the bank statement to the SAP customer account. For example, Victor Osagie is mapped to account 1400036.
    When I process transactions with exactly the same note to payee as above, open items in the customer account clear. However, when the note to payee field changes for example to Victor Osagie 110000000. The customer is recognised but the item is not cleared from the customer account.
    The statement format is BAI and we are using the BAI processor.
    How can I manipulate the search strings to allow the clearing of items like this?
    Victor

    Problem solved. Applied note 1085596
    Anil

  • Simple Search Strings

    HI
    We have EBS in place just to explore new things to enhace EBS for clearing we are trying to use Search strings.
    We  just create dummy EBS file to check a scenario as below example
    We receive check number 6=4 digits after NCHK pref CH#1028. In our payr table check number is only 4 digits without prefix CH#. For this we create a Search String as CH##### and in mapping we blank CH# and rest #### keep as it is. Now in TEST when we enter the value CH#1028 it brins the value as 1028 which is exactly we need. We now define search strings use where target field is CHECK/DME EBCHECT.
    But when we upload the file system not done accordingly. Even when we checked table FEBEP value in CHECT field still coming as CHECT. Please advise
    Thanks

    Hi Expert,
    Please refer the below link to Define Search Strings.
    http://help.sap.com/saphelp_46c/helpdata/es/af/0a242bc925d311b60f0060b03c2bff/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb33cc358411d1829f0000e829fbfe/content.htm
    Regards,
    GK
    SAP

  • Need help on search string in EBS

    Hi,
    We have a situation where multiple BAI transactions comes with same code, ex: 451 and based on the text in the note to payee they need to be posted to different clearing accounts.
    I did config taking advantage of search string and posting rule in tareget field (EBVGINT)
    For some reason getting an error message saying " Account symbol in account assignment not replaceable"
    For example of CITI in the note to payee, my config is like this :
    Created Account symbol CITI, Assigned GL account to account symbol CITI and account modifier as CITI too
    Created posting key as CITI and posting rules are posting rule CITI , 40 (debit) post to bank accounting (option 1) for account symbol CITI and 50 (credit) post to bank as account symbol with posting to bank accounting (option 1) document type SA.
    In the search string section, created a search string CITI with source (text from note to payee) and target as CITI (posting rule key)
    then this searchs tring has been assigned to the company code, house bank, no algorithm, target field as posting rule and no prefix.
    Can anybody explain me why i am getting the above error message based on this config ??
    Thanks in advance
    uma

    Hi Uma,
    The search string works this way:
    Step 1: You define a search string.  The search string should be a unique word or number or a combination which appears in the 88 record of the BAI statement. In the definition:
    a. you give a name for the search string
    b. a definition or long text
    c. the search string - the unique word you want the system to search for in the 88 record. Please note that the search string you enter here should appear exactly in the same way in your bank statement.
    d. you map this search string to a Posting rule or cost center or whatever you want to replace in the next step.
    Step 2. Here you tell the system how this mapped information (in (d) above) is to be used. The mapped information could be used as a posting rule, as cost center, as profit center or in any way you want if you define your own logic.
    The usage could be specific to a House bank, Account ID, Company code, BAI code combination or you can leave it as generic so that it will be used for all House Bank and Account ID in all company code.
    But I would advise you to keep it very specific otherwise the results would not be what you want to be.
    To answer your question: Also, do i need to add the entries in transaction type and assign them to the external transaction and posting rule ?
    It is not required. But if you have assigned a posting rule under the Transaction type, the configuration in search string will override it. So you really don't need the assignment of posting rule under transaction type,  but I would advise you to do it because if the system does not find your search string, then it will take this assignment as default.
    Hope I made myself clear.
    Kalyan

  • How to make search string for the searched text containing single quote?

    Hi all,
    When trying to search some Contacts from Eloqua, I have to make a search string which would list out some specified EmailAddress.
    Unfortunately, I meet several emails who have single quote in their spelling.
    I got 'invalid format' error when both using them directly and making single quote twice.
    Any suggestions?
    Thanks,
    Biao

    When testing, the following examples:
    GET /Api/rest/1.0/data/contacts?search=emailAddress=bm'[email protected]
    GET /Api/rest/1.0/data/contacts?search='emailAddress=bm'[email protected]'
    GET /Api/rest/1.0/data/contacts?search=emailAddress="bm'[email protected]"
    GET /Api/rest/1.0/data/contacts?search="emailAddress=bm'[email protected]"
    All return:
      "elements":
        "type":"Contact",
        "id":"1421620",
        "createdAt":"1419611518",
        "depth":"minimal",
        "name":"bm'[email protected]",
        "updatedAt":"1419611519",
        "emailAddress":"bm'[email protected]"
      "page":1,
      "pageSize":1000,
      "total":1
    Likewise, the following returns nothing:
    GET /Api/rest/1.0/data/contacts?search=emailAddress='bm'[email protected]'
    Hopefully this helps,
    Bojan

  • Bank statement search string for posting rule 2

    Hello,
    I created a search string (also activated) for clearing sub legder account. Folowing are the combinations i tried:
    1) ###(.| )#######
    2) (^| )###(.| )#######( |$)
    3) ###.#######
    Open document reference text on header normally carries  3digits followed by a dot and then seven digits. For example:
    123.1234567.  I also want to include 123 1234567 (sometimes it appears like this in bank statement) but the system should intrepret it as 123.1234567.
    I think above string acheived this when i did a TEST (button) next mapping screen on the same screen.
    I uploaded the bank statement and then went to another config where you do simulation for a bank statement (uploaded). There the system checks for first three digits only and the document found coloumn is blank (because it checks only first three digits and there are too many probable customers in partner's field).
    Posting rule - algorithm is  no 21
    search string - algorithm is no 21
    mapping field in search string - i tried with bland and without blank (###.#######) it is all same.
    How to make the system check 3+7 digits with dot? and why it checking only first three digits. Can some help?
    BG

    Hi,
    I also would be interested to know this. If anybody can give a step by step analysis, it would be highly appreciated.
    Regards,
    Ravi

  • Two finger swipe replaces google search string

    MBP with Safari 6.0 experiencing this problem.  Another user was experiencing the issue here:
    http://www.ehmac.ca/mac-iphone-ipad-ipod-help-troubleshooting/99937-safari-two-f inger-swipe-bug-replaces-google-search-string-os-10-7-3-a.html
    I don't know where the bug reports are to follow up on it and I haven't seen any patches for it.  Any advice?  Specifically, I'd like to know how to file the bug (in case I find another) and to follow up on any existing issues.
    TIA,
    Scott

    Is there no place to track the status of the report or see any other outstanding issues so I don't bother filing duplicates?
    Never heard of such a function here. This method gets feedback to the people who count but it is completely behind the scenes. Part of Apple's "cards close to the chest" method of doing pretty much everything. You should have been looking at the "don't expect a response" screen after you hit the submit button on your bug report.
    If there is something that needs clarification, I suspect they will use e-mail to ask for it, but don't stay home waiting!
    Have you read Walter Isaacson's  biography of Steve Jobs? Things like this took on a new--if not satisfying--perspective for me after reading it. So far, it has persisted in their corporate culture in the after-Steve era..

  • How to get where the search string appears in the results

    Hi every one
    i am new to Oracle Text
    this is my project environment "EJP 3.0+seam+JSF"
    in my part i need to implement smart searches within large text objects.
    So i planed to use Oracle text with context type indexing.
    I my search part i need to display where the search string appears in the results
    i don't know how to archive it,
    is it achived by CTX_DOC.GIST ?
    this is my table format
    Tbl_Book
    book_id Book_Title Book_description
    Tbl_Author
    author_id book_id author_name
    in my first table i index the Book_Title and Book_description columns
    EXEC CTX_DDL.DROP_PREFERENCE ('expert_concat_datastore')
    drop index Tbl_Book_Index force;
    BEGIN
    CTX_DDL.CREATE_PREFERENCE
         ('expert_concat_datastore', 'MULTI_COLUMN_DATASTORE');
    CTX_DDL.SET_ATTRIBUTE
         ('expert_concat_datastore', 'COLUMNS', 'Book_Title,Book_description');
    END;
    alter table Tbl_Book add (dummy varchar2(1))
    begin
    Ctx_Ddl.Drop_Section_Group
    group_name => 'my_section_group'
    exception
    when others then
    /* OK if DRG-12203: section group MY_SECTION_GROUP does not exist */
    if instr ( SQLERRM, 'DRG-12203' ) != 0 then null;
    else raise_application_error ( -20000, SQLERRM ); end if;
    end;
    begin
    Ctx_Ddl.Create_Section_Group
    group_name => 'my_section_group',
    group_type => 'basic_section_group'
    Ctx_Ddl.Add_Field_Section
    group_name => 'my_section_group',
    section_name => 'title',
    tag => 'Book_Title'
    Ctx_Ddl.Add_Field_Section
    group_name => 'my_section_group',
    section_name => 'description',
    tag => 'Book_description'
    end;
    create index Tbl_Book_Index on Tbl_Book ( dummy )
    indextype is ctxsys.context parameters (' datastore expert_concat_datastore section group my_section_group');
    begin
    Ctx_Ddl.Drop_Section_Group
    group_name => 'my_section_group'
    end;
    in my second table i index the author_name column
    drop index Tbl_Author_Index force;
    create index Tbl_Author_Index on Tbl_Author (author_name) indextype is ctxsys.context parameters('filter ctxsys.null_filter section group ctxsys.html_section_group');
    begin
    Ctx_Ddl.Optimize_Index (
    idx_name => 'Tbl_Author_Index',
    optlevel => Ctx_Ddl.optlevel_fast
    end;
    my search result is only in my Tbl_Book.
    Because it is my primary one.
    So this is my query in EJP 3.0
    select t from Tbl_Book t LEFT JOIN t.AuthorCollection c wherecontains(t.dummy, 'java within title or(java within description)',10) > 0 or contains(c.author_name ,'thiagu',20) > 0 ) ORDER BY SCORE(10), SCORE(20)
    here i need to get single SCORE how to do that ?
    i dont know how to highlight the search string in the result ?
    is it archived by CTX_DOC.MARKUP ?
    please any one help me
    By
    Thiagu.m

    Weird.  I have multuple monitors and the boot stuff always appears on my main monitor.
    See if smc and pram reset clears the problem.
    I have multiple screens on my Mac Pro. A normal screen, a projector and a USB-to-DVI converter.
    What video card are you using?  And USB-to-DVI is not the usual way for connecting monitors.  I wonder if that is confusing things.  So out of curiousity what happens if that monitor is not connected?

  • Define Search String for EBS in SAP 4.6c

    Hi All,
    I have some question for search string for EBS in SAP 4.6c. I have already done this thing in ECC 6 and work well with "target field" as account number. but in 4.6c target field account number doesn't exist. Please suggest me, if there is a same way like account number target field in 4.6c?
    Thanks in advance
    Glenn

    Hi Shanumonu,
    Thx for the answer, you save my life!
    But I have another issued. I already implement SE11 instruction, but item with wrong note to payee number from MT940 keep cleared. Do you have suggestion for me?
    Thanks,
    Glenn

  • How to get a form to send info on the referrer search string?

    My friend had a DW4 site with a form that would tell him the search string, or query, that was used to get to his page... and I have no idea how to do that. Here's the form as he would receive it <http://bradmesser.com/form_string.htm> Can you send me in the right direction to find out? Thanks.

    I don't have access to the page with the form, which is the root of my problem. The friend had a site that I built. Eventually he decided to sign up with some SEO outfit. They moved the site to their server and made a few changes including that Contact Us form. Then my friend decided he'd rather be hosted by GoDaddy and signed up to transfer his DNS. When the switch was made, of course his GoDaddy server contained zip. He asked whether I could upload his old site, which I did. This is the part I love: he can't remember who his SEO guys were, so we have no way of accessing that SEO-made page which is sitting on a mystery server somewhere in the tubes. And it ain't on the Wayback Machine.

  • How is it possible to use Index Seek for LIKE %search-string% case?

    Hello,
    I have the following SP:
    CREATE PROCEDURE dbo.USP_SAMPLE_PROCEDURE(@Beginning nvarchar(15))
    AS
    SELECT * FROM HumanResources.Employee
    WHERE NationalIDNumber LIKE @Beginning + N'%';
    GO
    If I run the sp first time with param: N'94', then the following plan is generated and added to the cache:
    SQL Server "sniffs" the input value (94) when compiling the query. So for this param using Index Seek for AK_Employee_NationalIDNumber index will be the best option. On the other hand, the query plan should be generic enough to be able to handle
    any values specified in the @Beginning param.
    If I call the sp with @Beginning =N'%94':
    EXEC dbo.USP_SAMPLE_PROCEDURE N'%94'
    I see the same execution plan as above. The question is how is it possible to reuse this execution plan in this case? To be more precise, how
    Index Seek can be used in case LIKE %search-string% case. I expected that
    ONLY Index Scan operation can be used here.
    Alexey

    The key is that the index seek operator includes both seek (greater than and less than) and a predicate (LIKE).  With the leading wildcard, the seek is effectively returning all rows just like a scan and the filter returns only rows matching
    the LIKE expression.
    Do you want to say that in case of leading wildcard, expressions Expr1007 and Expr1008 (see image below) calculated such a way that
    Seek Predicates retrieve all rows from the index. And only
    Predicate does the real job by taking only rows matching the Like expression? If this is the case, then it explains how
    Index Seek can be used to resolve such queries: LIKE N'%94'.
    However, it leads me to another question: Since
    Index Seek in
    this particular case scans
    all the rows, what is the difference between
    Index Seek and Index Scan?
    According to
    MSDN:
    The Index Seek operator uses the seeking ability of indexes to retrieve rows from a nonclustered index.
    The storage engine uses the index to process
    only those rows that satisfy the SEEK:() predicate. It optionally may include a WHERE:() predicate, which the storage engine will evaluate against all rows that satisfy the SEEK:() predicate (it does not use the indexes to do this).
    The Index Scan operator retrieves
    all rows from the nonclustered index specified in the Argument column. If an optional WHERE:() predicate appears in the Argument column, only those rows that satisfy the predicate are returned.
    It seems like Index Scan is a special case of Index Seek,
    which means that when we see Index Seek in the execution plan, it does NOT mean that storage engine does NOT scan all rows. Right?
    Alexey

Maybe you are looking for

  • Quicktime player has encountered a problem and needs to close.

    Hi, I'm having real problems running QT on my pc. I've tried several combinations eg- 7.02 with Itunes, 7.02 without itunes plus also the last 6.? version. Each time,the programme is fine until it reboots. Then it is unable to open either programme-

  • InDesign CS6 colors to Corel Draw 12

    I've designed a logo and stationery for a small business customer. The logo has 2 Pantone colours. The offset printed letterhead has a 7% tint for a graphic element (curved stripes) printed in Pantone #137 (orange) as a large watermark on the page. I

  • Kernel missing from default install

    Hi, I just installed arch linux in a dual boot configuration with windows xp. During the installation I selected only the base packages and installed the default kernel, the IDE/SCSI one. The kernel installed fine and I installed grub to /dev/sda as

  • Pass value to FPGA I/O node in FPGA.vi from Host.vi

    How do you pass a different value to the FPGA.vi I/O node from the Host.vi??  In the FPGA I made the I/O node a "control" but when I try to use Read Write control in my host none of the I/O show up in the drop down selection.  All my booleansare ther

  • How to Configure Email for a Specific job when its Fails

    Hi We have So many jobs running in our HR system and BW systems but with no proper Monitoring Configuration. We have Solution manager 7.0 with EHP latest version with CCMS configured. How to setup the email in Solution Manager using CCMS when Job fai