Table search

Hi
i have created a table, it contains firstname and last name of type (char 250).
When I try to search the values which are existed in the field it is not giving the records in se11.
for example, there are values in this table firstname- xyz
lastname -abc.
in Se11 when I  enter firstname - xyz and/or lastname -abc.
This is not showing the corresponding record which is already there.
can anyone help me here?
firstname and lastname  of type (char 250). no domain associated with this.
is there any solution for this?

Hi Sri,
It is because, you have saved data in the table in lower case. But, whenever you enter a character value in selection screen, by default it will convert it into upper case. Hence, the search fails.
To solve this, you have to use a data element with a domain for the field in your table. And, in the domain you are creating, check the check box 'Lowercase' in the tab 'Definition', which is very important. Activate both the domains and the data elements.
After doing this, even if you enter the characters in lower case in the selection screen, the search will be successful and will show you the correct records. And, your problem will be solved.
Award points if helpful
Regards
Vidhya

Similar Messages

  • F4-Help without using a table search help

    Hi,
    We´re using CRM 2007 and I have created several F4-Helps for different fields on the webui.
    There it was always necessary to use an existing table search help in the GET_V-method:
    CREATE OBJECT rv_valuehelp_descriptor
        TYPE
          cl_bsp_wd_valuehelp_f4descr
        EXPORTING
          iv_help_id                  = lv_help_id   "search help name
          iv_help_id_kind             = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
          iv_input_mapping            = lt_inmap
          iv_output_mapping           = lt_outmap
          iv_trigger_submit           = abap_true.
    But how can I create a f4-help without an existing search help. I have an internal table that I want to be shown like an f4-help (not as dropdown -> a dropdown-field wouldn´t be a problem).
    Structure of the internal table: COML_PROD_CAT_REL_F4
    Thanx for help.
    Greetings,
    Sven
    Edited by: Sven Keller on Aug 13, 2008 4:26 PM

    Hi Sven,
    you already pasted the correct call for creating a value help. Now what you have to alter is the variable lv_help_id to reflect a F4-Valuehelp class.
          CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
            EXPORTING
              iv_help_id        = '(CL_CRM_UIU_BP_IDTYPE_2_F4)' "#EC NOTEXT
              iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
              iv_input_mapping  = lt_inmap
              iv_output_mapping = lt_outmap.
    As you can see CL_CRM_UIU_BP_IDTYPE_2_F4 is a normal ABAP class implementing interface IF_BSP_WD_CUSTOM_F4_CALLBACK. Please take a look at it.
    It should not be very hard to implement the single method
    cheers Carsten

  • SRM-MDM Catalogue Search UI - Qualified table search

    Hi,
    We are having the following situation:
    - We have a catalogue of articles
    - We have to tie an article to a location, in addition to a location-specific parameter.
    - Exampe:
    Article A is tied to location A, parameter A
    Article B is tied to location B, parameter B
    Article C is tied to location A, parameter B
    - The way to solve this in MDM is to use the qualified table. I have created one where:
    Location = non-qualifier
    parameter = qualifier
    I want to make this searchable in the SRM-MDM search UI.
    The user should be able to choose one Location, and then one parameter tied to that Location, to view relevant articles.
    This is no problem using SAP Portal with MDM. But how can we realise this using SRM-MDM search UI?
    I have tried, but can only get a drop down or text search on the non-qualifier field.
    Can anyone please help? Is this even possible?
    KR;
    Thomas

    Hi Thomas,
    Is there any possibilities to configure/add code to the search UI, or is this completely locked for customization/altering through code? Unfortunately, I feel it is standard and we can not customize it.
    There is no issue in your design but if your location as well as parameter has certain(limited) number of values only. You can create location field in MDM Main table which is lookup to Locations Flat table and similarly for Parameter field lookup to Parameters table rather than using Qualified table. As you can set lookup/Text field search only, so you can set these two fields in your search criteria. where first you search for Location say US it will search records with US location and when you further give search according to parameter it will further filter(navigate) records based on both Location and parameter, just a thought came which i feel to share with you, try it if it helps you.
    Regards,
    Mandeep Saini

  • Table Search Help to Remove Duplicate Entry

    Hi All Tha ABAP GURUS,
    I have created 2 tables say A with fields main description and sub decription and another table B in which there are these 2 fields with other fields. I want to display search help for Table B for fields main description and sub decription separately and I have done the same by creating Elementary Search Help (ZDS and ZDM resp.) . For sub description it is working fine and for main description it is displaying value but duplicate. How to remove these duplicate values.
    For Eg Values are
    Main Desc   Sub Desc
    1                   A
    1                   B
    1                   C
    2                   D
    2                   E
    In my case it is showing
    1
    1
    1
    2
    2
    but I want
    1
    2
    I want to achieve this without creating any ZProg. Can I use search help exit.Kindly guide me in this matter how to use it.
    Thanks & Regards,
    Bharti Jain

    Yes you can delete duplicates in a search help exit, but not without "without creating any ZProg" as you will create a Function Module (and Group)
    Duplicate the sample FM F4IF_SHLP_EXIT_EXAMPLE in a customer function group, and delete duplicate records of RECORD_TAB in the step 'DISP' (executed before display).
    You could also perform the select yourself adding a DISTINCT option to the statement in the 'SELECT' step but this will take more time to develop, as you must read the other parameters to use selections provided by user or program.
    Regards
    Raymond,

  • Qualified table search in MDM

    Hello All,
    I am trying to do drill down search in Data manager on qualified table.
    when in search critieria i am selecting qualified table ,I am not getting all qualifiers in search tab.(we have 6 qualifiers and i am only getting 3 of them )
    and in values as well when i am selecting say for
    qualifier                  Value
    country                  USA
    if i am selecting this combination i am not getting any records whereas there are more than 1000 records of country USA .
    any suggestions.!
    Kunal

    Hi Kunal,
    Check the below statements from MDM Reference Guide and check whether you have designed the repository in the same way or not.
    It permits drilldown search by qualifier lookup values even before you have selected a single qualified table record in the qualified lookup field search tab.
    It permits free-form search by qualifiers (both lookup and non-lookup) when Sort Index is enabled.
    In above statements "It" is nothing but when you enable the Cache property of qualifiers.
    Kindly update us on your issue.
    Regards,
    Jitesh Talreja

  • Table - search help - restrict user entries .

    I have created table with
    Field         Data element.
    WERKS     WERKS_D
    MTART     MTART
    MATKL     MATKL
    created_by  SYUNAME
    Changed_by SYUNAME
    1).I am getting search help for WERKS and MATKL
    However I am not getting search help for MTART field.
    Can you tell me how to get search help for MTART also
    2).  In WERKS and MTART fields wild cards (*) should not be permitted.
    How/where to code this.
    3). I need to make created_by and changed_by fields not editable.
    when user create the entry, then user name can appeared in created_by and Changed_by fields.
    And wherever another user changes the same record ...his user id should come under changed_by field.
    how /where can I do this.
    i know there are three questions.  but I also suggest me how to give more points...because there are three questions.
    YOUR HELP IS APPRECIATED.
    Thanks in ADVANCE.

    Total Posts:  585 
    Total Questions:  321 (170 unresolved) 
    Please clean up your old posts....
    3) Search!!
    Rob

  • Active table search

    I am trying to emulate the pop-up box in outlook for the global address list.  Some functionality I'm looking for is while the user begins to type in the last name, the table scrolls automatically up or down displaying the names accordingly.  I have a table with lastname, firstname, initial, email.  I can do a search on the lastname, but I want the names to be actively displayed (table scrolling up and down), then the user can just select the name he wants.  I'm trying to eliminate the user having to type in the entire last name in order to find the correct email address.
    In simpler terms, I would like the same functionality as the pop-up window in outlook.
    Any suggestions is appreciated.  Thanks.
    LV 8.5.1, WinXP Pro

    Thanks for everybody's help.  With everyone's suggestions, I was able to put some code together and have a working prototype.  Attached is an image of the block diagram.
    Thanks again.
    Attachments:
    address-search.png ‏30 KB

  • Ultrasearch db table search not working

    Hi,
    I am tring to configure ultrasearch 1.0.* that comes with Oracle DB 9.0.0.*; I succefully crawled, indexed and getting result on files. but I am not getting any search result for DB tables even if the scheduler crawls DB tables, always it shows 1 new document indexed whenever I run scheduler. any idea how to find out whether its indexing tables not not. what could be the problem
    Thanks & regards
    Ashutosh

    I solved the prob.
    Previously I was creating instance on db schema=wksys & tried to add table from other schema= testuser.
    Now I created instance on testuser & added table from testuser. I am getting the results.
    I think if this is like this then that option for writing table schema while adding table source should not be there.
    regards
    Ashutosh

  • Tree Table Search is not working as expected

    Hi,
    As part of one of my tasks, I need to provide search ability on a Tree Table View.
    The Tree View looks as below:
    A
    -> XA
    -> YA
    -> ZA
    B
    -> XB
    ->YB
    ->ZB
    C
    D
    A,B,C,D are child nodes of Root
    XA, YA, ZA are child nodes of A, and XB,YB,ZB are child nodes of B
    If User searches for XA, the node gets expanded and XA gets selected.
    However if User searches for same XA again, it just starts search from C, from A.
    Here is the code snippet:
         CollectionModel model = (CollectionModel) tree1.getValue();
    treeBinding = (JUCtrlHierBinding) model.getWrappedData();
    JUCtrlHierNodeBinding root = treeBinding.getRootNodeBinding();
         Found = false;
    RowKeySet resultRowKeySet =
    searchTreeNode(root, searchType, searchString);
    RowKeySet disclosedRowKeySet =
    buildDisclosedRowKeySet(treeBinding, resultRowKeySet);
    tree1.setSelectedRowKeys(resultRowKeySet);
    tree1.setDisclosedRowKeys(disclosedRowKeySet);
    AdfFacesContext.getCurrentInstance().addPartialTarget(tree1);
    private RowKeySet searchTreeNode(JUCtrlHierNodeBinding node,
    String searchType,
    String searchString) {
    RowKeySetImpl rowKeys = new RowKeySetImpl();
    if (Found == true) {
    return rowKeys;
    if (searchString == null || searchString.length() < 1) {
    logger.log(node.getName() + ": Search string cannot be NULL or EMPTY");
    return rowKeys;
    Row nodeRow = node.getRow();
    if (nodeRow != null) {
    String compareString = "";
    Object attribute = nodeRow.getAttribute("ATTRIBUTENAME");
    if (attribute instanceof String) {
    compareString = (String)attribute;
    } else {
    compareString = attribute.toString();
                   if (compareString.equals(searchString) {
    rowKeys.add(node.getKeyPath());
    Found = true;
    List<JUCtrlHierNodeBinding> children = node.getChildren();
    if (children != null ) {
    for(JUCtrlHierNodeBinding _node: children) {
    RowKeySet rks = searchTreeNode(_node, searchType, searchString);
    System.out.println("child ren for " + _node.getRow().getAttribute("Cname"));
    if (rks != null && rks.size() > 0) {
    rowKeys.addAll(rks);
    return rowKeys;
    Also the behavior is different when FetchSize is 25, and 1000.
    Please suggest.

    The below method is creating the problem.
    private RowKeySet buildDisclosedRowKeySet(JUCtrlHierBinding treeBinding,
    RowKeySet keys) {
    RowKeySetImpl discloseRowKeyset = new RowKeySetImpl();
    Iterator iter = keys.iterator();
    while(iter.hasNext()) {
    List keyPath = (List)iter.next();
    JUCtrlHierNodeBinding node =
    treeBinding.findNodeByKeyPath(keyPath);
    if (node != null && node.getParent() != null &&
    !node.getParent().getKeyPath().isEmpty()) {
    discloseRowKeyset.add(node.getParent().getKeyPath());
    RowKeySetImpl parentKeySet = new RowKeySetImpl();
    parentKeySet.add(node.getParent().getKeyPath());
    RowKeySet rks = buildDisclosedRowKeySet(treeBinding, parentKeySet);
    discloseRowKeyset.addAll(rks);
    Can anyone suggest how to solve this?

  • TCode for table search

    Can any one suggest me a TCOde,by which we can find out all the tables releted to a tcode in ECC 6.0
    like in sap r/3 4.6B,there was a tcode me49, we  could put there tcode and got all the tables releted to that perticular tcode.

    Hi Jurgen,
    Using this mehode you can get information only about tables which store master data, transactional data (I guess) - no information on customiazing tables, system tables and z-tables.
    In the link above (posted by Gnana Kumar) there's a FM ("RS_PROGRAM_TABLES"; suggested by Rizwana Parveen) which provides all the tables (e.g.T156M, T156N, T156Q, etc) in connection with a transaction.
    It's quite useful (however I got short dump e.g. for MIGO because of too long lines in the (standard) program...)
    Cs.
    Edited by: Csaba Szommer on Aug 3, 2010 9:56 AM

  • How to add check tables or search helps to search help parameters?

    Hello Forum!
    I have made a Z-Search help, and I have a problem with some of my parameters.
    The field (MARC)-EKGRP (Purchasing Group) has a check Table (T024) and the matching search help (H_T024).
    I seem to find no possibility to add this check Table search help to my EKGRP parameter in my Z-Searc Help.
    (Therefore, the End-User has to type it in Manually, there is no F4 funktionality...)
    Is there a way to do this?
    Thanx for replying!
    Kind Regards,
    Pieter
    PS: I´m experiencing the same problems with other fields as well: to parameter (MARA-)MFRNR I would like to add the seach Help 'KRED', for it appears on my Z-Search Help. And so on....

    Thanks, Archna Raja!
    This is certainly the right direction to look for a solution.
    However, i can not get it to work.
    In debugger Mode I have populated the SHLP-FIELDDESCR field 4AVAILABL  with X.
    Result: The button for the search help appears. But when I click on it, nothing happens.
    I than also tried this in combination with populating the fields:
    REFTABLE
    CHECKTABLE
    No search Help window opened..
    I did not find a fileld  where I can indicate the Search help in the SHLP Structure.
    Am I missing out on something?
    Kind Regards,
    Pieter
    PS: I´m trying to get a search help for The filed EKGRP.
          Check Table:  T024          Serach Help: H_T024
    Edited by: Pieter De Fré on Nov 30, 2010 11:38 AM

  • Using bucket search and lookup tables

    I have to create an array of dates, and then extend this by creating a lookup table for the months of the dates. So this lookup table will have 12 elements. Finally it should print to the screen the total amount of times a month appears in the object array. I have created my array and i am only working on getting the bucket search working at the moment. In the code you will see the problem i am having on lines 45 and 46. The assigning is of different types so it wont allow it. I was thinking about using a toString method to get this working but then would the lookup tables be able to look up the months still? Also where abouts in the code would i put the toString method? Can i actually do it when declaring the arrays e.g. a[0]=new Date.toSting( (2, "January", 2007) );
    Anyway, heres what i have:
    import javax.swing.*;
    public class Date
    public int Day;
    public int Year;               
    public String Month;
    public Date(int day, String month, int year){
    Day = day;
    Year = year;   
    Month = month;
    public static void main(String[] args)
    final int ARRAY_SIZE = 10;
    final int RANGE = 30;
    Date[] a = new Date[ARRAY_SIZE];
    a[0]=new Date (2, "January", 2007);       
    a[1]=new Date (21, "Feburary", 2007);
    a[2]=new Date (31, "December", 2007);
    a[3]=new Date (29, "Demember", 2007);
    a[4]=new Date (8, "April", 2007);
    a[5]=new Date (15, "January", 2007);
    a[6]=new Date (12, "Feburary", 2007);
    a[7]=new Date (30, "August", 2007);
    a[8]=new Date (4, "June", 2007);
    a[9]=new Date (19, "June", 2007);
    boolean result;
    String searchKey;
    boolean[] bucket = new boolean[RANGE];
    for (int i = 0; i < RANGE; i++)
    bucket[i] = false;
    for (int j = 0; j < ARRAY_SIZE; j++)
    String data;
    data = a[j]; //???????????????
    bucket[data] = true;
    searchKey = JOptionPane.showInputDialog("Give me a date");;
    result = bucketSearch(bucket, searchKey);
    if (result == true)
    JOptionPane.showMessageDialog(null,"KEY " + searchKey + " FOUND");
    else
    JOptionPane.showMessageDialog(null,"KEY " + searchKey + " NOT FOUND");
    System.exit(0);
    public static boolean bucketSearch (boolean[] bucket, int key)
    return bucket[key];
    }ps.. i know i need to sort out my searchkey but i will do this after i sort out this problem.
    Cheers

    The bucket search is actually another question, but i also went to search the net for it and couldnt find anything on bucket search. This is what they are calling a bucket search:
    Write a fragment of Java code that does a lookup table search. It asks the user of the program to input a
    key to search for and then searches for it in a previously pre-computed lookup table, called bucket that
    stores true to mean the data was in the original array and false to mean it was not. It prints a message
    indicating whether the data was in the original array or not.
    key = Integer.parseInt(JOptionPane.showInputDialog
    ("Give me a number to search for"));
    if (bucket[key] == true)
    System.out.print("Data found");
    else
    System.out.print("Data is not present");

  • Search panel automatically  queries the table

    Hello Experts,
    I have built a search page with query panel and the viewobject is of query based which we did it in 11.1.1.6
    and we kept that page in webcenter portal and trying to run it
    when I login into that portal and open that search page it opens the page with out querying the table then I search for something and click on search then it searches that and then I have project-id and company-id links in the table when i click on any of the table it goes to respective project.
    and then when I click on side navigation for the search page it takes lot of time then we saw in back-end it triggers the table search everything and came back showing the page it self not the search results.
    Note: I m not using any check box of query automatically..
    I would like to know why is it querying the table unnecessarily
    Thanks a lot in Advance!
    Santosh.

    I m sorry when I run the project in standalone first time it runs properly and comes very fast
    but when I go to some other project by clicking on project_id or company_id and then change the URl to run the search page again it does the same thing query the table and come up with the page w/0 any results
    I don't know why it is behaving weird like first time it comes w/0 searching and next time it tries to search the table..

  • Searching through a table

    hello,
    what i have is a table with binary strings.  i am seaching through the table to find matching strings that the user inputs.  i use a for loop but i need a way to do a few options.
    1. i know there is a way to use the for loop without having to specify a "N" value but is the way i am doing it sufficient.
    2.  my program is not highlighting all the occurences, it is skipping some occurences
    3.  search for 1st occurence
    4  Go to next occurence
    5.  Find all occurences
    6.  an option to clear the table and the table selections.
    i attached a vi that does the searching but that's about it.  thank you in advance
    Attachments:
    table searching.vi ‏19 KB

    SInce you don't know how many elements will match, you must use a while loop, not a FOR loop.
    Simply reshape the array to a 1D, the use search 1D array until you run out of elements. Attached is a quick sketch (LAbVIEW 8.0), see if you can take it from there. It also shows a way to reset all table backgrounds to white.
    (There are many other ways to do this.)
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    tableSearchingMOD.vi ‏16 KB

  • Unable to turn column headers bold in Word table using VB Script

    I have created a table in Microsoft Word 2010 using VB Script (this is via the script engine that forms part of HP Quality Centre functionality).  The table itself is OK, 2 columns with centred headers.  However, I am unable to make the column
    headers bold.  I have spent hours searching the net and trying various options to no avail can somebody please help me.
    Set objWord = CreateObject("Word.Application")
    Set objDocument = objword.Documents.Open(Src_Dir & template_file
    Const wdAlignParagraphCenter = 1'var to control justification of the table columns
    Const NUMBER_OF_ROWS = 1 'number of rows in intial table
    Const NUMBER_OF_COLUMNS = 2 'number of colums in the intitial table
    'search for the "TAA_TABLE" bookmark embedded in the document template, this is where the table will be created
    Set objRange=objDocument.Bookmarks("TAA_TABLE").Range
    'create the table
    objDocument.Tables.Add objRange, NUMBER_OF_ROWS, NUMBER_OF_COLUMNS
    Set objTable = objDocument.Tables(2)
    'populate column headers
    objTable.Cell(1, 1).Range.Font.Bold = True
    objTable.Cell(1, 1).Range.Text = "Sub Contractor"
    objTable.Cell(1, 2).Range.text = "TAA Number"
    'centre the column headers
    objDocument.Tables(2).Rows(1).Select
    Set objSelection = objWord.Selection
    objSelection.ParagraphFormat.Alignment = wdAlignParagraphCenter
    'format the table with plain grid lines
    objTable.AutoFormat(16)
    'set the column widths
    objTable.Columns(1).Setwidth 230,0
    objTable.Columns(2).Setwidth 230,0
    Any help is graetfully appreciated, as this is driving me wild.
    Cheers,

    Hi Citronax,
    I haved noticed that you used objTable.AutoFormat to format the table. Based on my understanding, this fuction will applie a predefined look to a table.
    After I move the code which bolder the text behind this line of code, it works well for me.
    'format the table with plain grid lines
    objTable.AutoFormat (16)
    objTable.Cell(1, 1).Range.Font.Bold = True
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for