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

Match code and search help

Former Member
0 Likes
2,847

What is the difference between match code and search helps ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,999

hi,

both are same. Create search help and use the word MATCHCODE to refer to this search help in your parameter or select-options.

Regards,

Subramanian

9 REPLIES 9
Read only

Former Member
0 Likes
2,000

hi,

both are same. Create search help and use the word MATCHCODE to refer to this search help in your parameter or select-options.

Regards,

Subramanian

Read only

bpawanchand
Active Contributor
0 Likes
1,999

HI

Search Help:Provides a list of values from the database

provide the cursor on the respective fields and pressF4

for search help if it is a simple F4 it can check the tables

independently but it dont check the relation between the

tables i.e Primary key and foreign key.

Match codes: If it sis match codes objects first it can check

the tables independently later it can check the relation

between the tables also.With match codes objects can ovoid

data redundancy.

Regards

pavan

Read only

Former Member
0 Likes
1,999

Hi,

search help:

adding f4 functionality is search help(adding help for any topic)

http://help.sap.com/saphelp_erp2005/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm

match code:

adding search help for the input field is called as mathcode object

http://help.sap.com/saphelp_40b/helpdata/en/cf/21ef1f446011d189700000e8322d00/content.htm

Regards,

Sravanthi

Read only

Former Member
0 Likes
1,999

Hi yogesh,

search help is something that we declare at field level & the F4 help appears everywhere where the field is used but matchcode is an addition which you can provide to selection screen fields to attach a search help explicitly for that particular field.

Best of luck,

Bhumika

Read only

Former Member
0 Likes
1,999

This message was moderated.

Read only

Former Member
0 Likes
1,999

Hi,

Both are same. Just create the search help in se11 and use that search help with your Parameters like this Suppose searc help you create is zsearch and you want to use this with parameter name of type c, than write PARAMETERS NAME(20) TYPE C MATCHCODE OBJECT ZSEARCH.

THIS WILL CREATE F4 HELP.

Read only

Former Member
0 Likes
1,999

Hi ,

Now a days we are not using match codes .

match code objects provide permisable values of a table.

Check this url.

http://help.sap.com/saphelp_nw04/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm

Regards,

Muneesh Gitta.

Read only

Former Member
0 Likes
1,999

hi check this example with the match code and without match code..

without

parameters:p_pernr like pa0002-pernr .

then check the f4 help values..

with

parameters:p_pernr like pa0002-pernr MATCHCODE OBJECT PREM.

then see the f4 help for the pernr .

Read only

Former Member
0 Likes
1,999

HI

The diffrence between Matchcode and Search help

Search Help:Provides a list of values from the database

provide the cusrsor on the respective fields and pressF4

for search helpif it is a simple F4 it can check the tables

independently butit dosent check the relation between the

tables i.ePrmary key and foreign key.

Matchcodes: If it sis matchcodes objects first it can check

the tables independentely later it can check the relation

between the tables also.With matchcodes objects can ovoid

data redundancey.