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

Regarding Match Code

Former Member
0 Likes
557

Hi,

please any one tell me clearly about match code? And how we create that one.

Thanks and regards,

ramnaersh.

4 REPLIES 4
Read only

Former Member
0 Likes
498

Match codes are very similar to search helps for a field but the only difference is that a match code is used with a selection screen field.

Regads.

Read only

Former Member
0 Likes
498

Hi

Match code is the older name for the search help which is provided by SAP for searching the values for a field

In SAP older versions it is called Match code and the newer versions like Ecc5 and Ecc6 it is called as Search help

can be created using SE11 tcode

see this

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.

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

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

pls go through this for search help creation

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

Search Help Exits:

<b><REMOVED BY MODERATOR></b>

regards

Anji

Message was edited by:

Alvaro Tejada Galindo

Read only

Former Member
0 Likes
498

hi,

match code is nothing but Search help,which is useful for F4 help on selection screen.

U can create this, by T-code SE11.

Goto SE11.

select search help option, give name and create.

There are two types of search help.

<b>Elementary

Collective</b>

<b>Elementary</b> is on one table or structure abd <b>collective</b> is collection of elementary search help.

and u can use it like in ur report.

SELECTION-SCREEN:BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.

PARAMETERS:doc LIKE lips-vbeln <b>MATCHCODE OBJECT zdel_typ.</b>

SELECTION-SCREEN:END OF BLOCK blk1.

here <b>zdel_typ</b> is my elementary search help.

Hope it will helpful.

<b><REMOVED BY MODERATOR></b>

Message was edited by:

Dhwani shah

Message was edited by:

Alvaro Tejada Galindo

Read only

Former Member
0 Likes
498

Match code is nothing but the Search help in Higher versions

It is same way from SE11 you have to create.

so from SE11 create it and use it.

Matchcode is nothing but search help, from 4.6c onwards matchcode replaced by search help.

Step1 : Go to Se11 and Select Search Help and Enter One Name and Click Create.

Step2 : Enter your Table name in 'Selection Method' Field.

Step3 : Enter the field Name and tick the Flags Imp and Exp and Type 1 and 2 in Lpos,

Spos fields.

Step4 : Save it and In se38 Write the Code Like This,

data Empname like Zemp-empname matchcode object [enter name that u Created].

Check this thread to get detailed info

Regards

vasu