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

matchcodes

Former Member
0 Likes
1,008

Hi Experts,

What is the functionality of Matchcode Objects and How can i create match code objects, Please explain me step by step.

Thanks & Regards,

B.VenkataRathnam.

5 REPLIES 5
Read only

Former Member
0 Likes
805

Hi,

plz go through the following links.....

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

***do reward if usefull

vijay

Read only

Former Member
0 Likes
805

Hi,

Match Code Object is nothing but F4 Help.

F4 Help is used to give the Possible values for the Particular Field.

To create a F4 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].

Regards,

Padmam.

Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
805

Hi,

A search help is a ABAP Dictionary object used to define possible values (F4) help. You can link a search help to a parameter as follows:

PARAMETERS .. MATCHCODE OBJECT <SEARCH_HELP>.

The search help <search_help> must be defined in the ABAP Dictionary. The system now automatically displays the input help button for the field on the screen and activates the F4 key for it. When the user requests input help, the hit list of the search help appears, and when he or she selects an entry, the corresponding export parameter is placed in the input field. 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.

Previously in older versions there were no search help and we use matchcodes.

But in newer releases we are aquainted with search help and matchcodes have become obsolete..

Cheers,

Simha.

Reward all the helpful answers..

Read only

Former Member
0 Likes
805

Hi

Download this document web.mit.edu/sapr3/docs/webdocs/dontindex/pdf/mcqc.pdf

also have a look into

help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm

regards

Shiva

Read only

Former Member
0 Likes
805

Hi,

Match Code:

Match code is a tool to help us to search for data records in the system. Match Codes are an efficient and user-friendly search aid where key of a record is unknown.

Levels defined in Match Code:

· Match Code Object.

· Match Code Id.

A match code Id is a one character ID that can be a letter or a number, the number 0 to 9 are reserved for us to create our own Match Code Ids for a SAP defined Matchcode object.

If the data in one of the base tables of a matchcode ID changes, the matchcode data has to be updated. The update type stipulates when the matchcode is to be updated and how it is to be done. The update type also specifies which method is to be used for Building matchcodes. You must specify the update type when you define a matchcode ID.

The following update types are possible:

· Update type A: The matchcode data is updated asynchronously to database changes.

· Update type S: The matchcode data is updated synchronously to database changes.

· Update type P: The matchcode data is updated by the application program.

· Update type I: Access to the matchcode data is managed using a database view.

· Update type L: Access to the matchcode is achieved by calling a function module.

Match Code Creation:

A match code can be built in two different ways:

· Logical structure: The matchcode data is set up temporarily at the moment when the match code is accessed. (Update type I, k).

· Physical Structure: The match code data is physically stored in a separate table in the database. (Update type A, S, P).

1. go to se11.

2.Select search help.

3.Enter a name starting with Z.

4.Create

5.Select elementary search help.

6.Give short description

7.Selection method as your table name.

8Dialog type display value immediatly

9.Enter the parameters you want to display and their data elemnts below.

10.Make the parameter which you want to populate on your screen field as EXP - TICK

Match code can contain fields from several tables whereas an index can contain fields from only one table. Match code objects can be built on transparent tables and pooled and cluster tables.

Regards,

Bhaskar