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

Search Help and Matchcode

Former Member
0 Likes
2,829

Hi Folks,

What is the difference between search help and match code.

Thanks in advance

Regards

Ravi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,540

Matchcodes were replaced with Search Helps starting with Release 4.0. Please use search helps to assign an input help to a field.

Existing matchcodes were automatically converted to search helps. A matchcode object is hereby converted to a collective search help with the same name. Each matchcode ID of the matchcode object is converted into an elementary search help with the same name and assigned to the collective search help created from the matchcode object.

A matchcode is a means of finding data records stored in the system. The matchcode is defined in the ABAP Dictionary in two steps:

You first define the relevant tables and fields for the search in a matchcode object. A matchcode object describes the set of all possible search paths for a search string.

You then create one or more matchcode IDs for a matchcode object. A matchcode ID describes a special search path for a search string. The matchcode ID defines the fields or field combinations to be used in the search.

-

-


Search Help

Use

With this function you can search for objects, thereby defining and linking different selection conditions for the search help.

Prerequisites

You can call this function by:

· Selecting Object ® Search... () in the main menu bar of the Integration Builder

· Placing the cursor on a software component version and selecting Search... () in the context menu (only in the Integration Repository)

In this case the software component version is defined as the search criteria.

Features

Defining the Object Type

You can select the object type in a dropdown list in field Object Type.

In the design (Integration Repository) you can

· Select an object type (for example Message Interface)

· Select a cross-object category (for example Interface Objects)

In the configuration (Integration Directory) you can select types Values Mapping Group and schema in addition to the individual object types.

-

-


CHECK THIS LINK TO CREATE A SEARCH HELP.

http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_basic.htm

CHECK THIS LINK TO CREATE A MATCHCODE OBJECT

http://searchsap.techtarget.com/tip/1,289483,sid21_gci553386,00.html

more details...

6 REPLIES 6
Read only

Former Member
0 Likes
1,541

Matchcodes were replaced with Search Helps starting with Release 4.0. Please use search helps to assign an input help to a field.

Existing matchcodes were automatically converted to search helps. A matchcode object is hereby converted to a collective search help with the same name. Each matchcode ID of the matchcode object is converted into an elementary search help with the same name and assigned to the collective search help created from the matchcode object.

A matchcode is a means of finding data records stored in the system. The matchcode is defined in the ABAP Dictionary in two steps:

You first define the relevant tables and fields for the search in a matchcode object. A matchcode object describes the set of all possible search paths for a search string.

You then create one or more matchcode IDs for a matchcode object. A matchcode ID describes a special search path for a search string. The matchcode ID defines the fields or field combinations to be used in the search.

-

-


Search Help

Use

With this function you can search for objects, thereby defining and linking different selection conditions for the search help.

Prerequisites

You can call this function by:

· Selecting Object ® Search... () in the main menu bar of the Integration Builder

· Placing the cursor on a software component version and selecting Search... () in the context menu (only in the Integration Repository)

In this case the software component version is defined as the search criteria.

Features

Defining the Object Type

You can select the object type in a dropdown list in field Object Type.

In the design (Integration Repository) you can

· Select an object type (for example Message Interface)

· Select a cross-object category (for example Interface Objects)

In the configuration (Integration Directory) you can select types Values Mapping Group and schema in addition to the individual object types.

-

-


CHECK THIS LINK TO CREATE A SEARCH HELP.

http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_basic.htm

CHECK THIS LINK TO CREATE A MATCHCODE OBJECT

http://searchsap.techtarget.com/tip/1,289483,sid21_gci553386,00.html

more details...

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
1,540

Hi

Search help and match codes used for the same purpose.

Match codes are obsolete now and we are using only search helps.

Regards,

kumar

Read only

amit_khare
Active Contributor
0 Likes
1,540

Hi,

Check this thread.

Regards,

Amit

Reward all helpful replies.

Read only

p291102
Active Contributor
0 Likes
1,540

Hi,

For many entry fields, but not all, SAP provides a search function called a Matchcode. Matchcodes allow you to select a value from a list or search for a value by categories of data if there are many possibilities.

Types of Matchcodes

Matchcodes fall into three basic categories:

1) Short list or hit list

The values are listed on one screen. For longer lists, you may need to scroll down to see all the values.

2) Restrict Value Range

Many entries are available for the field. A number of tabbed screens with different categories display so that you can enter your search criteria.

3) Calendar search

A calendar-type dialog box is displayed so that you can select day, month, and year. This is used in date fields such as invoice posting date.

Matchcodes were replaced with Search Helps starting with Release 4.0. Please use search helps to assign an input help to a field.

Existing matchcodes were automatically converted to search helps. A matchcode object is hereby converted to a collective search help with the same name. Each matchcode ID of the matchcode object is converted into an elementary search help with the same name and assigned to the collective search help created from the matchcode object.

A matchcode is a means of finding data records stored in the system. The matchcode is defined in the ABAP Dictionary in two steps:

You first define the relevant tables and fields for the search in a matchcode object. A matchcode object describes the set of all possible search paths for a search string.

You then create one or more matchcode IDs for a matchcode object. A matchcode ID describes a special search path for a search string. The matchcode ID defines the fields or field combinations to be used in the search.

Search Helps for Parameters

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

PARAMETERS p ... 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, MATCHCODE OBJECT in the PARAMETERS statement. Existing matchcode objects are still supported.

REPORT demo_sel_screen_parameters_mco.

PARAMETERS p_carrid TYPE s_carr_id

MATCHCODE OBJECT demo_f4_de.

The selection screen looks as follows:

The search help DEMO_F4_DE is defined in the ABAP Dictionary. The search help reads the columns CARRID and CARRNAME from the database table SCARR. Only CARRNAME is listed, but CARRID is flagged as an export parameter. When you choose a line, the airline code CARRID is placed in the input field.

Thanks,

Shankar

Read only

satykumar
Product and Topic Expert
Product and Topic Expert
0 Likes
1,540

Hi,

match codes are the older versions of search help.

technically there is no difference between them.In older versions, search help were called as match codes

Regards, Satyendra

Read only

Former Member
0 Likes
1,540

Hi,

Matchcodes are an obsolete version of Search Helps. Matchcodes served the same purpose as Search Help.

Matchcodes can be created from the transaction SE11 Utilities --> Other Dictonary Objects.

Please also refer the thread :

Regards,

Sowmya.