Diff between index , search help , match code

wht is Diff between index , search help , match code

Hi,
There is no difference between Search helps and match code objects.
Search helps are the Advanced concept of Match codes.
SAP Converted match codes to Search helps.
Index :
An Index is a copy of database table having few numbers of fields. This copy is always in sorted form. As we know, Sorted data would always have a speed access from a database table. Hence, we use an index for the table while reading the database records. Index also contains a pointer pointing towards actual database table so that it can access fields that are not contained in the Index
For More Information About Index :
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/09/19/indexinginSAP+Tables
Thanks.
Message was edited by:
        Viji

Similar Messages

  • Differnces between Search Help & Match Codes

    Hi,
    what is the Differences between Search Help & Match Codes ? which is goof to use ?

    Matchcodes were replaced with Search Helps starting with Release 4.0. Please use search helps to assign an input help to a field.
    Existing matchcodes were automatically converted to search helps. A matchcode object is hereby converted to a collective search help with the same name. Each matchcode ID of the matchcode object is converted into an elementary search help with the same name and assigned to the collective search help created from the matchcode object.
    A matchcode is a means of finding data records stored in the system. The matchcode is defined in the ABAP Dictionary in two steps:
    You first define the relevant tables and fields for the search in a matchcode object. A matchcode object describes the set of all possible search paths for a search string.
    You then create one or more matchcode IDs for a matchcode object. A matchcode ID describes a special search path for a search string. The matchcode ID defines the fields or field combinations to be used in the search.
    Search Help
    Use
    With this function you can search for objects, thereby defining and linking different selection conditions for the search help.
    Prerequisites
    You can call this function by:
    · Selecting Object ® Search... () in the main menu bar of the Integration Builder
    · Placing the cursor on a software component version and selecting Search... () in the context menu (only in the Integration Repository)
    In this case the software component version is defined as the search criteria.
    Features
    Defining the Object Type
    You can select the object type in a dropdown list in field Object Type.
    In the design (Integration Repository) you can
    · Select an object type (for example Message Interface)
    · Select a cross-object category (for example Interface Objects)
    In the configuration (Integration Directory) you can select types Values Mapping Group and schema in addition to the individual object types.
    CHECK THIS LINK TO CREATE A SEARCH HELP.
    http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_basic.htm
    CHECK THIS LINK TO CREATE A MATCHCODE OBJECT
    http://searchsap.techtarget.com/tip/1,289483,sid21_gci553386,00.html
    more details...

  • Search helps & match codes - Urgent plz

    Hi ,
    1.   Could any one give me the difference between search helps & match codes.
    2. assume that you are giving input matnr from selection screen.and executed based on input matnr you have generated an interactive report with fields matnr,etc...
    if i want to change that particular matnr realted fields how can i do that from this report.Shell i call mm02 tcode.How to do that.how to pass the selected parameter to the transaction.(screen matnr field.please give me an example.
    Regards
    SAISRI

    Hi,
    Check this example for interactive reporting..which will take you MM02
    TYPE-POOLS: slis.
    DATA: gt_fieldcat TYPE slis_t_fieldcat_alv.
    DATA: BEGIN OF wa_material,
    MATNR LIKE MARA-MATNR,
    END OF wa_material.
    DATA: v_repid TYPE syrepid.
    v_repid = sy-repid.
    DATA it_material LIKE STANDARD TABLE OF wa_material WITH HEADER LINE.
    SELECT * UP TO 100 ROWS
    FROM MARA
    INTO CORRESPONDING FIELDS OF TABLE it_material.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
         EXPORTING
              i_program_name     = v_repid
              i_internal_tabname = 'WA_MATERIAL'
              i_inclname         = v_repid
         CHANGING
              ct_fieldcat        = gt_fieldcat.
    * have hotspot for a PO.
    DATA: s_fieldcat LIKE LINE OF gt_fieldcat.
    s_fieldcat-hotspot = 'X'.
    MODIFY gt_fieldcat FROM s_fieldcat TRANSPORTING hotspot
           WHERE fieldname = 'MATNR'.
    * Pass the program.
    v_repid = sy-repid.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
         EXPORTING
              i_callback_program      = v_repid
              it_fieldcat             = gt_fieldcat
              i_callback_user_command = 'USER_COMMAND'
         TABLES
              t_outtab                = it_material.
    *       FORM display_detail                                           *
    *  -->  UCOMM                                                         *
    *  -->  SELFIELD                                                      *
    FORM user_command USING ucomm LIKE sy-ucomm
    selfield TYPE slis_selfield.
      IF ucomm = '&IC1' AND selfield-fieldname = 'MATNR'.
        READ TABLE it_material INDEX selfield-tabindex.
        IF sy-subrc = 0.
          SET PARAMETER ID 'MAT' FIELD it_material-matnr.
          CALL TRANSACTION 'MM02' AND SKIP FIRST SCREEN.
        ENDIF.
      ENDIF.
    ENDFORM.
    Thanks
    Naren

  • Diff b/n search help and match code

    hi all,
    can i know the differece between search help and match code object in terms of functionality?
    is there possibility to provide matchcode object for select-options?if yes how can we provide?

    <b>same thread again.</b>
    hi,
    Matchcodes were replaced with Search Helps starting with Release 4.0. Please use search helps to assign an input help to a field.
    Existing matchcodes were automatically converted to search helps. A matchcode object is hereby converted to a collective search help with the same name. Each matchcode ID of the matchcode object is converted into an elementary search help with the same name and assigned to the collective search help created from the matchcode object.
    A matchcode is a means of finding data records stored in the system. The matchcode is defined in the ABAP Dictionary in two steps:
    You first define the relevant tables and fields for the search in a matchcode object. A matchcode object describes the set of all possible search paths for a search string.
    You then create one or more matchcode IDs for a matchcode object. A matchcode ID describes a special search path for a search string. The matchcode ID defines the fields or field combinations to be used in the search.
    Search Help
    Use
    With this function you can search for objects, thereby defining and linking different selection conditions for the search help.
    Prerequisites
    You can call this function by:
    · Selecting Object ® Search... () in the main menu bar of the Integration Builder
    · Placing the cursor on a software component version and selecting Search... () in the context menu (only in the Integration Repository)
    In this case the software component version is defined as the search criteria.
    Features
    Defining the Object Type
    You can select the object type in a dropdown list in field Object Type.
    In the design (Integration Repository) you can
    · Select an object type (for example Message Interface)
    · Select a cross-object category (for example Interface Objects)
    In the configuration (Integration Directory) you can select types Values Mapping Group and schema in addition to the individual object types.
    CHECK THIS LINK TO CREATE A SEARCH HELP.
    http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_basic.htm
    CHECK THIS LINK TO CREATE A MATCHCODE OBJECT
    http://searchsap.techtarget.com/tip/1,289483,sid21_gci553386,00.html
    more details...
    Here is the code to attach a search help to a select-options
    SELECT-OPTIONS S_MATNR FOR MARA-MATNR MATCHCODE OBJECT MAT1_A.
    Rgds
    Anver

  • Search Help Problem - Passing parameter between to search helps.

    I created following 2 table for entering data in PO screen using ME21N using Custom Data Tab.
    ZSTATE_TAB - State table  (has elementary search help ZSTATE_SH - Value of SCODE is exported)
    SCode(Key)     Description
    S001           New York
    S002          Virginia
    S003          West Virginia
    ZCITY_TAB - City Table  (has elementary search help     ZCITY_SH - Value of SCODE is imported)
    SCode(Key)     CCode (Key)     Description          Level
    S001          C001          New York City          L001
    S001          C002          Rochester          L002
    S001          C003          Buffalo               L003     
    S002          C004          Richmond          L029     
    S002          C005          Fairfax               L030
    I have created an custom input field LEVEL in t-code ME21N in Customer Data Tab.
    I want to create search help for LEVEL using import parameter STATE & CITY .
    On selection screen of search help two selection parameters STATE and CITY are displayed. 
    Step 1:User press F4 for getting list of state and selects any state using search help ZSTATE_SH (Value of SCODE is exported)
    Step 2:User press F4 to get the list of City using search help ZCITY_SH, based on state selected in Step 1.  (Value of SCODE is imported)
    In Step 2, I want to see only the cities selected in Step 1. But instead all Cities are displayed in hit list.
    I also created a table maintenance program SM30 for ZCITY_TAB, the search help ZCITY_SH is correctly displaying the data in hit list according to the State selected in ZSTATE_SH.
    But it is not displaying the correct list for cites in ME21N.
    Kindly help me in fixing this problem.
    Thanks in advance.

    here is the answer from [sap library - Value Transport for Input Helps - Parametrizing the Import Parameters of the Search Help|http://help.sap.com/saphelp_nw2004s/helpdata/en/35/bdb6e2c48411d1950800a0c929b3c3/frameset.htm] :
    If the search help is attached to the table field ( Attaching to Table Fields) or to the check table of the field ( Attaching to Tables), a value transport can take place for all the screen fields that are linked with a parameter of the search help.

  • Search engine/Match code change on VA01

    Hi,
    I would like to change the search engine coming up on VA01 trnasaction.
    The sold- to- party search or F4 on this field should be same as XD01- F4 on Customer field.
    Similarly, the material search on VA01 should be same as material search or doing F4 on this field in MMBE.
    How do I attain this?
    Appreciate your help, please!
    Thanks,
    SS

    Hi,
    Search help for Customer as Sales order (VA01) is  DEBI is in structure KUAGV
    and for Customer in XD01  search help is DEBI in structure RF02D
    you check with your developer to add the fields or match the fields in both structures
    regards,
    santosh

  • What is the use of search helps? where can we creat it?

    use of search helps and where can we create it?

    Hi narendra
    LOCK OBJEC TS
    Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
    SAP Provide three type of Lock objects.
    - Read Lock(Shared Locked)
    protects read access to an object. The read lock allows other transactions read access but not write access to
    the locked area of the table
    - Write Lock(exclusive lock)
    protects write access to an object. The write lock allows other transactions neither read nor write access to
    the locked area of the table.
    - Enhanced write lock (exclusive lock without cumulating)
    works like a write lock except that the enhanced write lock also protects from further accesses from the
    same transaction.
    You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
    Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
    Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
    Technicaly:
    When you create a lock object System automatically creat two function module.
    1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
    2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
    You have to use these function module in your program.
    check this link for example.
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    tables:vbak.
    call function 'ENQUEUE_EZLOCK3'
    exporting
    mode_vbak = 'E'
    mandt = sy-mandt
    vbeln = vbak-vbeln
    X_VBELN = ' '
    _SCOPE = '2'
    _WAIT = ' '
    _COLLECT = ' '
    EXCEPTIONS
    FOREIGN_LOCK = 1
    SYSTEM_FAILURE = 2
    OTHERS = 3
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    SEARCH HELPS
    1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
    2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    3)An elementary search help defines the standard flow of an input help.
    4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
    5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
    6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
    pls go through this for search help creation
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    Search Help Exits:
    Re: dynamic values for search help
    Re: Dynamic search  help
    Match code objects are same as Search helps, where they are used in Previous versions of SAP.
    Now in the newer versions Search helps are replaced them.
    Standard Texts are the texts which are maintained in SO10 Tcode
    Every SAP application document is maintained with HEADER and ITEM texts
    and these texts are fetched from SAP using the READ_TEXT Function module
    by passing TEXT ID, TEXTNAME,TEXTOBJECT and LANGUAGE fields
    You can double click on any long text in the systesm and you can see these paramters in the text editor.
    Text Modules are created and used in Smartforms.
    check these links
    http://www.sap-img.com/abap/attach-a-search-help-to-the-screen-field.htm
    http://help.sap.com/saphelp_webas620/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/97/24a23fa34ffb47e10000000a114084/content.htm
    Reward points if useful
    Regards
    Pavan

  • How to add the Match code object for the requisitioner field in TCODE ME51N

    Hi,
    How to add the search help (Match code object) for the requisitioner field in transaction ME51N.
    Please  do the needful to me.
    Regards
    Rajesh

    don't you think that posting your question to a microsoft developer site would be more efficient?
    regards,
    anton

  • Exit: Standart Search Help

    Hi.
    I am involved in an upgrade Project and I am having problems with one transaction that was enhanced in a Match Code.
    I found the match code (search help) that was enhanced in the last version (4.6C) and I realized that in the new version it was not changed, so I did it manually. When I tested the match code in last version I put break points in the function module related with the search help and when I press the match code, the debug showed to me the function module related with the enhanced search help. I did the same in the new version, but the search help did not attach the function module enhanced.
    I don’t really know which the problem is, but I can see that it is like if the search help that was modified were not the correct one.
    So, what I want to know is how I could find in a standard transaction, the name of the search help (match code) that I need to change.
    Thanks..
    Diana.

    You may need to find out where or at what level the search help is attached. There is a hierarchy for this, the below link may help you.
    http://help.sap.com/saphelp_47x200/helpdata/en/0b/32e9b798da11d295b800a0c929b3c3/content.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/8b/415d363640933fe10000009b38f839/content.htm
    Regards,
    Anish Thomas

  • Match code help in sm30

    Hi all,
    Requirement is while entering values into a Ztable by SM30 ,
    we need to have a standard search function (match code) for a field.
    We are succeded till populating values to all the fields based on primary field in sm30,
    stuck while creating search help for one of the field.
    Regards,
    Anil.
    A suggestion can make a difference.

    Without programming, you may provide a search help with
    ● Attaching a search help to the data element
    ● Attaching the data element to a domain with values (in domain or a value table)
    ● Creating a foreign key with another table
    Look also at standard SAP documentation like [Attaching to a Table Field or Structure Field|http://help.sap.com/saphelp_nw70/helpdata/EN/63/1b70bfc32111d1950600a0c929b3c3/frameset.htm] in [Search Helps|http://help.sap.com/saphelp_nw70/helpdata/EN/8b/415d363640933fe10000009b38f839/frameset.htm]
    NB: Remember that when you define a maintain view you may change the Data Element, so you may substitute a custom  Data Element with a custom search help.
    Regards

  • Search Help Qn

    Hi,
    In my report, I have the personnel number field in the selection screen. The line of code is SELECT-OPTIONS: SO_PERNR FOR PA0001-PERNR.
    In order to make use of search help PREM, I changed the codes to
    SELECT-OPTIONS: SO_PERNR FOR PA0001-PERNR MATCHCODE OBJECT PREM.
    This seems to work fine. Are there other methods of doing this? I have read about using AS SEARCH PATTERN and going to the attributes directly in screen painter and set PREM as the search help.
    What are the differences?

    Hi ....
    SELECT-OPTIONS: SO_PERNR FOR PA0001-PERNR MATCHCODE OBJECT PREM.
    The above method will work with the Executable report program..
    Where as the other method  which you can do it from Screen Painter SE51 is useful for Module Pool program.. where u hv to create the T Code for your program to execute it...
    as u can't execute the module pool program directly by pressing F8.
    There are diff kind of search help available in SAP..
    have a look on..
    http://www.sapdevelopment.co.uk/dictionary/shelp/shelphome.htm
    Create search help
    What are Search Helps, How to create and whats the Use ?
    How to add a search help on a screen field from screen painter
    Hope it will solve your problem
    <b>Reward points if useful</b>
    Thanks & Regards
    ilesh 24x7

  • Custom search help exit through stand search help SD_MAT1

    Dear Experts,
    How to prepare custom search help through stand search help(SD_MAT1).
    My requirement: In VA01 transaction, material(matnr) search help, adding custom search help.
    Regards,
    Abbas.

    Dear Abijith,
    How to write custom search help(FM) code with parameters and how match with search help parameters in search help exit.  Please give some sudo code.
    Regards,
    Abbas.

  • How to have a search help in module pool without using Process on value req

    Can someone please tell me what r the ways if any to have F4 help in the module pool screen
    with out using POV ?

    Hi,
    They are two ways to define search help for an object...
    BY using POV
    or
    go to screen Layout and double click on the field you want F4 help and Pass the Search help math code for feild at the
    place of Search_help field aand also you can add parameter-id at this place to provide search help.
    go to screen Layout -->double click on the field you want F4 help
    -->Pass the Search help math code for feild at the place of Search_help
    save and activate..
    reagrds,
    Prabhudas

  • Search Help Exit : Table appears sorted in Search Help!

    Hi All,
    I have implemented a search help exit to show a custom list of objects. Unfortunately, the list gets sorted somewhere in between the search help exit and the actual F4 display.
    Any ideas what I can do tp prevent the sorting?  It's very important that the output list displays in exact order that I have in the exit function module.
    Thanks!
    Roman D.

    while passing the changing parameter CALLCONTROL
    chk while populating the table make sure that
    callcontroltable-sortoff(DDSHF4CTRL-SORTOFF)
    is not 'X'.
    Refer to this link below
    search help exit
    Regds
    Manohar

  • To Change Commitment Item(FIPOS) Search Help in PO

    Hello All,
    I am having a requirement like this. Please help me in this regard.
    While creating PO with ME21N, There is a field Commitment Item(FIPOS) in Account Assignment Tab. I need to change the Search help of that filed. ( That means - while pressing F4-HELP, The Data from my Z-TABLE should appear as the Help )
    How to implement this logic?
    Is there any User EXIT or something ?
    Please help me.
    Regards,
    Lijo

    Hi John
    you will be using a search help exit for this and you can populate your own data using this... get the search help name of that field
    SE11> search help > <search_help_name> in the definitions tab you will find a search help exit.. if and exit is already there you can make the changes to it.. or create your own search help exit and follow my search help exit code to accomplish your task.
    [My Weblog|https://wiki.sdn.sap.com/wiki/x/du0]

Maybe you are looking for