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

MATCHCODE OBJECT

Former Member
0 Likes
3,407

what is MATCHCODE OBJECTS? What is the purpose of this?

Regards,

swathi.

5 REPLIES 5
Read only

Former Member
0 Likes
975

hi,

Matchcode Objects and search help are same.

so, go to se11 search help radio button is there.

like the table, you just create serach help.

in search help, there r 2 types. one is elementary serach help and second one is collective serach help.

collective serach help is collection of elementary serach helps.

i think for you requirement elementary serach help is enough.

in that elementary serach help give the MSEG in table and give the MBLNR in the field.

i hope you can do now.

regards,

rewards point.

Read only

Former Member
0 Likes
975
Read only

Former Member
0 Likes
975

hi,

it's not necessary to create a development class for a match code object.

to create a development class.

1. if ur using sap 4.7 goto transaction se21 create a package.

2. if ur using sap 4.6 goto transaction se80

3. select package option in the list box and give the name of it and while pressing enter it would ask the option of creating a package.

regards,

rewards point.

Read only

Former Member
0 Likes
975

Hi,

Match code is nothing but a Search engine used to find the values of a field

This was replaced with search helps in the newer versions of SAP

In older versions we use Matchcode and currently we use search helps 1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).

2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.

3)An elementary search help defines the standard flow of an input help.

4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.

5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.

6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.

CREATION:

Go to SE11 Tcode

select search help

give the 'z' search help name and create

select the selection method ur table name eg : 'mara'

dialog module 'display value immediately'.

add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.

where left position when displaying and spos = search position

and then save and activate ..

See the links:

http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm

https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=2176485

https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=3601619

pls go through this for search help creation

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

Search Help Exits:

Regards,

Priyanka.

Read only

Former Member
0 Likes
975

HI SWATHI

Matchcode objects are nothing but search helps for providing f4 helps on a selection screen fields

u can create these from se11 transaction

parameter: p_matnr like mara-matnr matchcode object z_matnr.

this z_matnr is created in se11....

reward points to all helpful answers

kiran.M