Skip to Content
avatar image
Former Member

Difference Between search help and match code object

Hi,

Do any body know the main Difference Between search help and match code object. when to use matchcode object and when to use search help

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Feb 02, 2006 at 07:11 AM

    MATCH CODE OBJECT is used to trigger your own created search helps.

    The predecessors of search helps in the ABAP Dictionary were called matchcode objects

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 02, 2006 at 07:13 AM

    1.A Search help is a ABAP Dictionary object used to define possible values (F4) help.

    2.There are

    two kinds of search help - elementary and collective.

    3. An elementary search help uses a search

    path to determine the possible entries.

    4. A collective search help consists of two or more

    elementary search helps, and thus provides more than one possible search path.

    MATCH CODE OBJECT is used to call a particular search help and given along wirth the declaration of any parameters or select-options

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 02, 2006 at 07:41 AM

    Hi

    Both are used to provide f4 help.

    Before search help we had only match code object in SAP.

    Starting from release 4.x we had search help.SO the existing match codes have been automatically converted into Search helps now.Please ref to http://help.sap.com in ABAP Dictionary section.Starting from 4.6c you can create only search helps.

    Abdul

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 02, 2006 at 08:11 AM

    Hi,

    As there are more information about the difference in previous replies, i would like to add few points on how to create and use these.

    • A search help can be created in ABAP Dictionary ( tcode se11 )

    • Create a new search help (say myHelp) , choose Elementary search help (simple one), select Definitions tab, enter the table name(say myTable) in "Text Table" text box.

    • Then enter the column to be used (say myField) for this help in search help parameter, choose Import/Export, give Lpos as 1, and activate. ( You can add more columns from the same table here).

    • In report, code as

    parameter p1 like myTable-myField matchcode object myHelp.

    • when you execute this report, p1 will have a f4 help enabled. The help list will have all values from myTable for field myField.

    Regards,

    Uma

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 02, 2006 at 08:16 AM

    in older versions, search helps were called as MTCH CODE OBJECTS. now they are obsolete. search helps have come in place of them.

    but still when we want to assign f4 help, we use MATCH-CODE ID with parameters and select-options,

    following the

    syntax which is not changed.

    Add comment
    10|10000 characters needed characters exceeded