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: 

Match Code and Search Help Problem

former_member220801
Participant
0 Kudos
873

What are Match Code and Search Help?

What's the difference between them?

How to create them accordingly?

Thanks!

1 ACCEPTED SOLUTION

hymavathi_oruganti
Active Contributor
0 Kudos
218

MATCH CODES are the older versions of SEARCH HELP.

technically there is no difference at all.

in older versions, search help were called as match codes

while declaring parameters and select-options

parameter p type i MATCH-CODE OBJECT (something).

the above type of declaration only is still used to assign a field to a search help.

u can search i the forum, there are many posts related to this topic

regards

hyma

7 REPLIES 7

Former Member
0 Kudos
218

Match codes are the terms of Search help in older version.

The predecessor of search help is match codes.

hymavathi_oruganti
Active Contributor
0 Kudos
219

MATCH CODES are the older versions of SEARCH HELP.

technically there is no difference at all.

in older versions, search help were called as match codes

while declaring parameters and select-options

parameter p type i MATCH-CODE OBJECT (something).

the above type of declaration only is still used to assign a field to a search help.

u can search i the forum, there are many posts related to this topic

regards

hyma

0 Kudos
218

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.

Former Member
0 Kudos
218

A search help is for helping to find a parameters value and value ranges. A match code is used to associate a Search help to a parameter or select option.

eg.

SELECT-OPTIONS: s_vbeln FOR vbak-vbeln MATCH-CODE ID vmva.

also

SELECT-OPTIONS: s_vbeln FOR vbak-vbeln MATCHCODE OBJECT vmva.

Former Member
0 Kudos
218

A search help is a ABAP Dictionary object used to define possible values (F4) help

PARAMETERS ..<name>..MATCHCODE OBJECT <name of search help>.

The system now will

automatically display the input help button for the field on the screen and activates the F4 key

for it...

<b>The predecessors of search helps in the ABAP Dictionary were called matchcode objects, hence

the name of the addition in the PARAMETERS statement. Existing matchcode objects are still

supported</b>.

regards

satesh

Former Member
0 Kudos
218

Hello seed,

Technically Speaking there is no difference between Matchcode and search help.The older versions used to say it as Search help....

Here is the syntax of Matchcode

The following is the syntax for using matchcodes for selection screen parameter input validation:

<b>tables: saptab

parameter: example like saptab-field matchcode object exam.

select single field from saptab where field = example.</b>

This example uses the matchcode object exam, which has already been defined with a matchcode ID, to validate the data input into the parameter field example. This object exam holds the relationship data necessary to maintain the integrity of the user input

Message was edited by: Srikanth

Former Member
0 Kudos
218

Please search for this in the forum.