2006 Feb 16 4:55 AM
What are Match Code and Search Help?
What's the difference between them?
How to create them accordingly?
Thanks!
2006 Feb 16 4:59 AM
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
2006 Feb 16 4:58 AM
Match codes are the terms of Search help in older version.
The predecessor of search help is match codes.
2006 Feb 16 4:59 AM
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
2006 Feb 16 5:01 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.
2006 Feb 16 5:01 AM
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.
2006 Feb 16 5:02 AM
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
2006 Feb 16 5:07 AM
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
2006 Feb 16 5:11 AM