Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Difference Between search help and match code object

Former Member
0 Kudos

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

6 REPLIES 6

Former Member
0 Kudos

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

Former Member
0 Kudos

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

abdul_hakim
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

hymavathi_oruganti
Active Contributor
0 Kudos

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.

0 Kudos

I tried to define as u said. But all values are repeating. I dont know y. Did I miss anything ?