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 in 3.1h

Former Member
0 Likes
343

I am working in 3.1h . I have to add a search help for one of the fields in the ztable i created. I am using that field in the select-options.I appreciate your response

I am working in 3.1h . I have to add a search help for one of the fields in the ztable i created. I am using that field in the select-options.I appreciate your response

1 REPLY 1
Read only

Former Member
0 Likes
313

From SAP Help:

Creating Matchcodes

Procedure

You can display the matchcode maintenance screen from the initial screen of the ABAP Dictionary. Choose Utilities ® Further Dictionary objects.

A dialog box appears.

Select the object type Matchcode object and enter a four-place name. Choose Create.

The maintenance screen for matchcode objects appears. All other steps are described based on this maintenance screen.

To create a matchcode, you must first create a matchcode object and then create one or more matchcode Ids for this matchcode object.

Procedure for Creating Matchcode Objects

Define the attributes of matchcode objects

Select the secondary tables of matchcode objects

Select the fields of matchcode objects

Activate the matchcode objects

Procedure for Creating Matchcode IDs

Define the attributes of matchcode IDs

Select the secondary tables of matchcode IDs

Select the fields of matchcode IDs

Define the selection conditions of matchcode IDs (optional)

Activate the matchcode IDs

Depending on the selected update type of the matchcode IDs of a matchcode object, you have to define further structures or carry out certain actions:

Update types A, S or P: build matchcode data

Update Type I: create matchcode indexes

Update type K: Create a function module for a matchcode ID

Building Matchcode Data

Prerequisites

In physical matchcodes (update types A, S or P), the matchcode data is stored redundantly in separate tables in the system. You have to build these tables after you have created and activated the matchcode object and the matchcode IDs. The tables are built and deleted using the matchcode utility (report SAPMACO). The procedure used to build the tables is the same for all physical update types (A, S or P).

The matchcode utility operates globally across all clients. A parameter controls whether matchcodes are to be built or deleted for a specific client or for all clients. The utility also permits matchcodes to be built for all matchcode objects at one time.

Procedure

Choose Utilities ® Matchcode data ® Build in the maintenance screen of the matchcode object. You can also call report SAPMACO directly.

Follow the instructions in the F1 help. It describes how to fill in the input template. Execute the report.

Check whether the matchcode data was built correctly. You can see this in Displaying the Built Matchcode Data.

Transparent matchcode IDs (update type I) and classification matchcode IDs (update type K) are not stored physically. Therefore, there is no reason to build such IDs with the matchcode utility.