Application Development and Automation 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: 
Read only

Difference between Search Helps and Match Codes

Former Member
0 Likes
800

Difference between Search Helps and Match Codes

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
759

hi

Both can be used for Searching purpose .

In older versions we used Matchcode

now in SAP we use Search helps

use this thread

rgds

Deepak

6 REPLIES 6
Read only

Former Member
0 Likes
759

Hi,

Search help and match code objects are one and the same.

In earlier versions, we call them as match code objects and later versions, we call as search help. They are used to provide F4 help to fields.

Search helps are of two types. Elementary and collective search helps.

Regards

Sailaja.

Read only

former_member196299
Active Contributor
0 Likes
759

Hi Aravind ,

there is not much difference between search helps and mtach codes.

Search help you use for a fields directly for providing input help and you provide the input help for a field using match code in Parameter statement.

There is a standard way of providing input values to any screen field in ABAP reporting. This way of providing input values can be defined by creating the search helps in ABAP dictionary and using them in reports .

Search helps: Search helps are used to assign an input help ( F4 help ) to screen fields. You can do this by creating a search help for that screen field. And these search helps has only to be assigned to the corresponding screen fields.

There are 2 types of search helps according to their use are available in SAP.

They are : 1) Elementary search helps ( ESH )

2) Collective search helps ( CSH )

Match code object : you define in program like this

PARAMETERS : P_MATNR LIKE MARA-MATNR MATCH CODE object ID.

some more info :

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.

Hope this make you understand .

Regards,

Ranjita

Read only

Former Member
0 Likes
760

hi

Both can be used for Searching purpose .

In older versions we used Matchcode

now in SAP we use Search helps

use this thread

rgds

Deepak

Read only

Former Member
0 Likes
759

Hi,

Please check the following threads:

Best Regards,

Sarath

Read only

Former Member
0 Likes
759

hey thanks for giving me the valuable answers.

Read only

0 Likes
759

hey Aravind ..

you should award points for the motivation of the contributers

Regards ,

Ranjita